Closed fvilla closed 12 years ago
after fixing the missing dependency problem, a new one pops up - so far I've only seen in this model and context:
model -d core.models.flood-puget/flood-regulation-public-assets-100 core.contexts.beta/wria9_256
flow model starts and breaks soon afterward with the following exception. Note that other contexts and same context at 512 res run to completion without a hitch.
Running FloodWaterMovement flow model. Source points: 3200 Sink points: 0 Use points: 401 Operating in 100 year floodplain. Finding nearest stream points...done. [Shifted 0 ids] Finding nearest stream points...done. [Shifted 0 ids] Computing flood activation factors...
All done. Computing flood activation factors...
All done. Moving the flood water carriers downhill and downstream... Carriers: 2973 | On Land: 1616 | In Stream: 1357 Carriers: 2971 | On Land: 1593 | In Stream: 1378 Carriers: 2689 | On Land: 1467 | In Stream: 1222 java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: Agent has errors at clojure.lang.LazyCons.rest(LazyCons.java:64) at clojure.lang.ASeq.count(ASeq.java:89) at clojure.lang.RT.count(RT.java:512) at clojure.core$count3193.invoke(core.clj:845) at clojure.core$partition3535.invoke(core.clj:1479) at clj_span.models.flood_water$stop_unless_reducing3739.invoke(flood_water.clj:189) at clj_span.models.flood_water$propagate_runoffBANG3748.invoke(flood_water.clj:243) at clj_span.models.flood_water$fn3809.invoke(flood_water.clj:313) at clojure.lang.MultiFn.invoke(MultiFn.java:227) at clj_span.core$run_simulation__2849.invoke(core.clj:146) at clj_span.core$generate_results_map2861.invoke(core.clj:191) at clojure.lang.AFn.applyToHelper(AFn.java:261) at clojure.lang.AFn.applyTo(AFn.java:165) at clojure.core$apply2869.doInvoke(core.clj:374) at clojure.lang.RestFn.invoke(RestFn.java:550) at clj_span.core$run_span2933.invoke(core.clj:273) at clj_span.aries_span_bridge$span_driver5990.invoke(aries_span_bridge.clj:322) at aries$get_span_proxy4139$fn4141.invoke(aries-core.clj:25) at clojure.proxy.java.lang.Object$SPANProxy.runSPAN(Unknown Source) at org.integratedmodelling.aries.core.implementations.observations.SPANTransformer.transform(SPANTransformer.java:162) at org.integratedmodelling.corescience.context.ObservationContext.processTransformations(ObservationContext.java:719) at org.integratedmodelling.corescience.context.ObservationContext.processTransformations(ObservationContext.java:637) at org.integratedmodelling.corescience.context.ObservationContext.run(ObservationContext.java:758) at org.integratedmodelling.corescience.ObservationFactory.contextualize(ObservationFactory.java:73) at org.integratedmodelling.modelling.model.ModelFactory$ContextualizingModelResult.getResult(ModelFactory.java:254) at org.integratedmodelling.modelling.commands.ModelCommand.execute(ModelCommand.java:126) at org.integratedmodelling.thinklab.command.CommandManager.submitCommand(CommandManager.java:144) at org.integratedmodelling.thinklab.commandline.GraphicalShell.execute(GraphicalShell.java:305) at org.integratedmodelling.thinklab.commandline.GraphicalShell.startConsole(GraphicalShell.java:264) at org.integratedmodelling.thinklab.shell.ShellApplication.startApplication(ShellApplication.java:127) at org.java.plugin.boot.Boot.boot(Boot.java:346) at org.java.plugin.boot.Boot.main(Boot.java:243) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: Agent has errors at clojure.lang.LazyCons.rest(LazyCons.java:64) at clojure.lang.RT.rest(RT.java:560) at clojure.core$rest2745.invoke(core.clj:46) at clojure.core$take3421$fn3424.invoke(core.clj:1322) at clojure.lang.LazyCons.rest(LazyCons.java:60) ... 31 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: Agent has errors at clojure.lang.LazyCons.rest(LazyCons.java:64) at clojure.lang.RT.rest(RT.java:560) at clojure.core$rest2745.invoke(core.clj:46) at clojure.core$map3371$fn3374.invoke(core.clj:1278) at clojure.lang.LazyCons.rest(LazyCons.java:60) ... 35 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: Agent has errors at clojure.lang.LazyCons.rest(LazyCons.java:64) at clojure.lang.RT.rest(RT.java:560) at clojure.core$rest2745.invoke(core.clj:46) at clojure.core$drop3437.invoke(core.clj:1335) at clojure.core$take_nth3913$fn3916.invoke(core.clj:2201) at clojure.lang.LazyCons.rest(LazyCons.java:60) ... 39 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: Agent has errors at clojure.lang.LazyCons.rest(LazyCons.java:64) at clojure.lang.RT.rest(RT.java:560) at clojure.core$rest__2745.invoke(core.clj:46) at clojure.core$take_while3429$fn3432.invoke(core.clj:1329) at clojure.lang.LazyCons.rest(LazyCons.java:60) ... 44 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: Agent has errors at clojure.lang.LazyCons.rest(LazyCons.java:64) at clojure.lang.ASeq.count(ASeq.java:89) at clojure.lang.RT.count(RT.java:512) at clojure.core$count3193.invoke(core.clj:845) at clj_span.models.flood_water$propagate_runoff_BANG_3748$fn3750.invoke(flood_water.clj:209) at clj_misc.utils$iterate_while_seq1098$fn1100.invoke(utils.clj:492) at clojure.core$iterate3477$fn3480.invoke(core.clj:1382) at clojure.lang.LazyCons.rest(LazyCons.java:60) ... 48 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: Agent has errors at clojure.lang.LazyCons.rest(LazyCons.java:64) at clojure.lang.RT.rest(RT.java:560) at clojure.core$rest2745.invoke(core.clj:46) at clojure.core$remove3413$fn__3416.invoke(core.clj:1315) at clojure.lang.LazyCons.rest(LazyCons.java:60) ... 55 more Caused by: java.lang.RuntimeException: java.lang.Exception: Agent has errors
update: also breaks in two of our sediment models
! core.models.sediment-puget/sediment-farmers @ core.contexts.beta/western_wa256: FAIL (282.315s)
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: Agent has errors clojure.lang.LazyCons.rest(LazyCons.java:64) clojure.lang.ASeq.count(ASeq.java:89) clojure.lang.RT.count(RT.java:512) clojure.core$count3193.invoke(core.clj:845) clojure.core$partition3535.invoke(core.clj:1479) clj_span.models.sediment$stop_unless_reducing3896.invoke(sediment.clj:189) clj_span.models.sediment$propagate_sedimentBANG3905.invoke(sediment.clj:241) clj_span.models.sediment$fn__3966.invoke(sediment.clj:308)
....
! core.models.sediment-puget/sediment-reservoirs @ core.contexts.beta/western_wa256: FAIL (179.898s)
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: Agent has errors clojure.lang.LazyCons.rest(LazyCons.java:64) clojure.lang.ASeq.count(ASeq.java:89) clojure.lang.RT.count(RT.java:512) clojure.core$count3193.invoke(core.clj:845) clojure.core$partition3535.invoke(core.clj:1479) clj_span.models.sediment$stop_unless_reducing3896.invoke(sediment.clj:189) clj_span.models.sediment$propagate_sedimentBANG3905.invoke(sediment.clj:241)
Hmm...thanks for finding those. I'll run them through my debugger and see what comes up. Should only have to fix the problem once, since sediment and flood share much of the same code.
@lambdatronic