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.001149/0.001149, allocations: 93.06 kB / 19.65 MB, free: 280 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.001428/0.001428, allocations: 173 kB / 23.02 MB, free: 1.551 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.9189/0.9189, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.1193/0.1193, allocations: 21.81 MB / 281.7 MB, free: 7.199 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.753e-06/1.753e-06, allocations: 0 / 358.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.641e-05, allocations: 5.547 kB / 358.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002218/0.002234, allocations: 2.264 MB / 361 MB, free: 2.855 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009102/0.003145, allocations: 0.6465 MB / 361.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.003282, allocations: 7.938 kB / 361.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.003449, allocations: 39.58 kB / 361.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.109e-05/0.00353, allocations: 43.61 kB / 361.7 MB, free: 2.113 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.003906, allocations: 123.7 kB / 361.9 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.004144, allocations: 272 kB / 362.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.004331, allocations: 134.5 kB / 362.3 MB, free: 1.594 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.004459, allocations: 151.7 kB / 362.4 MB, free: 1.445 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.00454, allocations: 83.69 kB / 362.5 MB, free: 1.363 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.004571, allocations: 24 kB / 362.5 MB, free: 1.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.004682, allocations: 59.91 kB / 362.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.004765, allocations: 87.67 kB / 362.7 MB, free: 1.195 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.004842, allocations: 91.67 kB / 362.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.005108, allocations: 246.9 kB / 363 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.00511, allocations: 0 / 363 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00511, allocations: 0 / 363 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005115, allocations: 0 / 363 MB, free: 0.8633 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.0006617/0.005776, allocations: 0.6807 MB / 363.7 MB, free: 140 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.005809, allocations: 12.03 kB / 363.7 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.00589, allocations: 76.64 kB / 363.7 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.006125, allocations: 243.3 kB / 364 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.006143, allocations: 21.03 kB / 364 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.006179, allocations: 32.38 kB / 364 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.006493, allocations: 287 kB / 364.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.006503, allocations: 192 / 364.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.006521, allocations: 12.38 kB / 364.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.006533, allocations: 15.94 kB / 364.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.006674, allocations: 95.81 kB / 364.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.007561, allocations: 1.206 MB / 365.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.007723, allocations: 111 kB / 365.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.007778, allocations: 39.66 kB / 365.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.007821, allocations: 16 kB / 365.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.007949, allocations: 105.2 kB / 365.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.007951, allocations: 0 / 365.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.000253/0.008204, allocations: 165.3 kB / 366.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.008234, allocations: 55.41 kB / 366.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.008402, allocations: 304.3 kB / 366.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.008419, allocations: 29.7 kB / 366.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.008534, allocations: 267.1 kB / 366.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.00857, allocations: 63.48 kB / 366.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.008624, allocations: 55.31 kB / 366.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.008746, allocations: 0.5079 MB / 367.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.008811, allocations: 53.92 kB / 367.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.008893, allocations: 117.4 kB / 367.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.009022, allocations: 146.8 kB / 367.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009024, allocations: 4 kB / 367.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002111/0.009236, allocations: 236.7 kB / 367.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.009261, allocations: 39.25 kB / 367.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.009267, allocations: 4 kB / 367.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.009277, allocations: 0 / 367.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.009394, allocations: 35.98 kB / 368 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.009401, allocations: 7.938 kB / 368 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.009466, allocations: 27.83 kB / 368 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.009477, allocations: 8 kB / 368 MB, free: 11.5 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 8.851e-05/0.009566, allocations: 168.7 kB / 368.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.009591, allocations: 35.8 kB / 368.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.009772, allocations: 151.5 kB / 368.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009775, allocations: 4 kB / 368.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.009778, allocations: 0 / 368.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009781, allocations: 0 / 368.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.01011, allocations: 499.9 kB / 368.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01011, allocations: 0 / 368.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.0102, allocations: 35.86 kB / 368.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.0102, allocations: 0 / 368.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01022, allocations: 8 kB / 368.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.01022, allocations: 7.984 kB / 368.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01022, allocations: 0 / 368.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.01046, allocations: 331.5 kB / 369.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.01048, allocations: 23.8 kB / 369.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.0105, allocations: 8 kB / 369.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.01056, allocations: 7.984 kB / 369.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.01061, allocations: 19.97 kB / 369.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.01062, allocations: 0 / 369.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.403e-05/0.01071, allocations: 209.1 kB / 369.5 MB, free: 9.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 32 / 369.5 MB, free: 9.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.0109, allocations: 67.77 kB / 369.5 MB, free: 9.883 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.0001064/0.01101, allocations: 103.2 kB / 369.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.01121, allocations: 192.7 kB / 369.8 MB, free: 9.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.01122, allocations: 4 kB / 369.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.217e-05/0.01128, allocations: 54.41 kB / 369.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.0115, allocations: 39.77 kB / 369.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.01206, allocations: 0.5144 MB / 370.4 MB, free: 8.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.01212, allocations: 91.8 kB / 370.5 MB, free: 8.809 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.593e-05/0.01216, allocations: 21.47 kB / 370.6 MB, free: 8.789 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.0122, allocations: 20.48 kB / 370.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0122, allocations: 0 / 370.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of Templates: time 0.003868/0.01607, allocations: 2.047 MB / 372.6 MB, free: 6.738 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: 2.8782933526672423]