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.001341/0.001341, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001397/0.001397, allocations: 207.1 kB / 22.24 MB, free: 5.258 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.801 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.2242/0.2242, allocations: 29.24 MB / 341.7 MB, free: 5.613 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.002062/0.002062, allocations: 75.89 kB / 478.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3361, allocations: 60.79 MB / 0.5269 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003481/0.3396, allocations: 2.187 MB / 0.5291 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3408, allocations: 0.6231 MB / 0.5297 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.341, allocations: 3.812 kB / 0.5297 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.3412, allocations: 50.25 kB / 0.5297 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3413, allocations: 33 kB / 0.5298 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.3417, allocations: 129.2 kB / 0.5299 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.342, allocations: 261.6 kB / 0.5301 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.3422, allocations: 138.5 kB / 0.5303 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3423, allocations: 106.1 kB / 0.5304 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3425, allocations: 107.7 kB / 0.5305 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.3425, allocations: 35.09 kB / 0.5305 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.3426, allocations: 56.8 kB / 0.5306 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.3427, allocations: 81.72 kB / 0.5306 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.007e-05/0.3428, allocations: 112.6 kB / 0.5307 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.3432, allocations: 338.8 kB / 0.5311 GB, free: 5.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3432, allocations: 2.188 kB / 0.5311 GB, free: 5.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3432, allocations: 0 / 0.5311 GB, free: 5.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.3432, allocations: 0 / 0.5311 GB, free: 5.453 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.0008368/0.3441, allocations: 0.5912 MB / 0.5316 GB, free: 4.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3441, allocations: 8.906 kB / 0.5316 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.006e-05/0.3442, allocations: 49.73 kB / 0.5317 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.3445, allocations: 233.3 kB / 0.5319 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3445, allocations: 23.86 kB / 0.5319 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.3446, allocations: 37.27 kB / 0.532 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.3451, allocations: 343.6 kB / 0.5323 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3452, allocations: 4 kB / 0.5323 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.3452, allocations: 12.22 kB / 0.5323 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3452, allocations: 7.781 kB / 0.5323 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.3457, allocations: 234.5 kB / 0.5326 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3469, allocations: 1.011 MB / 0.5335 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3473, allocations: 216.5 kB / 0.5337 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.3475, allocations: 96.69 kB / 0.5338 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.3476, allocations: 17.5 kB / 0.5339 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/0.3478, allocations: 158.1 kB / 0.534 GB, free: 3.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.3479, allocations: 0.9688 kB / 0.534 GB, free: 3.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006637/0.3485, allocations: 325.2 kB / 0.5343 GB, free: 3.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.3485, allocations: 54.41 kB / 0.5344 GB, free: 3.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.3488, allocations: 267.3 kB / 0.5346 GB, free: 3.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3488, allocations: 27.66 kB / 0.5346 GB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3489, allocations: 214.4 kB / 0.5349 GB, free: 3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.349, allocations: 60.36 kB / 0.5349 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/0.3491, allocations: 51.45 kB / 0.535 GB, free: 2.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.3491, allocations: 338.1 kB / 0.5353 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.3493, allocations: 119.1 kB / 0.5354 GB, free: 2.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.3496, allocations: 166.9 kB / 0.5356 GB, free: 2.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.35, allocations: 255 kB / 0.5358 GB, free: 2.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.35, allocations: 1.375 kB / 0.5358 GB, free: 2.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005121/0.3505, allocations: 351.6 kB / 0.5361 GB, free: 2.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.3505, allocations: 33.39 kB / 0.5362 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3505, allocations: 1.469 kB / 0.5362 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3505, allocations: 3.078 kB / 0.5362 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.3507, allocations: 44.58 kB / 0.5362 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3507, allocations: 6.438 kB / 0.5362 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3509, allocations: 26.31 kB / 0.5362 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3509, allocations: 7.625 kB / 0.5363 GB, free: 2.059 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.0001206/0.351, allocations: 159.6 kB / 0.5364 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.351, allocations: 27.44 kB / 0.5364 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.3515, allocations: 263.3 kB / 0.5367 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3515, allocations: 5.094 kB / 0.5367 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3515, allocations: 5.219 kB / 0.5367 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3515, allocations: 1.266 kB / 0.5367 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/0.3522, allocations: 0.5678 MB / 0.5372 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3522, allocations: 0 / 0.5372 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.3524, allocations: 32.23 kB / 0.5373 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3524, allocations: 0 / 0.5373 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3524, allocations: 5.375 kB / 0.5373 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3524, allocations: 5.312 kB / 0.5373 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3524, allocations: 3.984 kB / 0.5373 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.353, allocations: 466.4 kB / 0.5377 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.3531, allocations: 30.66 kB / 0.5378 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3531, allocations: 5.375 kB / 0.5378 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3532, allocations: 10.42 kB / 0.5378 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.3533, allocations: 18.34 kB / 0.5378 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3533, allocations: 8.25 kB / 0.5378 GB, free: 1.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.3535, allocations: 195.9 kB / 0.538 GB, free: 0.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3535, allocations: 4.062 kB / 0.538 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.3538, allocations: 65.42 kB / 0.5381 GB, free: 0.9297 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.000124/0.3539, allocations: 103.5 kB / 0.5382 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.3544, allocations: 295.9 kB / 0.5384 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3544, allocations: 0 / 0.5384 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.3546, allocations: 99.3 kB / 0.5385 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3549, allocations: 38.61 kB / 0.5386 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008454/0.3557, allocations: 0.5581 MB / 0.5391 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.3559, allocations: 191 kB / 0.5393 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.273e-05/0.356, allocations: 13.36 kB / 0.5393 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.356, allocations: 20.47 kB / 0.5393 GB, free: 72 kB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.356, allocations: 1.375 kB / 0.5393 GB, free: 72 kB / 382.1 MB Notification: Performance of Templates: time 0.006143/0.3621, allocations: 2.179 MB / 0.5415 GB, free: 14.93 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: 4.732943467795849] Failed to read output from testmodel.py, exit status != 0: 0.3706405833363533 0.38416155999999996 0.038059677 Calling exit ...