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.002276/0.002276, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.00272/0.00272, allocations: 169.3 kB / 22.76 MB, free: 1.645 MB / 18.57 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.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.301 MB / 186.7 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.202/0.202, allocations: 21.8 MB / 281.4 MB, free: 7.098 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 358 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.426e-05, allocations: 6.25 kB / 358 MB, free: 5.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003966/0.004001, allocations: 2.218 MB / 360.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.005463, allocations: 0.6466 MB / 360.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.005614, allocations: 7.938 kB / 360.9 MB, free: 2.445 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.005805, allocations: 43.47 kB / 360.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.005926, allocations: 31.67 kB / 361 MB, free: 2.371 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.006391, allocations: 119.8 kB / 361.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003751/0.006766, allocations: 268 kB / 361.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.007056, allocations: 142.5 kB / 361.5 MB, free: 1.852 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.007278, allocations: 163.5 kB / 361.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.007405, allocations: 83.67 kB / 361.7 MB, free: 1.609 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.007462, allocations: 28 kB / 361.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.007661, allocations: 55.97 kB / 361.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.007814, allocations: 79.67 kB / 361.9 MB, free: 1.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.007983, allocations: 87.69 kB / 362 MB, free: 1.363 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.008667, allocations: 338.7 kB / 362.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.00867, allocations: 0 / 362.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008671, allocations: 0 / 362.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.008676, allocations: 0 / 362.3 MB, free: 1.031 MB / 330.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.001545/0.01022, allocations: 0.7038 MB / 363 MB, free: 288 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.01027, allocations: 12.03 kB / 363 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.01045, allocations: 68.64 kB / 363.1 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.01102, allocations: 243.5 kB / 363.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.01108, allocations: 25.03 kB / 363.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.01116, allocations: 32.38 kB / 363.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/0.01205, allocations: 330.3 kB / 363.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.01207, allocations: 192 / 363.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.01212, allocations: 16.38 kB / 363.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.01214, allocations: 11.94 kB / 363.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.01272, allocations: 162.5 kB / 363.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.01522, allocations: 1.269 MB / 365.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.01578, allocations: 151 kB / 365.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.01605, allocations: 63.66 kB / 365.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.261e-05/0.01614, allocations: 19.92 kB / 365.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/0.01647, allocations: 132.9 kB / 365.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.797e-06/0.01647, allocations: 8 kB / 365.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008609/0.01734, allocations: 240.1 kB / 365.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.0174, allocations: 55.41 kB / 365.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.01797, allocations: 344.2 kB / 366.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.01801, allocations: 37.64 kB / 366.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.01833, allocations: 275.1 kB / 366.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.01841, allocations: 67.42 kB / 366.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.01855, allocations: 63.31 kB / 366.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000418/0.01897, allocations: 0.5235 MB / 367.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.01927, allocations: 85.91 kB / 367.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.01962, allocations: 149.5 kB / 367.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/0.02026, allocations: 210.3 kB / 367.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.02026, allocations: 0 / 367.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008667/0.02113, allocations: 289.8 kB / 367.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.02119, allocations: 45.72 kB / 367.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.0212, allocations: 0 / 367.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.02122, allocations: 4 kB / 367.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.02153, allocations: 39.92 kB / 367.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.02154, allocations: 0 / 367.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.02176, allocations: 31.83 kB / 367.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.02179, allocations: 4 kB / 367.9 MB, free: 11.05 MB / 346.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 (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.0002588/0.02205, allocations: 188.5 kB / 368.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.02213, allocations: 31.8 kB / 368.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006991/0.02283, allocations: 195.6 kB / 368.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.02284, allocations: 4 kB / 368.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02284, allocations: 0 / 368.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.02285, allocations: 3.984 kB / 368.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.02403, allocations: 0.5779 MB / 368.9 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02403, allocations: 0 / 368.9 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.02428, allocations: 27.98 kB / 369 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.02428, allocations: 0 / 369 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.0243, allocations: 4 kB / 369 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.0243, allocations: 4 kB / 369 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02431, allocations: 0 / 369 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.02533, allocations: 411.5 kB / 369.4 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.0254, allocations: 23.86 kB / 369.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.02544, allocations: 4 kB / 369.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.02567, allocations: 15.98 kB / 369.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.02578, allocations: 19.97 kB / 369.4 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.0258, allocations: 4 kB / 369.4 MB, free: 9.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003371/0.02614, allocations: 225.1 kB / 369.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02614, allocations: 7.969 kB / 369.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005806/0.02672, allocations: 71.67 kB / 369.7 MB, free: 9.184 MB / 346.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) * 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.0002522/0.02697, allocations: 103.2 kB / 369.8 MB, free: 9.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005902/0.02756, allocations: 259.7 kB / 370.1 MB, free: 8.797 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02756, allocations: 0 / 370.1 MB, free: 8.797 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.02785, allocations: 82.7 kB / 370.2 MB, free: 8.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.02841, allocations: 33.2 kB / 370.2 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.02979, allocations: 0.5221 MB / 370.7 MB, free: 8.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.03008, allocations: 183 kB / 370.9 MB, free: 7.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.03018, allocations: 13.48 kB / 370.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.03026, allocations: 20.5 kB / 370.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03026, allocations: 0 / 370.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of Templates: time 0.009064/0.03933, allocations: 1.943 MB / 372.9 MB, free: 5.98 MB / 346.7 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.61575117695611]