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.001296/0.001296, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001462/0.001462, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.1874/0.1874, allocations: 21.81 MB / 281 MB, free: 10.84 MB / 270.1 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.395e-06/2.395e-06, allocations: 0 / 418.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.65e-05, allocations: 2.281 kB / 418.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003713/0.003739, allocations: 2.193 MB / 420.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.005119, allocations: 0.6426 MB / 421 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.005311, allocations: 7.938 kB / 421 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.00552, allocations: 43.52 kB / 421.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.005656, allocations: 31.67 kB / 421.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.00609, allocations: 123.8 kB / 421.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.00646, allocations: 264 kB / 421.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.006732, allocations: 142.5 kB / 421.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.006938, allocations: 155.6 kB / 421.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.007055, allocations: 87.61 kB / 421.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.007106, allocations: 28 kB / 421.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.007232, allocations: 55.95 kB / 421.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.007342, allocations: 79.69 kB / 422 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.007448, allocations: 91.67 kB / 422.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.007971, allocations: 338.7 kB / 422.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.007974, allocations: 0 / 422.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007975, allocations: 0 / 422.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.007986, allocations: 4 kB / 422.4 MB, free: 9.258 MB / 350.1 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.001059/0.009044, allocations: 0.5886 MB / 423 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.009079, allocations: 8.031 kB / 423 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.252e-05/0.009171, allocations: 48.66 kB / 423.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.009562, allocations: 232.6 kB / 423.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.009592, allocations: 25.03 kB / 423.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.009645, allocations: 32.38 kB / 423.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.01028, allocations: 344.1 kB / 423.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01029, allocations: 192 / 423.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.01032, allocations: 12.38 kB / 423.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.01034, allocations: 15.88 kB / 423.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.01086, allocations: 234.4 kB / 423.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.01233, allocations: 1.001 MB / 425 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.01281, allocations: 206.5 kB / 425.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.01303, allocations: 96.81 kB / 425.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.01308, allocations: 20.3 kB / 425.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/0.01342, allocations: 155.2 kB / 425.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.01342, allocations: 0 / 425.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007754/0.01419, allocations: 323.9 kB / 425.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.01425, allocations: 59.41 kB / 425.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.01455, allocations: 269.8 kB / 426.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.01458, allocations: 33.7 kB / 426.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.01475, allocations: 212.4 kB / 426.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.01481, allocations: 63.47 kB / 426.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.0149, allocations: 45.7 kB / 426.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.01507, allocations: 342.8 kB / 426.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.01532, allocations: 113.9 kB / 426.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.01559, allocations: 159 kB / 427 MB, free: 4.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.0161, allocations: 260.3 kB / 427.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.0161, allocations: 0 / 427.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006448/0.01675, allocations: 352.5 kB / 427.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.01679, allocations: 37.69 kB / 427.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01679, allocations: 8.109 kB / 427.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01681, allocations: 4 kB / 427.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.01702, allocations: 35.92 kB / 427.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.01702, allocations: 4 kB / 427.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.01718, allocations: 27.88 kB / 427.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.01721, allocations: 11.98 kB / 427.7 MB, free: 3.676 MB / 350.1 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.0001665/0.01738, allocations: 157.8 kB / 427.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.01741, allocations: 27.75 kB / 427.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.01799, allocations: 267.5 kB / 428.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.018, allocations: 3.984 kB / 428.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.018, allocations: 0 / 428.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01801, allocations: 4 kB / 428.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000846/0.01885, allocations: 0.563 MB / 428.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.01886, allocations: 4 kB / 428.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.01905, allocations: 39.91 kB / 428.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01905, allocations: 4 kB / 428.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.01907, allocations: 4 kB / 428.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01907, allocations: 0 / 428.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01907, allocations: 0 / 428.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008194/0.01989, allocations: 462.2 kB / 429.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.01993, allocations: 23.84 kB / 429.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.01997, allocations: 4 kB / 429.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.02013, allocations: 15.98 kB / 429.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.02019, allocations: 16.03 kB / 429.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.02021, allocations: 8 kB / 429.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.02041, allocations: 193.2 kB / 429.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02041, allocations: 0 / 429.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.02074, allocations: 67.72 kB / 429.6 MB, free: 1.781 MB / 350.1 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.0001812/0.02092, allocations: 107.2 kB / 429.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.02152, allocations: 297 kB / 430 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02152, allocations: 4 kB / 430 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.02175, allocations: 99.88 kB / 430.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.02211, allocations: 42.06 kB / 430.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.02314, allocations: 0.5578 MB / 430.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.02334, allocations: 183 kB / 430.8 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.485e-05/0.02341, allocations: 17.48 kB / 430.9 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.02347, allocations: 16.5 kB / 430.9 MB, free: 404 kB / 350.1 MB Notification: Performance of SimCode: time 1.087e-05/0.02348, allocations: 0 / 430.9 MB, free: 404 kB / 350.1 MB Notification: Performance of Templates: time 0.006157/0.02964, allocations: 1.906 MB / 432.8 MB, free: 14.52 MB / 366.1 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.415912881493568] Failed to read output from testmodel.py, exit status != 0: 0.038566090166568756 0.053862707 0.042653914 Calling exit ...