I was getting into this. The trade off between resources and having to summon enemies/take damage seemed interesting. My run was cut short in the second stage. I had 30 seconds left on the clock, but I triggered the "out of time" ending.
It might have been that your tower was destroyed by enemies? Sadly I forgot to update the text in the event of tower destruction, so it just says you ran out of time when that happens.