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.001411/0.001411, allocations: 88.72 kB / 19.44 MB, free: 356 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.001911/0.001911, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.442/1.442, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.1977/0.1977, allocations: 21.79 MB / 281.4 MB, free: 7.219 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.723e-06/1.723e-06, allocations: 3.938 kB / 358 MB, free: 5.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.217e-05, allocations: 6.25 kB / 358 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003663/0.003685, allocations: 2.205 MB / 360.2 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.004985, allocations: 0.6349 MB / 360.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.00511, allocations: 7.938 kB / 360.9 MB, free: 2.605 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.005299, allocations: 47.52 kB / 360.9 MB, free: 2.559 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.005417, allocations: 27.69 kB / 360.9 MB, free: 2.531 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.005841, allocations: 127.8 kB / 361.1 MB, free: 2.406 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.006205, allocations: 272 kB / 361.3 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.006471, allocations: 130.5 kB / 361.5 MB, free: 2.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.006677, allocations: 155.7 kB / 361.6 MB, free: 1.859 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.006799, allocations: 83.67 kB / 361.7 MB, free: 1.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.006851, allocations: 28 kB / 361.7 MB, free: 1.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.006977, allocations: 55.97 kB / 361.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.007083, allocations: 79.62 kB / 361.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.007197, allocations: 91.67 kB / 361.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.007666, allocations: 350.7 kB / 362.3 MB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.007668, allocations: 0 / 362.3 MB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.007668, allocations: 0 / 362.3 MB, free: 1.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.007674, allocations: 0 / 362.3 MB, free: 1.184 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.001038/0.008712, allocations: 0.5808 MB / 362.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.008747, allocations: 12.03 kB / 362.9 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.008873, allocations: 68.66 kB / 362.9 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.009262, allocations: 240.6 kB / 363.2 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.009293, allocations: 25.03 kB / 363.2 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.009357, allocations: 32.38 kB / 363.2 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.01001, allocations: 340.2 kB / 363.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01003, allocations: 192 / 363.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.01006, allocations: 12.38 kB / 363.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.01007, allocations: 11.94 kB / 363.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.01063, allocations: 238.4 kB / 363.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.01214, allocations: 1.009 MB / 364.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.01265, allocations: 210.5 kB / 365 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.01287, allocations: 92.81 kB / 365.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.01292, allocations: 19.84 kB / 365.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.01327, allocations: 151.5 kB / 365.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.01327, allocations: 0 / 365.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008127/0.01408, allocations: 340 kB / 365.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.01414, allocations: 55.41 kB / 365.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.01447, allocations: 269.8 kB / 365.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.01451, allocations: 41.62 kB / 366 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.0147, allocations: 208.4 kB / 366.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.01477, allocations: 63.47 kB / 366.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.01486, allocations: 45.7 kB / 366.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.01506, allocations: 338.8 kB / 366.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.01533, allocations: 121.9 kB / 366.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.01561, allocations: 159.3 kB / 366.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.0161, allocations: 249.8 kB / 367.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.0161, allocations: 0 / 367.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006817/0.01678, allocations: 370 kB / 367.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.01683, allocations: 29.7 kB / 367.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01683, allocations: 4 kB / 367.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.01686, allocations: 0 / 367.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.01708, allocations: 47.91 kB / 367.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.01708, allocations: 4 kB / 367.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.01723, allocations: 19.88 kB / 367.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.01726, allocations: 12 kB / 367.6 MB, free: 11.55 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.0001849/0.01745, allocations: 161.9 kB / 367.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.0175, allocations: 35.75 kB / 367.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005932/0.01809, allocations: 267.5 kB / 368.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.0181, allocations: 4 kB / 368.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.0181, allocations: 0 / 368.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01811, allocations: 0 / 368.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000875/0.01898, allocations: 0.571 MB / 368.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01898, allocations: 0 / 368.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.01917, allocations: 31.92 kB / 368.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.01917, allocations: 0 / 368.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.01919, allocations: 7.984 kB / 368.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01919, allocations: 0 / 368.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01919, allocations: 4 kB / 368.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.02002, allocations: 459.1 kB / 369.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.02006, allocations: 31.94 kB / 369.2 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.02009, allocations: 0 / 369.2 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.02024, allocations: 15.98 kB / 369.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.02032, allocations: 23.91 kB / 369.2 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.02034, allocations: 7.938 kB / 369.2 MB, free: 9.895 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.02054, allocations: 189.2 kB / 369.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02054, allocations: 0 / 369.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003318/0.02088, allocations: 67.78 kB / 369.5 MB, free: 9.645 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.0001834/0.02106, allocations: 99.19 kB / 369.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006072/0.02167, allocations: 304.8 kB / 369.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.02167, allocations: 3.938 kB / 369.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.02191, allocations: 99.08 kB / 370 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.02229, allocations: 39.64 kB / 370 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.02333, allocations: 0.5636 MB / 370.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.02354, allocations: 179 kB / 370.7 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.303e-05/0.02362, allocations: 17.48 kB / 370.8 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.02369, allocations: 24.48 kB / 370.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02369, allocations: 0 / 370.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of Templates: time 0.006041/0.02973, allocations: 1.933 MB / 372.7 MB, free: 6.348 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.453324669972062]