Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 194.3 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.725/1.725, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2847/0.2847, allocations: 29.24 MB / 336 MB, free: 11.31 MB / 270.1 MB " [Timeout remaining time 179] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM") translateModel(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.89 kB / 470.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5543, allocations: 59.61 MB / 0.5179 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.005552/0.5598, allocations: 2.384 MB / 0.5202 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.5612, allocations: 441.3 kB / 0.5207 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.5614, allocations: 8.312 kB / 0.5207 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.5616, allocations: 49.56 kB / 0.5207 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.5618, allocations: 25.41 kB / 0.5207 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.5626, allocations: 158.4 kB / 0.5209 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.5631, allocations: 322.1 kB / 0.5212 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/0.5636, allocations: 160.5 kB / 0.5214 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.5638, allocations: 145.3 kB / 0.5215 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.5642, allocations: 173 kB / 0.5217 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.553e-05/0.5643, allocations: 34.84 kB / 0.5217 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.5645, allocations: 64.81 kB / 0.5218 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.5648, allocations: 126.6 kB / 0.5219 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.565, allocations: 217.5 kB / 0.5221 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008101/0.5658, allocations: 435.6 kB / 0.5225 GB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.5658, allocations: 0.6562 kB / 0.5225 GB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5658, allocations: 0 / 0.5225 GB, free: 6.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.5658, allocations: 0 / 0.5225 GB, free: 6.934 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001733/0.5676, allocations: 0.7265 MB / 0.5232 GB, free: 6.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/0.5676, allocations: 8.719 kB / 0.5232 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.5678, allocations: 62 kB / 0.5233 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.5681, allocations: 230.3 kB / 0.5235 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.5682, allocations: 36.03 kB / 0.5235 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5683, allocations: 45.36 kB / 0.5236 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5694, allocations: 468.5 kB / 0.524 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5695, allocations: 192 / 0.524 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.5695, allocations: 19.41 kB / 0.524 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.5696, allocations: 11.7 kB / 0.5241 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.5706, allocations: 372.6 kB / 0.5244 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.573, allocations: 1.094 MB / 0.5255 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.5744, allocations: 494 kB / 0.5259 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.5747, allocations: 164 kB / 0.5261 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.5748, allocations: 35.95 kB / 0.5261 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006615/0.5755, allocations: 266.7 kB / 0.5264 GB, free: 4.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.863e-06/0.5755, allocations: 0 / 0.5264 GB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001395/0.5769, allocations: 0.5594 MB / 0.5269 GB, free: 4.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.5769, allocations: 87.41 kB / 0.527 GB, free: 4.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.5774, allocations: 351.7 kB / 0.5274 GB, free: 4.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.5774, allocations: 37.69 kB / 0.5274 GB, free: 4.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.5776, allocations: 251 kB / 0.5276 GB, free: 4.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.5778, allocations: 141.6 kB / 0.5278 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5779, allocations: 61.52 kB / 0.5278 GB, free: 3.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.578, allocations: 354 kB / 0.5282 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.5783, allocations: 141.5 kB / 0.5283 GB, free: 3.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.5787, allocations: 193.4 kB / 0.5285 GB, free: 3.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.5815, allocations: 0.6721 MB / 0.5291 GB, free: 3.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5815, allocations: 0 / 0.5291 GB, free: 3.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007657/0.5823, allocations: 432.2 kB / 0.5296 GB, free: 3.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.5823, allocations: 9.656 kB / 0.5296 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5823, allocations: 1.312 kB / 0.5296 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5823, allocations: 2.375 kB / 0.5296 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.5827, allocations: 66.81 kB / 0.5296 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.5827, allocations: 6.344 kB / 0.5296 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.5828, allocations: 35.69 kB / 0.5297 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.5829, allocations: 12.5 kB / 0.5297 GB, free: 3.125 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Eggs.level:DISCRETE(start = Eggs.x0 fixed = true ) \"Discrete state variable\" type: Real Rawfiber.level:DISCRETE(start = Rawfiber.x0 fixed = true ) \"Discrete state variable\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.Eggs.level,$PRE.Rawfiber.level,Rawfiber.level,Eggs.level) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002888/0.5831, allocations: 189.1 kB / 0.5299 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.5832, allocations: 41.34 kB / 0.5299 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009809/0.5842, allocations: 464.2 kB / 0.5303 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5842, allocations: 4.438 kB / 0.5303 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.5842, allocations: 5.094 kB / 0.5304 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.5842, allocations: 2.156 kB / 0.5304 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007087/0.5849, allocations: 492.3 kB / 0.5308 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5849, allocations: 0.7969 kB / 0.5308 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.5852, allocations: 65.06 kB / 0.5309 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.5852, allocations: 1.531 kB / 0.5309 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.5853, allocations: 8.172 kB / 0.5309 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.5853, allocations: 2 kB / 0.5309 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.5853, allocations: 5.469 kB / 0.5309 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.5861, allocations: 466.4 kB / 0.5313 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.5862, allocations: 36.2 kB / 0.5314 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.5863, allocations: 12.7 kB / 0.5314 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.5864, allocations: 12.61 kB / 0.5314 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.5865, allocations: 34.94 kB / 0.5314 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.5866, allocations: 14.42 kB / 0.5315 GB, free: 2.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003415/0.5869, allocations: 254.4 kB / 0.5317 GB, free: 2.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5869, allocations: 0 / 0.5317 GB, free: 2.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.5874, allocations: 93.31 kB / 0.5318 GB, free: 2.062 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,Eggs.level,Rawfiber.level) * Number of discrete states: 2 (Eggs.level,Rawfiber.level) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/0.5875, allocations: 116.1 kB / 0.5319 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000857/0.5884, allocations: 346.4 kB / 0.5322 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.5884, allocations: 4.062 kB / 0.5322 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.5888, allocations: 198.4 kB / 0.5324 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.5891, allocations: 28.36 kB / 0.5324 GB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.5908, allocations: 0.842 MB / 0.5333 GB, free: 1.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.5913, allocations: 0.8492 MB / 0.5341 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00015/0.5914, allocations: 29.14 kB / 0.5341 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.5915, allocations: 30.39 kB / 0.5342 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5915, allocations: 0 / 0.5342 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of Templates: time 0.00988/0.6014, allocations: 2.608 MB / 0.5367 GB, free: 240 kB / 382.1 MB " [Timeout remaining time 659] make -j1 -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe ; mkfifo SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe >> ../files/SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.sim & ./SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.392211340003996] Failed to read output from testmodel.py, exit status != 0: 0.6117851879971568 0.6303728740000001 0.060804157000000005 Calling exit ...