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.00162/0.00162, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.002003/0.002003, allocations: 181 kB / 23.35 MB, free: 1.137 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 0.9487/0.9487, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.1244/0.1244, allocations: 21.82 MB / 282.1 MB, free: 7.039 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 1.342e-06/1.342e-06, allocations: 0 / 305.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.096e-05, allocations: 4.703 kB / 305.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002528/0.002549, allocations: 2.239 MB / 308.2 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.003478, allocations: 0.6652 MB / 308.8 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.003587, allocations: 7.938 kB / 308.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.003739, allocations: 47.52 kB / 308.9 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.003818, allocations: 35.67 kB / 308.9 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.004146, allocations: 131.7 kB / 309.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.004364, allocations: 268 kB / 309.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.004541, allocations: 142.5 kB / 309.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.004662, allocations: 155.6 kB / 309.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.00474, allocations: 75.7 kB / 309.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.004774, allocations: 28 kB / 309.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.004865, allocations: 63.94 kB / 309.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.004932, allocations: 79.69 kB / 309.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.004989, allocations: 95.67 kB / 309.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.005218, allocations: 242.9 kB / 310.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005221, allocations: 4 kB / 310.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005222, allocations: 0 / 310.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.005226, allocations: 0 / 310.2 MB, free: 5.832 MB / 282.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.0005637/0.00579, allocations: 0.5566 MB / 310.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.005818, allocations: 12.03 kB / 310.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.005873, allocations: 52.89 kB / 310.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.006065, allocations: 212.6 kB / 311 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.006081, allocations: 21.03 kB / 311 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.006116, allocations: 36.33 kB / 311.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.006352, allocations: 263.6 kB / 311.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.006362, allocations: 192 / 311.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.006377, allocations: 16.38 kB / 311.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.006387, allocations: 15.92 kB / 311.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.515e-05/0.006473, allocations: 83.25 kB / 311.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.007122, allocations: 0.8038 MB / 312.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.007245, allocations: 133.2 kB / 312.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.007278, allocations: 32.84 kB / 312.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.007312, allocations: 12 kB / 312.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.007427, allocations: 100.3 kB / 312.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.007428, allocations: 0 / 312.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.00016/0.007588, allocations: 113.9 kB / 312.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.00762, allocations: 55.41 kB / 312.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.007752, allocations: 240.9 kB / 312.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.00777, allocations: 33.7 kB / 313 MB, free: 2.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.007846, allocations: 188.8 kB / 313.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.007882, allocations: 55.53 kB / 313.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.007932, allocations: 57.61 kB / 313.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.008011, allocations: 334.8 kB / 313.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.008057, allocations: 52.75 kB / 313.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.008115, allocations: 90.42 kB / 313.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.807e-05/0.008213, allocations: 116.7 kB / 313.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.008216, allocations: 0 / 313.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001455/0.008361, allocations: 190.6 kB / 314 MB, free: 1.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.008388, allocations: 37.64 kB / 314.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.008392, allocations: 0 / 314.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.008406, allocations: 7.984 kB / 314.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.008509, allocations: 39.92 kB / 314.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.008513, allocations: 3.984 kB / 314.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.008579, allocations: 31.83 kB / 314.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.008589, allocations: 8 kB / 314.1 MB, free: 1.605 MB / 282.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 (Hare.Integrator1.local_reset,Lynx.Integrator1.local_reset,Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1) * 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 7.984e-05/0.008669, allocations: 131.6 kB / 314.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.008688, allocations: 24.08 kB / 314.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.008815, allocations: 121.9 kB / 314.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.008818, allocations: 4 kB / 314.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.008819, allocations: 0 / 314.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.008823, allocations: 3.984 kB / 314.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.00906, allocations: 366.4 kB / 314.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.00906, allocations: 7.938 kB / 314.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.009137, allocations: 23.98 kB / 314.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.00914, allocations: 3.938 kB / 314.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.00915, allocations: 4 kB / 314.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009151, allocations: 4 kB / 314.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009152, allocations: 0 / 314.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.009323, allocations: 280 kB / 315.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.009341, allocations: 24.42 kB / 315.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.009358, allocations: 7.938 kB / 315.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.009418, allocations: 15.98 kB / 315.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.009453, allocations: 15.95 kB / 315.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.009461, allocations: 8 kB / 315.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.009516, allocations: 82.75 kB / 315.2 MB, free: 460 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009516, allocations: 0 / 315.2 MB, free: 460 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.009688, allocations: 71.77 kB / 315.3 MB, free: 388 kB / 282.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.0001027/0.009791, allocations: 80.42 kB / 315.4 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.009933, allocations: 165.8 kB / 315.6 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.009937, allocations: 4 kB / 315.6 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.933e-05/0.009986, allocations: 50.47 kB / 315.6 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.01016, allocations: 29.62 kB / 315.6 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.0107, allocations: 0.511 MB / 316.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.482e-05/0.01075, allocations: 103.8 kB / 316.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.482e-05/0.0108, allocations: 17.48 kB / 316.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.01087, allocations: 71.36 kB / 316.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01087, allocations: 4 kB / 316.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Templates: time 0.003841/0.01471, allocations: 2.021 MB / 318.4 MB, free: 13.29 MB / 298.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: 2.7771435831673443]