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.001382/0.001382, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00153/0.00153, allocations: 209.2 kB / 22.99 MB, free: 4.957 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1954/0.1954, allocations: 29.23 MB / 342.4 MB, free: 5.566 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.002063/0.002063, allocations: 71.89 kB / 479.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 60.8 MB / 0.5277 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003408/0.3468, allocations: 2.191 MB / 0.5298 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.348, allocations: 0.6277 MB / 0.5304 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.3482, allocations: 8.281 kB / 0.5304 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.3483, allocations: 42.92 kB / 0.5305 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.3484, allocations: 34.55 kB / 0.5305 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.3489, allocations: 129.5 kB / 0.5306 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.3492, allocations: 258.5 kB / 0.5309 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.3494, allocations: 154.2 kB / 0.531 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3495, allocations: 110.9 kB / 0.5311 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3496, allocations: 118.5 kB / 0.5312 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.3497, allocations: 26.91 kB / 0.5313 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.3498, allocations: 57.2 kB / 0.5313 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.3499, allocations: 81.95 kB / 0.5314 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.961e-05/0.35, allocations: 116.9 kB / 0.5315 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.3504, allocations: 339.6 kB / 0.5318 GB, free: 5.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3504, allocations: 4 kB / 0.5318 GB, free: 5.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3504, allocations: 0 / 0.5318 GB, free: 5.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.3504, allocations: 0 / 0.5318 GB, free: 5.387 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.0008861/0.3513, allocations: 0.5918 MB / 0.5324 GB, free: 4.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3513, allocations: 9.375 kB / 0.5324 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.3514, allocations: 45.47 kB / 0.5325 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.3518, allocations: 238.5 kB / 0.5327 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.3518, allocations: 22.92 kB / 0.5327 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/0.3519, allocations: 32.41 kB / 0.5327 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.3524, allocations: 344.8 kB / 0.5331 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3524, allocations: 0 / 0.5331 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.3524, allocations: 12.61 kB / 0.5331 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.3525, allocations: 7.219 kB / 0.5331 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.3529, allocations: 242.3 kB / 0.5333 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.3541, allocations: 1.004 MB / 0.5343 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.3545, allocations: 214.9 kB / 0.5345 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.3547, allocations: 94.33 kB / 0.5346 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/0.3548, allocations: 12.88 kB / 0.5346 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.3551, allocations: 155.1 kB / 0.5348 GB, free: 3.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3551, allocations: 0 / 0.5348 GB, free: 3.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006593/0.3557, allocations: 328.4 kB / 0.5351 GB, free: 3.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.3558, allocations: 58.17 kB / 0.5351 GB, free: 3.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.356, allocations: 268.3 kB / 0.5354 GB, free: 3.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.356, allocations: 31.45 kB / 0.5354 GB, free: 3.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3561, allocations: 215 kB / 0.5356 GB, free: 2.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.3562, allocations: 64.12 kB / 0.5357 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.3562, allocations: 46.72 kB / 0.5357 GB, free: 2.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.3563, allocations: 342.7 kB / 0.536 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.3565, allocations: 119.7 kB / 0.5362 GB, free: 2.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.3567, allocations: 166.2 kB / 0.5363 GB, free: 2.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.3571, allocations: 252.1 kB / 0.5366 GB, free: 2.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3571, allocations: 0 / 0.5366 GB, free: 2.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005294/0.3576, allocations: 365 kB / 0.5369 GB, free: 2.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.3576, allocations: 33.42 kB / 0.5369 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3576, allocations: 1.375 kB / 0.5369 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3577, allocations: 1.984 kB / 0.5369 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.3579, allocations: 40.62 kB / 0.537 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3579, allocations: 6.688 kB / 0.537 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.358, allocations: 27.06 kB / 0.537 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.358, allocations: 6.016 kB / 0.537 GB, free: 1.992 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.0001193/0.3581, allocations: 160.8 kB / 0.5372 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.3582, allocations: 27.33 kB / 0.5372 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.3586, allocations: 261.7 kB / 0.5375 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3587, allocations: 2.75 kB / 0.5375 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3587, allocations: 0 / 0.5375 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3587, allocations: 2.688 kB / 0.5375 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.3593, allocations: 0.569 MB / 0.538 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3593, allocations: 0 / 0.538 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.3595, allocations: 35.81 kB / 0.538 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3595, allocations: 1.312 kB / 0.538 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3595, allocations: 5.594 kB / 0.5381 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3595, allocations: 1.375 kB / 0.5381 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3595, allocations: 0 / 0.5381 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.3601, allocations: 465.5 kB / 0.5385 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.3602, allocations: 26.52 kB / 0.5385 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3602, allocations: 10.12 kB / 0.5385 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.3603, allocations: 10.73 kB / 0.5385 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.3604, allocations: 18.72 kB / 0.5386 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3604, allocations: 2.75 kB / 0.5386 GB, free: 1.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3606, allocations: 204.2 kB / 0.5388 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3606, allocations: 0 / 0.5388 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.3609, allocations: 62.53 kB / 0.5388 GB, free: 0.8672 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.0001199/0.361, allocations: 106.5 kB / 0.5389 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.3615, allocations: 296.7 kB / 0.5392 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3615, allocations: 0 / 0.5392 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.3617, allocations: 107.2 kB / 0.5393 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3621, allocations: 30.27 kB / 0.5393 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.3629, allocations: 0.563 MB / 0.5399 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.3631, allocations: 181.5 kB / 0.5401 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.3631, allocations: 22.53 kB / 0.5401 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.3632, allocations: 16.22 kB / 0.5401 GB, free: 0 / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3632, allocations: 1.125 kB / 0.5401 GB, free: 0 / 382.1 MB Notification: Performance of Templates: time 0.006183/0.3694, allocations: 2.239 MB / 0.5423 GB, free: 14.84 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 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.733545891009271] Failed to read output from testmodel.py, exit status != 0: 0.377374138974119 0.39161205600000004 0.038258123000000005 Calling exit ...