Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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.001862/0.001862, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.002387/0.002387, allocations: 193.2 kB / 22.85 MB, free: 5.641 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.693/1.693, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.3111/0.3111, allocations: 29.24 MB / 336 MB, free: 11.36 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.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 71.89 kB / 470.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5548, allocations: 59.61 MB / 0.5179 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.005766/0.5606, allocations: 2.352 MB / 0.5202 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.5623, allocations: 0.6337 MB / 0.5208 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.5625, allocations: 8.625 kB / 0.5208 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.5628, allocations: 38.44 kB / 0.5209 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.563, allocations: 35.91 kB / 0.5209 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.5636, allocations: 129.2 kB / 0.521 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.5642, allocations: 273.2 kB / 0.5213 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.5646, allocations: 147.5 kB / 0.5214 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.5648, allocations: 115.8 kB / 0.5215 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.565, allocations: 120.1 kB / 0.5216 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.565, allocations: 27.41 kB / 0.5217 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.5653, allocations: 56.19 kB / 0.5217 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.5654, allocations: 82.77 kB / 0.5218 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.5656, allocations: 153.2 kB / 0.5219 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.5664, allocations: 328.9 kB / 0.5223 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/0.5664, allocations: 1.094 kB / 0.5223 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.5664, allocations: 0 / 0.5223 GB, free: 7.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.5664, allocations: 4 kB / 0.5223 GB, free: 7.086 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001407/0.5678, allocations: 0.594 MB / 0.5228 GB, free: 6.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.292e-05/0.5679, allocations: 9.125 kB / 0.5229 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.568, allocations: 44.62 kB / 0.5229 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.5686, allocations: 239.3 kB / 0.5231 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.5686, allocations: 21.25 kB / 0.5231 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.5687, allocations: 38.33 kB / 0.5232 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008612/0.5696, allocations: 339.1 kB / 0.5235 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.5696, allocations: 3.938 kB / 0.5235 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.5696, allocations: 14.73 kB / 0.5235 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.5696, allocations: 12.81 kB / 0.5235 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006757/0.5703, allocations: 237.9 kB / 0.5238 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.5724, allocations: 1.1 MB / 0.5248 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.573, allocations: 213 kB / 0.525 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.5733, allocations: 95.59 kB / 0.5251 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.5734, allocations: 17.98 kB / 0.5252 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.5738, allocations: 149.6 kB / 0.5253 GB, free: 5.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.5738, allocations: 0 / 0.5253 GB, free: 5.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.00104/0.5749, allocations: 331.8 kB / 0.5256 GB, free: 5.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.5749, allocations: 55.05 kB / 0.5257 GB, free: 4.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004335/0.5753, allocations: 267.8 kB / 0.5259 GB, free: 4.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.5754, allocations: 31.47 kB / 0.5259 GB, free: 4.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.5756, allocations: 213.8 kB / 0.5262 GB, free: 4.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.5757, allocations: 64.06 kB / 0.5262 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.5758, allocations: 47.78 kB / 0.5263 GB, free: 4.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5759, allocations: 337.5 kB / 0.5266 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.5762, allocations: 91.64 kB / 0.5267 GB, free: 4.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.5765, allocations: 134.9 kB / 0.5268 GB, free: 4.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.5771, allocations: 250.9 kB / 0.527 GB, free: 3.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.5771, allocations: 4.906 kB / 0.527 GB, free: 3.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008306/0.578, allocations: 322.2 kB / 0.5273 GB, free: 3.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.578, allocations: 37.84 kB / 0.5274 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.578, allocations: 0.9062 kB / 0.5274 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/0.5781, allocations: 2.344 kB / 0.5274 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.5783, allocations: 41.58 kB / 0.5274 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.5784, allocations: 2.781 kB / 0.5274 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.5785, allocations: 25.42 kB / 0.5275 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.5786, allocations: 7.344 kB / 0.5275 GB, free: 3.742 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0002224/0.5788, allocations: 171.5 kB / 0.5276 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.5788, allocations: 26.28 kB / 0.5276 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008396/0.5797, allocations: 258.7 kB / 0.5279 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.5797, allocations: 1.625 kB / 0.5279 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.5797, allocations: 1.391 kB / 0.5279 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.5797, allocations: 1.516 kB / 0.5279 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.581, allocations: 0.6433 MB / 0.5285 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.581, allocations: 0 / 0.5285 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.5812, allocations: 32.92 kB / 0.5286 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.5812, allocations: 1.844 kB / 0.5286 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.5812, allocations: 6.109 kB / 0.5286 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5812, allocations: 1.156 kB / 0.5286 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5812, allocations: 7.875 kB / 0.5286 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.5823, allocations: 460.4 kB / 0.529 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.5824, allocations: 27.08 kB / 0.529 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.5824, allocations: 6.672 kB / 0.529 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5826, allocations: 10.16 kB / 0.5291 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5827, allocations: 26.83 kB / 0.5291 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.5828, allocations: 8.125 kB / 0.5291 GB, free: 2.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.5831, allocations: 193.2 kB / 0.5293 GB, free: 2.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5831, allocations: 4.062 kB / 0.5293 GB, free: 2.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005282/0.5836, allocations: 63.97 kB / 0.5293 GB, free: 2.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hare.Integrator1.y,Lynx.Integrator1.y) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.0002258/0.5839, allocations: 105.9 kB / 0.5294 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.5845, allocations: 262.7 kB / 0.5297 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5845, allocations: 1.156 kB / 0.5297 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.5848, allocations: 109.2 kB / 0.5298 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.5852, allocations: 32.84 kB / 0.5298 GB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.5864, allocations: 0.585 MB / 0.5304 GB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.5867, allocations: 0.7843 MB / 0.5312 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.82e-05/0.5868, allocations: 14.42 kB / 0.5312 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.5869, allocations: 25.72 kB / 0.5312 GB, free: 1.34 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5869, allocations: 0 / 0.5312 GB, free: 1.34 MB / 382.1 MB Notification: Performance of Templates: time 0.008011/0.5949, allocations: 2.09 MB / 0.5332 GB, free: 1.148 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.606291851996502] Failed to read output from testmodel.py, exit status != 0: 0.6045061280019581 0.623118087 0.05286151 Calling exit ...