Perhaps your badresttime output is set in the model parameter as an "output" rather than an "input" direction. Switch that up and see if it works. If you publish it, it'll just be a parameter in the web app with a string input. But just make sure ArcGIS server has access to the local folder you want to create the output to.