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.001774/0.001774, allocations: 79.03 kB / 19.76 MB, free: 1.898 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.002454/0.002454, allocations: 161.5 kB / 23.01 MB, free: 4.574 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 9.254 MB / 190.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.2007/0.2007, allocations: 21.81 MB / 281.6 MB, free: 10.93 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.00221/0.00221, allocations: 63.91 kB / 418.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3699, allocations: 60.77 MB / 479.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003963/0.3739, allocations: 2.189 MB / 481.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3752, allocations: 0.6272 MB / 482.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.3754, allocations: 4.406 kB / 482.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.3756, allocations: 47.2 kB / 482.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.3757, allocations: 38.27 kB / 482.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.3761, allocations: 116.9 kB / 482.5 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.3765, allocations: 272.1 kB / 482.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.3767, allocations: 139.3 kB / 482.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.3769, allocations: 162.4 kB / 483 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3771, allocations: 112.1 kB / 483.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.3772, allocations: 26.16 kB / 483.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.3773, allocations: 52.81 kB / 483.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3774, allocations: 81.69 kB / 483.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.3776, allocations: 122.2 kB / 483.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.378, allocations: 331.8 kB / 483.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.378, allocations: 0 / 483.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.378, allocations: 1.188 kB / 483.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.378, allocations: 4 kB / 483.7 MB, free: 9.789 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.001133/0.3791, allocations: 0.5927 MB / 484.3 MB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3792, allocations: 9.031 kB / 484.3 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3793, allocations: 48.55 kB / 484.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.3798, allocations: 234.3 kB / 484.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.3798, allocations: 29.44 kB / 484.6 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.3799, allocations: 30.06 kB / 484.7 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006661/0.3805, allocations: 350.4 kB / 485 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3806, allocations: 1 kB / 485 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.3806, allocations: 10.31 kB / 485 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3806, allocations: 8.125 kB / 485 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.3812, allocations: 235.5 kB / 485.3 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.3828, allocations: 1.008 MB / 486.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.3833, allocations: 207.8 kB / 486.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3836, allocations: 96.81 kB / 486.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.3836, allocations: 19.98 kB / 486.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004221/0.384, allocations: 161.6 kB / 486.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.384, allocations: 0 / 486.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008487/0.3849, allocations: 313.3 kB / 487.1 MB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.385, allocations: 55.41 kB / 487.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.3854, allocations: 273.8 kB / 487.4 MB, free: 6.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.3854, allocations: 33.7 kB / 487.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.3856, allocations: 212.4 kB / 487.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.3857, allocations: 63.47 kB / 487.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.3858, allocations: 45.7 kB / 487.7 MB, free: 6.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.386, allocations: 334.8 kB / 488 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.3863, allocations: 125.8 kB / 488.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.3866, allocations: 167.3 kB / 488.3 MB, free: 5.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.3871, allocations: 257.8 kB / 488.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3871, allocations: 0 / 488.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006428/0.3877, allocations: 361.3 kB / 488.9 MB, free: 5.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.3877, allocations: 33.83 kB / 489 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3878, allocations: 0 / 489 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3878, allocations: 4 kB / 489 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.388, allocations: 43.97 kB / 489 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.388, allocations: 0 / 489 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.3882, allocations: 31.81 kB / 489 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3882, allocations: 8 kB / 489.1 MB, free: 4.91 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.0001934/0.3884, allocations: 160.2 kB / 489.2 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3884, allocations: 31.75 kB / 489.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/0.389, allocations: 263.6 kB / 489.5 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.389, allocations: 4 kB / 489.5 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.389, allocations: 0 / 489.5 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.389, allocations: 0 / 489.5 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.39, allocations: 0.5642 MB / 490.1 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.39, allocations: 0 / 490.1 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.3901, allocations: 31.92 kB / 490.1 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.3901, allocations: 11.98 kB / 490.1 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3902, allocations: 0 / 490.1 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3902, allocations: 0 / 490.1 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3902, allocations: 0 / 490.1 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.391, allocations: 481.5 kB / 490.6 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.391, allocations: 27.83 kB / 490.6 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.3911, allocations: 0 / 490.6 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3912, allocations: 20.05 kB / 490.6 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.3913, allocations: 19.97 kB / 490.6 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3913, allocations: 0 / 490.6 MB, free: 3.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.3915, allocations: 197.1 kB / 490.8 MB, free: 3.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3915, allocations: 0 / 490.8 MB, free: 3.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.3919, allocations: 67.78 kB / 490.9 MB, free: 2.996 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.0001772/0.3921, allocations: 95.25 kB / 491 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006434/0.3927, allocations: 305 kB / 491.3 MB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3927, allocations: 0 / 491.3 MB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.393, allocations: 95.89 kB / 491.4 MB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.3934, allocations: 32.95 kB / 491.4 MB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.3945, allocations: 0.5637 MB / 492 MB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.3947, allocations: 186.9 kB / 492.2 MB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.258e-05/0.3947, allocations: 17.48 kB / 492.2 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.3948, allocations: 20.48 kB / 492.2 MB, free: 1.617 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3948, allocations: 0 / 492.2 MB, free: 1.617 MB / 382.1 MB Notification: Performance of Templates: time 0.006471/0.4013, allocations: 1.903 MB / 494.1 MB, free: 15.73 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8876699260436] Failed to read output from testmodel.py, exit status != 0: 0.41051800386048853 0.42615126499999995 0.045013782 Calling exit ...