Self-Consisten model of the Cosmic Star Formation rate