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.0009835/0.0009835, allocations: 93.06 kB / 19.65 MB, free: 276 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.001035/0.001035, allocations: 169 kB / 23.02 MB, free: 1.547 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.9128/0.9128, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.1185/0.1185, allocations: 21.79 MB / 281.7 MB, free: 7.191 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 2.335e-06/2.335e-06, allocations: 0 / 358.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.793e-05, allocations: 6.25 kB / 358.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003023/0.003051, allocations: 2.264 MB / 361 MB, free: 2.852 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004233, allocations: 0.6387 MB / 361.6 MB, free: 2.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.004403, allocations: 7.938 kB / 361.6 MB, free: 2.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.004597, allocations: 47.52 kB / 361.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.004702, allocations: 39.61 kB / 361.7 MB, free: 2.113 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.005161, allocations: 127.7 kB / 361.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.005501, allocations: 268 kB / 362.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.005746, allocations: 134.5 kB / 362.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.00594, allocations: 155.7 kB / 362.4 MB, free: 1.441 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.006056, allocations: 83.69 kB / 362.5 MB, free: 1.359 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.006102, allocations: 24 kB / 362.5 MB, free: 1.336 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.006273, allocations: 59.89 kB / 362.6 MB, free: 1.277 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.006396, allocations: 87.67 kB / 362.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.006496, allocations: 87.69 kB / 362.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.006867, allocations: 254.9 kB / 363 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.00687, allocations: 0 / 363 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006871, allocations: 0 / 363 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.006877, allocations: 0 / 363 MB, free: 0.8555 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.0008449/0.007722, allocations: 0.6807 MB / 363.7 MB, free: 132 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.00776, allocations: 8.031 kB / 363.7 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.007867, allocations: 72.66 kB / 363.7 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.008184, allocations: 243.3 kB / 364 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.008211, allocations: 25.03 kB / 364 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.008265, allocations: 28.38 kB / 364 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.008757, allocations: 291 kB / 364.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.00877, allocations: 192 / 364.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.008791, allocations: 12.38 kB / 364.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.008805, allocations: 11.94 kB / 364.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.008985, allocations: 103.8 kB / 364.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01002, allocations: 1.198 MB / 365.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.01018, allocations: 103 kB / 365.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.01024, allocations: 43.67 kB / 365.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.01029, allocations: 19.92 kB / 365.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.01043, allocations: 101.2 kB / 365.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.01043, allocations: 0 / 365.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002748/0.0107, allocations: 172.1 kB / 366.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.01074, allocations: 55.41 kB / 366.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.01092, allocations: 304.3 kB / 366.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.01094, allocations: 29.7 kB / 366.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01106, allocations: 263.1 kB / 366.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.01109, allocations: 63.47 kB / 366.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.01115, allocations: 59.31 kB / 366.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01127, allocations: 0.5079 MB / 367.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.01135, allocations: 65.91 kB / 367.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.994e-05/0.01144, allocations: 113.5 kB / 367.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.01159, allocations: 146.4 kB / 367.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.0116, allocations: 0 / 367.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002587/0.01186, allocations: 238 kB / 367.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.01189, allocations: 33.69 kB / 367.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.0119, allocations: 7.938 kB / 367.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01192, allocations: 0 / 367.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01206, allocations: 39.98 kB / 368 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01207, allocations: 4 kB / 368 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.01215, allocations: 23.83 kB / 368 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.01216, allocations: 12 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 0.0001167/0.01228, allocations: 168.5 kB / 368.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.01231, allocations: 35.89 kB / 368.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.01253, allocations: 155.5 kB / 368.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01254, allocations: 4 kB / 368.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01254, allocations: 0 / 368.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.01255, allocations: 3.984 kB / 368.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.0129, allocations: 491.9 kB / 368.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0129, allocations: 0 / 368.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.355e-05/0.013, allocations: 31.92 kB / 368.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.013, allocations: 0 / 368.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.01302, allocations: 7.984 kB / 368.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.01302, allocations: 4 kB / 368.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01302, allocations: 7.938 kB / 368.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.01327, allocations: 323.5 kB / 369.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.01329, allocations: 23.8 kB / 369.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.01331, allocations: 4 kB / 369.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.01337, allocations: 15.98 kB / 369.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.01342, allocations: 19.91 kB / 369.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.01343, allocations: 8 kB / 369.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.01354, allocations: 205.1 kB / 369.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01354, allocations: 0 / 369.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.01378, allocations: 63.78 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.0001273/0.0139, allocations: 103.3 kB / 369.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.01412, allocations: 192.7 kB / 369.8 MB, free: 9.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01412, allocations: 4 kB / 369.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.01419, allocations: 58.41 kB / 369.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01443, allocations: 35.27 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.0006608/0.0151, 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 6.19e-05/0.01516, allocations: 99.78 kB / 370.5 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.924e-05/0.01521, allocations: 17.48 kB / 370.6 MB, free: 8.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.01525, allocations: 16.5 kB / 370.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01525, allocations: 0 / 370.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of Templates: time 0.004076/0.01932, allocations: 1.953 MB / 372.5 MB, free: 6.836 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.90263001807034]