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.0009413/0.0009414, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.5 MB / 229.6 MB, free: 7.543 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.0008942, allocations: 93.72 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1555/0.1555, allocations: 28.84 MB / 360.1 MB, free: 2.215 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 1.764e-05/1.768e-05, allocations: 7.984 kB / 423.8 MB, free: 32.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 57.48 MB / 481.3 MB, free: 6.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3359/0.436, allocations: 79.54 MB / 0.5476 GB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.4363, allocations: 58.05 kB / 0.5477 GB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01071/0.447, allocations: 4.676 MB / 0.5523 GB, free: 10.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4471, allocations: 0 / 0.5523 GB, free: 10.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.4471, allocations: 7.406 kB / 0.5523 GB, free: 10.33 MB / 362.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.0006047/0.4477, allocations: 0.5757 MB / 0.5528 GB, free: 9.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4477, allocations: 15.42 kB / 0.5529 GB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.4478, allocations: 46.22 kB / 0.5529 GB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.4481, allocations: 284.6 kB / 0.5532 GB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4481, allocations: 7.5 kB / 0.5532 GB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.4481, allocations: 18.91 kB / 0.5532 GB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002859/0.4484, allocations: 205.8 kB / 0.5534 GB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.4488, allocations: 280.9 kB / 0.5537 GB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4488, allocations: 4.344 kB / 0.5537 GB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.4488, allocations: 7.828 kB / 0.5537 GB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.4488, allocations: 7.688 kB / 0.5537 GB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.4498, allocations: 1.111 MB / 0.5548 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.4501, allocations: 196 kB / 0.5549 GB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.4502, allocations: 83.92 kB / 0.555 GB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.4502, allocations: 18.52 kB / 0.555 GB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.4504, allocations: 143.6 kB / 0.5552 GB, free: 8.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.913e-06/0.4505, allocations: 0 / 0.5552 GB, free: 8.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003697/0.4508, allocations: 225.6 kB / 0.5554 GB, free: 8.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.4509, allocations: 58.59 kB / 0.5555 GB, free: 8.422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.451, allocations: 221.5 kB / 0.5557 GB, free: 8.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.451, allocations: 29.55 kB / 0.5557 GB, free: 8.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.4511, allocations: 206.1 kB / 0.5559 GB, free: 8.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.4512, allocations: 60.23 kB / 0.5559 GB, free: 8.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.4512, allocations: 0 / 0.5559 GB, free: 8.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.4513, allocations: 336.9 kB / 0.5563 GB, free: 7.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.4514, allocations: 79.66 kB / 0.5563 GB, free: 7.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4515, allocations: 121.9 kB / 0.5565 GB, free: 7.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.4516, allocations: 91.64 kB / 0.5565 GB, free: 7.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4516, allocations: 0 / 0.5565 GB, free: 7.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003283/0.452, allocations: 268.6 kB / 0.5568 GB, free: 7.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.452, allocations: 36.92 kB / 0.5568 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.452, allocations: 0 / 0.5568 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.452, allocations: 3.844 kB / 0.5568 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.4522, allocations: 46.81 kB / 0.5569 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.4522, allocations: 0 / 0.5569 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4524, allocations: 24.73 kB / 0.5569 GB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.4524, allocations: 14.84 kB / 0.5569 GB, free: 7.535 MB / 362.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 6.6e-05/0.4525, allocations: 122.4 kB / 0.557 GB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.4525, allocations: 26.81 kB / 0.5571 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.4529, allocations: 252.3 kB / 0.5573 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4529, allocations: 3.906 kB / 0.5573 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4529, allocations: 0 / 0.5573 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4529, allocations: 3.938 kB / 0.5573 GB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.4534, allocations: 0.5919 MB / 0.5579 GB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4534, allocations: 0 / 0.5579 GB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4536, allocations: 42.27 kB / 0.5579 GB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4536, allocations: 3.938 kB / 0.5579 GB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.4537, allocations: 3.984 kB / 0.5579 GB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4537, allocations: 7.844 kB / 0.5579 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4537, allocations: 0 / 0.5579 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.4541, allocations: 431.7 kB / 0.5584 GB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.4542, allocations: 104.5 kB / 0.5585 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.4542, allocations: 4 kB / 0.5585 GB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.4543, allocations: 15.83 kB / 0.5585 GB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.4544, allocations: 27.02 kB / 0.5585 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.4544, allocations: 7.688 kB / 0.5585 GB, free: 6.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.4546, allocations: 177.1 kB / 0.5587 GB, free: 6.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4546, allocations: 0 / 0.5587 GB, free: 6.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.4549, allocations: 65.97 kB / 0.5587 GB, free: 6.496 MB / 362.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.0001265/0.455, allocations: 115.9 kB / 0.5589 GB, free: 6.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.4552, allocations: 227.8 kB / 0.5591 GB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4552, allocations: 3.188 kB / 0.5591 GB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.4553, allocations: 86.52 kB / 0.5592 GB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.4556, allocations: 32.72 kB / 0.5592 GB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.4562, allocations: 419.7 kB / 0.5596 GB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.4564, allocations: 0.798 MB / 0.5604 GB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.91e-05/0.4565, allocations: 16.48 kB / 0.5604 GB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.4565, allocations: 19.11 kB / 0.5604 GB, free: 5.312 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4565, allocations: 0 / 0.5604 GB, free: 5.312 MB / 362.7 MB Notification: Performance of Templates: time 0.003858/0.4604, allocations: 1.642 MB / 0.562 GB, free: 4.512 MB / 362.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)