An exact thermodynamical model of power-law temperature time scaling