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.0007811/0.0007811, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008786/0.0008786, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8255/0.8255, allocations: 177.2 MB / 203.5 MB, free: 5.711 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.1128/0.1128, allocations: 21.79 MB / 281.7 MB, free: 7.371 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.262e-06/1.262e-06, allocations: 0 / 418.9 MB, free: 8.945 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.616e-05, allocations: 2.281 kB / 418.9 MB, free: 8.941 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002185/0.002201, allocations: 2.191 MB / 421.1 MB, free: 6.738 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.003089, allocations: 0.627 MB / 421.8 MB, free: 6.105 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.003225, allocations: 7.938 kB / 421.8 MB, free: 6.098 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.003376, allocations: 47.52 kB / 421.8 MB, free: 6.051 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.003446, allocations: 31.62 kB / 421.8 MB, free: 6.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.003799, allocations: 127.8 kB / 422 MB, free: 5.895 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.004032, allocations: 272 kB / 422.2 MB, free: 5.625 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.004213, allocations: 134.5 kB / 422.4 MB, free: 5.496 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.004331, allocations: 155.7 kB / 422.5 MB, free: 5.344 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.004412, allocations: 83.67 kB / 422.6 MB, free: 5.262 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.004441, allocations: 28 kB / 422.6 MB, free: 5.234 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-05/0.004533, allocations: 55.97 kB / 422.7 MB, free: 5.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.004606, allocations: 83.67 kB / 422.8 MB, free: 5.098 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.004667, allocations: 87.69 kB / 422.9 MB, free: 5.012 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.004963, allocations: 350.7 kB / 423.2 MB, free: 4.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004965, allocations: 0 / 423.2 MB, free: 4.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004966, allocations: 0 / 423.2 MB, free: 4.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.00497, allocations: 0 / 423.2 MB, free: 4.668 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.0006491/0.00562, allocations: 0.5807 MB / 423.8 MB, free: 4.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.005651, allocations: 15.97 kB / 423.8 MB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.005707, allocations: 56.64 kB / 423.8 MB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.00595, allocations: 224.7 kB / 424.1 MB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.005969, allocations: 24.97 kB / 424.1 MB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.006004, allocations: 32.38 kB / 424.1 MB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.00637, allocations: 336.2 kB / 424.5 MB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.00638, allocations: 192 / 424.5 MB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.006399, allocations: 12.38 kB / 424.5 MB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.006407, allocations: 11.94 kB / 424.5 MB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.006678, allocations: 238.4 kB / 424.7 MB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.007536, allocations: 1.005 MB / 425.7 MB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.007794, allocations: 214.3 kB / 425.9 MB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.007901, allocations: 92.81 kB / 426 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.007936, allocations: 15.98 kB / 426 MB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.008127, allocations: 151.6 kB / 426.2 MB, free: 1.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.008129, allocations: 0 / 426.2 MB, free: 1.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004049/0.008534, allocations: 324.4 kB / 426.5 MB, free: 1.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.008565, allocations: 59.34 kB / 426.6 MB, free: 1.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.008732, allocations: 273.8 kB / 426.8 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.008749, allocations: 33.69 kB / 426.9 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.008853, allocations: 212.4 kB / 427.1 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.008885, allocations: 63.48 kB / 427.1 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.008936, allocations: 45.66 kB / 427.2 MB, free: 0.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.009017, allocations: 338.8 kB / 427.5 MB, free: 164 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.009146, allocations: 125.9 kB / 427.6 MB, free: 28 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.009285, allocations: 162.3 kB / 427.8 MB, free: 15.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.009519, allocations: 251.6 kB / 428 MB, free: 15.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.009522, allocations: 0 / 428 MB, free: 15.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003239/0.009846, allocations: 364.4 kB / 428.4 MB, free: 15.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.009869, allocations: 33.7 kB / 428.4 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.009875, allocations: 4 kB / 428.4 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.009887, allocations: 0 / 428.4 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.009993, allocations: 43.91 kB / 428.5 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.009998, allocations: 0 / 428.5 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.01007, allocations: 31.83 kB / 428.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.01008, allocations: 12.11 kB / 428.5 MB, free: 15.08 MB / 410.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 9.953e-05/0.01018, allocations: 157.8 kB / 428.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.0102, allocations: 31.73 kB / 428.7 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.01048, allocations: 255.7 kB / 428.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.01049, allocations: 4 kB / 428.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01049, allocations: 0 / 428.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01049, allocations: 0 / 428.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.01094, allocations: 0.5789 MB / 429.5 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01094, allocations: 0 / 429.5 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.01103, allocations: 27.98 kB / 429.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01103, allocations: 0 / 429.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01104, allocations: 7.938 kB / 429.6 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01104, allocations: 3.984 kB / 429.6 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01105, allocations: 4 kB / 429.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.01144, allocations: 459 kB / 430 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.01146, allocations: 27.94 kB / 430 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.01148, allocations: 4 kB / 430 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.45e-05/0.01155, allocations: 11.98 kB / 430.1 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.0116, allocations: 19.97 kB / 430.1 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.0116, allocations: 4 kB / 430.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.01172, allocations: 189.2 kB / 430.3 MB, free: 13.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01172, allocations: 0 / 430.3 MB, free: 13.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.01191, allocations: 71.72 kB / 430.3 MB, free: 13.18 MB / 410.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.0001153/0.01203, allocations: 107.2 kB / 430.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.01233, allocations: 308.7 kB / 430.7 MB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01233, allocations: 0 / 430.7 MB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.01244, allocations: 99.89 kB / 430.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.01266, allocations: 28.84 kB / 430.9 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.01327, allocations: 0.5867 MB / 431.4 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.01338, allocations: 182.9 kB / 431.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.01342, allocations: 24.48 kB / 431.7 MB, free: 11.78 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.01342, allocations: 0 / 431.7 MB, free: 11.78 MB / 410.7 MB Notification: Performance of Templates: time 0.003262/0.01669, allocations: 3.141 MB / 434.8 MB, free: 8.637 MB / 410.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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.413806410506368] Failed to read output from testmodel.py, exit status != 0: 0.02100707869976759 0.16962174400000002 0.16329483 Calling exit ...