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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/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) 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) Running command: translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009029/0.0009029, allocations: 85.34 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2813/0.2813, allocations: 28.82 MB / 365.3 MB, free: 42.02 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.163e-05, allocations: 4 kB / 430.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08717/0.0872, allocations: 57.48 MB / 488.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/0.3848, allocations: 80.19 MB / 0.555 GB, free: 24.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001514/0.385, allocations: 62.02 kB / 0.5551 GB, free: 24.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.3961, allocations: 4.715 MB / 0.5597 GB, free: 22.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3962, allocations: 0 / 0.5597 GB, free: 22.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.3962, allocations: 8 kB / 0.5597 GB, free: 22.22 MB / 394.7 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.0005969/0.3968, allocations: 0.574 MB / 0.5602 GB, free: 21.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.3968, allocations: 12.22 kB / 0.5603 GB, free: 21.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.3969, allocations: 43.44 kB / 0.5603 GB, free: 21.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3972, allocations: 281.4 kB / 0.5606 GB, free: 21.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.3972, allocations: 22.72 kB / 0.5606 GB, free: 21.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.3973, allocations: 33.55 kB / 0.5606 GB, free: 21.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.3977, allocations: 333.4 kB / 0.5609 GB, free: 21.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3977, allocations: 0 / 0.5609 GB, free: 21.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.3977, allocations: 15.7 kB / 0.5609 GB, free: 21.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3978, allocations: 11.95 kB / 0.561 GB, free: 21.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.3981, allocations: 220.1 kB / 0.5612 GB, free: 20.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3992, allocations: 1.171 MB / 0.5623 GB, free: 20.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.3994, allocations: 201.6 kB / 0.5625 GB, free: 19.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3995, allocations: 95.45 kB / 0.5626 GB, free: 19.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.3996, allocations: 12.78 kB / 0.5626 GB, free: 19.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.3998, allocations: 148.8 kB / 0.5627 GB, free: 19.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.3998, allocations: 4 kB / 0.5628 GB, free: 19.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003278/0.4001, allocations: 229.7 kB / 0.563 GB, free: 19.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.4002, allocations: 52.34 kB / 0.563 GB, free: 19.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.4003, allocations: 237.5 kB / 0.5632 GB, free: 19.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.4004, allocations: 32.64 kB / 0.5633 GB, free: 19.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.4005, allocations: 215 kB / 0.5635 GB, free: 19.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.4005, allocations: 61.2 kB / 0.5635 GB, free: 19.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.4005, allocations: 3.562 kB / 0.5635 GB, free: 19.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.4006, allocations: 346.5 kB / 0.5639 GB, free: 18.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.4007, allocations: 82.33 kB / 0.564 GB, free: 18.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.4008, allocations: 123.6 kB / 0.5641 GB, free: 18.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.401, allocations: 116.8 kB / 0.5642 GB, free: 18.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.401, allocations: 0.6562 kB / 0.5642 GB, free: 18.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000362/0.4013, allocations: 308.8 kB / 0.5645 GB, free: 18.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4014, allocations: 35.16 kB / 0.5645 GB, free: 18.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4014, allocations: 0 / 0.5645 GB, free: 18.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.4014, allocations: 0 / 0.5645 GB, free: 18.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.4016, allocations: 47.39 kB / 0.5646 GB, free: 18.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4016, allocations: 4.125 kB / 0.5646 GB, free: 18.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4018, allocations: 30.8 kB / 0.5646 GB, free: 18.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.4018, allocations: 14.33 kB / 0.5646 GB, free: 18.18 MB / 394.7 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 ($whenCondition1,$PRE.Hunting.T_start,Hunting.T_start,$PRE.Hunting.count,Hunting.count,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.4019, allocations: 124.1 kB / 0.5647 GB, free: 18.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.4019, allocations: 25.36 kB / 0.5647 GB, free: 18.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.4023, allocations: 269 kB / 0.565 GB, free: 17.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4023, allocations: 0 / 0.565 GB, free: 17.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4023, allocations: 5.688 kB / 0.565 GB, free: 17.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.4023, allocations: 9.391 kB / 0.565 GB, free: 17.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.4028, allocations: 0.6491 MB / 0.5657 GB, free: 17.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4029, allocations: 4.562 kB / 0.5657 GB, free: 17.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.403, allocations: 33.17 kB / 0.5657 GB, free: 17.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.403, allocations: 4 kB / 0.5657 GB, free: 17.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.4031, allocations: 4.188 kB / 0.5657 GB, free: 17.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4031, allocations: 7.188 kB / 0.5657 GB, free: 17.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4031, allocations: 0 / 0.5657 GB, free: 17.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.4035, allocations: 455.7 kB / 0.5661 GB, free: 16.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.4036, allocations: 100.7 kB / 0.5662 GB, free: 16.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.4036, allocations: 9 kB / 0.5662 GB, free: 16.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4038, allocations: 15.75 kB / 0.5663 GB, free: 16.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.4038, allocations: 15.92 kB / 0.5663 GB, free: 16.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4039, allocations: 11.75 kB / 0.5663 GB, free: 16.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.404, allocations: 194.5 kB / 0.5665 GB, free: 16.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.404, allocations: 0 / 0.5665 GB, free: 16.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.4042, allocations: 78.39 kB / 0.5665 GB, free: 16.63 MB / 394.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.4044, allocations: 112.4 kB / 0.5667 GB, free: 16.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.4046, allocations: 238.3 kB / 0.5669 GB, free: 16.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4046, allocations: 0 / 0.5669 GB, free: 16.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.4048, allocations: 91.28 kB / 0.567 GB, free: 16.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.405, allocations: 31.62 kB / 0.567 GB, free: 16.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.4056, allocations: 428 kB / 0.5674 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.4058, allocations: 0.7968 MB / 0.5682 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.182e-05/0.4059, allocations: 15.36 kB / 0.5682 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.4059, allocations: 15.44 kB / 0.5682 GB, free: 15.11 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.406, allocations: 0 / 0.5682 GB, free: 15.11 MB / 394.7 MB Notification: Performance of Templates: time 0.004063/0.41, allocations: 1.755 MB / 0.5699 GB, free: 14.1 MB / 394.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile (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)