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.0009311/0.0009311, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.0009658/0.0009658, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.014/1.014, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.1384/0.1384, allocations: 21.8 MB / 282.8 MB, free: 7.059 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.853e-06/1.853e-06, allocations: 0 / 360 MB, free: 4.871 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.498e-05, allocations: 2.312 kB / 360 MB, free: 4.867 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002684/0.002709, allocations: 2.251 MB / 362.2 MB, free: 2.602 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008903/0.0036, allocations: 0.6504 MB / 362.9 MB, free: 1.945 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.003726, allocations: 4 kB / 362.9 MB, free: 1.941 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.003896, allocations: 43.52 kB / 362.9 MB, free: 1.898 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.003978, allocations: 39.61 kB / 362.9 MB, free: 1.859 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.004304, allocations: 127.7 kB / 363.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.004549, allocations: 268.1 kB / 363.3 MB, free: 1.469 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.004749, allocations: 138.5 kB / 363.5 MB, free: 1.336 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.004875, allocations: 147.7 kB / 363.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.004958, allocations: 87.61 kB / 363.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.00499, allocations: 28 kB / 363.7 MB, free: 1.078 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.005088, allocations: 51.97 kB / 363.8 MB, free: 1.027 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.00517, allocations: 91.66 kB / 363.9 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.005229, allocations: 83.73 kB / 363.9 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.005473, allocations: 246.9 kB / 364.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005475, allocations: 0 / 364.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005477, allocations: 0 / 364.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005481, allocations: 0 / 364.2 MB, free: 0.6133 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.0006505/0.006132, allocations: 0.6923 MB / 364.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.006165, allocations: 12.03 kB / 364.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.006234, allocations: 64.66 kB / 365 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.006448, allocations: 243.3 kB / 365.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.006467, allocations: 32.97 kB / 365.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.006501, allocations: 32.38 kB / 365.3 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.006769, allocations: 267 kB / 365.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.006779, allocations: 4.125 kB / 365.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.006796, allocations: 12.38 kB / 365.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.006804, allocations: 11.94 kB / 365.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.006898, allocations: 80.45 kB / 365.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008042/0.007702, allocations: 1.152 MB / 366.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.007829, allocations: 98.95 kB / 366.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.007868, allocations: 31.67 kB / 366.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.007903, allocations: 15.98 kB / 366.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.00802, allocations: 97.2 kB / 367 MB, free: 13.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.008021, allocations: 0 / 367 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002253/0.008246, allocations: 155.9 kB / 367.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.008278, allocations: 59.34 kB / 367.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.008438, allocations: 304.1 kB / 367.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.008462, allocations: 33.7 kB / 367.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.008585, allocations: 263.1 kB / 367.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.008618, allocations: 59.47 kB / 367.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.008681, allocations: 55.3 kB / 367.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.008819, allocations: 0.5195 MB / 368.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.008867, allocations: 49.92 kB / 368.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.838e-05/0.008935, allocations: 101.5 kB / 368.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.00905, allocations: 138.8 kB / 368.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.009053, allocations: 0 / 368.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000207/0.00926, allocations: 228.7 kB / 369 MB, free: 11.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.009287, allocations: 29.7 kB / 369 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.009292, allocations: 0 / 369 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/0.0093, allocations: 4 kB / 369 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.009415, allocations: 48.05 kB / 369 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.00942, allocations: 7.984 kB / 369 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.009487, allocations: 23.84 kB / 369.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.009498, allocations: 4 kB / 369.1 MB, free: 11.41 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 (Hare.Integrator1.local_reset,Lynx.Integrator1.local_reset,Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1) * 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.193e-05/0.009589, allocations: 168.5 kB / 369.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.009618, allocations: 39.72 kB / 369.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.009784, allocations: 143.6 kB / 369.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009786, allocations: 4 kB / 369.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.009788, allocations: 0 / 369.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.009791, allocations: 3.938 kB / 369.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.01009, allocations: 433.9 kB / 369.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0101, allocations: 3.938 kB / 369.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.01018, allocations: 31.92 kB / 369.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01018, allocations: 0 / 369.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.0102, allocations: 8 kB / 369.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0102, allocations: 4 kB / 369.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.0102, allocations: 0 / 369.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.01045, allocations: 313.5 kB / 370.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.01047, allocations: 27.73 kB / 370.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01049, allocations: 7.984 kB / 370.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.128e-05/0.01055, allocations: 16.03 kB / 370.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.01059, allocations: 11.97 kB / 370.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.0106, allocations: 11.98 kB / 370.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.881e-05/0.01068, allocations: 193.1 kB / 370.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01068, allocations: 0 / 370.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01087, allocations: 59.78 kB / 370.5 MB, free: 9.895 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.0001168/0.01099, allocations: 111.2 kB / 370.6 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.01117, allocations: 177 kB / 370.8 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01117, allocations: 4.062 kB / 370.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/0.01123, allocations: 47.61 kB / 370.8 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.01147, allocations: 40.88 kB / 370.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.01215, allocations: 0.5101 MB / 371.4 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.01221, allocations: 95.8 kB / 371.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.01225, allocations: 17.48 kB / 371.5 MB, free: 8.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.01234, allocations: 98.19 kB / 371.6 MB, free: 8.711 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01234, allocations: 0 / 371.6 MB, free: 8.711 MB / 346.7 MB Notification: Performance of Templates: time 0.003999/0.01634, allocations: 2.157 MB / 373.8 MB, free: 6.582 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: 3.1070064739324152]