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.001368/0.001368, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001552/0.001552, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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.2033/0.2033, allocations: 29.23 MB / 342.4 MB, free: 5.574 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: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 83.91 kB / 479.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3387, allocations: 60.79 MB / 0.5277 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003779/0.3425, allocations: 2.184 MB / 0.5298 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3439, allocations: 0.6276 MB / 0.5304 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.3441, allocations: 7.812 kB / 0.5304 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.3443, allocations: 46.59 kB / 0.5305 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.3444, allocations: 32.36 kB / 0.5305 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.3449, allocations: 125.1 kB / 0.5306 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.3452, allocations: 266.4 kB / 0.5309 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.3454, allocations: 140.3 kB / 0.531 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3456, allocations: 107.1 kB / 0.5311 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3457, allocations: 107.6 kB / 0.5312 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.3457, allocations: 26.88 kB / 0.5312 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.3459, allocations: 56.88 kB / 0.5313 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.346, allocations: 81.73 kB / 0.5314 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.3461, allocations: 118 kB / 0.5315 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.3465, allocations: 335 kB / 0.5318 GB, free: 5.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3465, allocations: 0 / 0.5318 GB, free: 5.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3465, allocations: 9.031 kB / 0.5318 GB, free: 5.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3465, allocations: 0 / 0.5318 GB, free: 5.438 MB / 382.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.0009592/0.3475, allocations: 0.5877 MB / 0.5324 GB, free: 4.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3475, allocations: 10.09 kB / 0.5324 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.3476, allocations: 44.12 kB / 0.5324 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.348, allocations: 238.7 kB / 0.5327 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.348, allocations: 22.34 kB / 0.5327 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.3481, allocations: 38.2 kB / 0.5327 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.3487, allocations: 347.5 kB / 0.533 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3487, allocations: 0 / 0.533 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.3487, allocations: 11.97 kB / 0.5331 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.3487, allocations: 8.094 kB / 0.5331 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.3492, allocations: 233.5 kB / 0.5333 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.3505, allocations: 1.012 MB / 0.5343 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.3509, allocations: 212.5 kB / 0.5345 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3511, allocations: 96.02 kB / 0.5346 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.3512, allocations: 18.42 kB / 0.5346 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.3515, allocations: 150.5 kB / 0.5347 GB, free: 3.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.3515, allocations: 3.938 kB / 0.5347 GB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007075/0.3522, allocations: 327.7 kB / 0.5351 GB, free: 3.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3523, allocations: 55.03 kB / 0.5351 GB, free: 3.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.3525, allocations: 268.8 kB / 0.5354 GB, free: 3.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3526, allocations: 30.7 kB / 0.5354 GB, free: 3.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3527, allocations: 214.6 kB / 0.5356 GB, free: 2.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.3527, allocations: 60.09 kB / 0.5357 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.3528, allocations: 48.52 kB / 0.5357 GB, free: 2.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.3529, allocations: 337.3 kB / 0.536 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.3531, allocations: 119 kB / 0.5361 GB, free: 2.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.3533, allocations: 161.7 kB / 0.5363 GB, free: 2.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.3537, allocations: 253.6 kB / 0.5365 GB, free: 2.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3537, allocations: 0 / 0.5365 GB, free: 2.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005368/0.3543, allocations: 359.7 kB / 0.5369 GB, free: 2.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.3543, allocations: 33.89 kB / 0.5369 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3543, allocations: 5.5 kB / 0.5369 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3543, allocations: 2.75 kB / 0.5369 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.3545, allocations: 44.7 kB / 0.537 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3545, allocations: 3.359 kB / 0.537 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.3547, allocations: 25.5 kB / 0.537 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3547, allocations: 10.81 kB / 0.537 GB, free: 2.047 MB / 382.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.0001318/0.3548, allocations: 159.7 kB / 0.5371 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.3549, allocations: 27.61 kB / 0.5372 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.3554, allocations: 263.1 kB / 0.5374 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.3554, allocations: 1.375 kB / 0.5374 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3554, allocations: 1.375 kB / 0.5374 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3554, allocations: 1.406 kB / 0.5374 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007388/0.3561, allocations: 0.5656 MB / 0.538 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3561, allocations: 3.984 kB / 0.538 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3563, allocations: 31.8 kB / 0.538 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3563, allocations: 4.906 kB / 0.538 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3563, allocations: 1.281 kB / 0.538 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.3563, allocations: 1.094 kB / 0.538 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3563, allocations: 4 kB / 0.538 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.357, allocations: 468.5 kB / 0.5385 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.357, allocations: 31.22 kB / 0.5385 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.3571, allocations: 6.25 kB / 0.5385 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3572, allocations: 9.828 kB / 0.5385 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.3573, allocations: 22.94 kB / 0.5385 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.3573, allocations: 7.922 kB / 0.5385 GB, free: 1.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.3574, allocations: 194.9 kB / 0.5387 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3574, allocations: 0 / 0.5387 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003381/0.3578, allocations: 61.81 kB / 0.5388 GB, free: 0.918 MB / 382.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.000143/0.3579, allocations: 113 kB / 0.5389 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.3584, allocations: 290.8 kB / 0.5392 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3584, allocations: 4 kB / 0.5392 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.3586, allocations: 103.1 kB / 0.5393 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.359, allocations: 34.12 kB / 0.5393 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.3599, allocations: 0.5914 MB / 0.5399 GB, free: 176 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.3601, allocations: 194 kB / 0.5401 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.3601, allocations: 17.88 kB / 0.5401 GB, free: 28 kB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3601, allocations: 0 / 0.5401 GB, free: 28 kB / 382.1 MB Notification: Performance of Templates: time 0.006181/0.3663, allocations: 3.127 MB / 0.5431 GB, free: 14.38 MB / 398.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: 7.605586824007332] Failed to read output from testmodel.py, exit status != 0: 0.3756609368138015 0.391442709 0.041732508 Calling exit ...