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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 218.2 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 8.082 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.178/0.178, allocations: 29.22 MB / 342.4 MB, free: 5.855 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.91 kB / 479.6 MB, free: 140 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.269, allocations: 60.8 MB / 0.5277 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002959/0.2719, allocations: 2.362 MB / 0.53 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000997/0.2729, allocations: 0.6715 MB / 0.5307 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2731, allocations: 8.375 kB / 0.5307 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.2733, allocations: 41.25 kB / 0.5307 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.2734, allocations: 36.12 kB / 0.5308 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.2738, allocations: 125.4 kB / 0.5309 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.2741, allocations: 263.5 kB / 0.5312 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.2743, allocations: 143.5 kB / 0.5313 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2744, allocations: 110.4 kB / 0.5314 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.2745, allocations: 123.5 kB / 0.5315 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.2746, allocations: 27.56 kB / 0.5315 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.2747, allocations: 57.55 kB / 0.5316 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.2748, allocations: 80.02 kB / 0.5317 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.643e-05/0.2749, allocations: 154.8 kB / 0.5318 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.2753, allocations: 335.1 kB / 0.5321 GB, free: 5.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2753, allocations: 4.5 kB / 0.5321 GB, free: 5.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2753, allocations: 0 / 0.5321 GB, free: 5.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2753, allocations: 1.156 kB / 0.5321 GB, free: 5.32 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.0008069/0.2761, allocations: 0.5867 MB / 0.5327 GB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2761, allocations: 12.78 kB / 0.5327 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.2762, allocations: 49.72 kB / 0.5328 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.2765, allocations: 233.7 kB / 0.533 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.2765, allocations: 22.08 kB / 0.533 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.2765, allocations: 33.59 kB / 0.533 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.277, allocations: 347.4 kB / 0.5334 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.277, allocations: 0 / 0.5334 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2771, allocations: 11.78 kB / 0.5334 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2771, allocations: 7.781 kB / 0.5334 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.2775, allocations: 238.3 kB / 0.5336 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2787, allocations: 1.121 MB / 0.5347 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.2791, allocations: 204.5 kB / 0.5349 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.2793, allocations: 100.2 kB / 0.535 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.2793, allocations: 13.55 kB / 0.535 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.2796, allocations: 156.9 kB / 0.5352 GB, free: 3.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.2796, allocations: 0 / 0.5352 GB, free: 3.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006266/0.2802, allocations: 322.4 kB / 0.5355 GB, free: 3.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2803, allocations: 58.84 kB / 0.5355 GB, free: 3.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.2805, allocations: 266.7 kB / 0.5358 GB, free: 3.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2805, allocations: 31.11 kB / 0.5358 GB, free: 2.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.2806, allocations: 216 kB / 0.536 GB, free: 2.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.2807, allocations: 59.02 kB / 0.5361 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.2807, allocations: 47.31 kB / 0.5361 GB, free: 2.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.2808, allocations: 341.5 kB / 0.5365 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.281, allocations: 92.86 kB / 0.5365 GB, free: 2.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.2812, allocations: 130.3 kB / 0.5367 GB, free: 2.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.2815, allocations: 254.8 kB / 0.5369 GB, free: 2.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2815, allocations: 7.938 kB / 0.5369 GB, free: 2.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004652/0.282, allocations: 325 kB / 0.5372 GB, free: 2.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.282, allocations: 33.98 kB / 0.5373 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.282, allocations: 1.375 kB / 0.5373 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.282, allocations: 2.75 kB / 0.5373 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.2822, allocations: 44.94 kB / 0.5373 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2822, allocations: 1.375 kB / 0.5373 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2823, allocations: 34.66 kB / 0.5373 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2823, allocations: 9.953 kB / 0.5374 GB, free: 1.961 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.0001114/0.2825, allocations: 161.2 kB / 0.5375 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.2825, allocations: 30.8 kB / 0.5375 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.2829, allocations: 253.8 kB / 0.5378 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2829, allocations: 2.281 kB / 0.5378 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2829, allocations: 5.578 kB / 0.5378 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.283, allocations: 0.7031 kB / 0.5378 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.2836, allocations: 0.6383 MB / 0.5384 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2836, allocations: 0 / 0.5384 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.2838, allocations: 35.72 kB / 0.5384 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2838, allocations: 1.281 kB / 0.5384 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2838, allocations: 1.375 kB / 0.5384 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2838, allocations: 1.25 kB / 0.5384 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2838, allocations: 7.938 kB / 0.5385 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.2844, allocations: 456.2 kB / 0.5389 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.2844, allocations: 26.62 kB / 0.5389 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.2844, allocations: 6.75 kB / 0.5389 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2846, allocations: 17.55 kB / 0.5389 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.2846, allocations: 18.78 kB / 0.539 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.2846, allocations: 14.73 kB / 0.539 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.2848, allocations: 188.3 kB / 0.5391 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2848, allocations: 0 / 0.5391 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.2851, allocations: 65.34 kB / 0.5392 GB, free: 0.7773 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.0001173/0.2852, allocations: 104.3 kB / 0.5393 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.2856, allocations: 275.3 kB / 0.5396 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2856, allocations: 0 / 0.5396 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.2858, allocations: 105.4 kB / 0.5397 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.2862, allocations: 30.69 kB / 0.5397 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.287, allocations: 0.5919 MB / 0.5403 GB, free: 64 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.2874, allocations: 0.7874 MB / 0.541 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.2874, allocations: 19.12 kB / 0.5411 GB, free: 15.31 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2874, allocations: 3.938 kB / 0.5411 GB, free: 15.3 MB / 398.1 MB Notification: Performance of Templates: time 0.005143/0.2926, allocations: 3.005 MB / 0.544 GB, free: 13.72 MB / 398.1 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.707848760066554] Failed to read output from testmodel.py, exit status != 0: 0.30072343279607594 0.314884981 0.036803129000000004 Calling exit ...