Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.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.001577/0.001577, 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.001759/0.001759, allocations: 213.8 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.195/0.195, allocations: 29.23 MB / 342.4 MB, free: 5.582 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.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") [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.00241/0.00241, allocations: 72.17 kB / 479.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3567, allocations: 60.8 MB / 0.5277 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003274/0.36, allocations: 1.822 MB / 0.5295 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006647/0.3606, allocations: 303 kB / 0.5297 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.3608, allocations: 10.19 kB / 0.5298 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.361, allocations: 70.33 kB / 0.5298 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3611, allocations: 28.81 kB / 0.5299 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.3614, allocations: 163.4 kB / 0.53 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.3618, allocations: 401.3 kB / 0.5304 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.3622, allocations: 254.7 kB / 0.5306 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3623, allocations: 157.6 kB / 0.5308 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.3625, allocations: 159.2 kB / 0.5309 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.3626, allocations: 44.47 kB / 0.531 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.3626, allocations: 43.91 kB / 0.531 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.3627, allocations: 106 kB / 0.5311 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3628, allocations: 170.7 kB / 0.5313 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.3632, allocations: 443 kB / 0.5317 GB, free: 5.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3632, allocations: 1.281 kB / 0.5317 GB, free: 5.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3632, allocations: 0 / 0.5317 GB, free: 5.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3632, allocations: 0 / 0.5317 GB, free: 5.578 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.000849/0.3641, allocations: 0.6512 MB / 0.5323 GB, free: 5.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3641, allocations: 8.375 kB / 0.5324 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.523e-05/0.3642, allocations: 57.12 kB / 0.5324 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.3646, allocations: 265.2 kB / 0.5327 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.3647, allocations: 39.66 kB / 0.5327 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.3647, allocations: 55.97 kB / 0.5328 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.3654, allocations: 487.1 kB / 0.5332 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.3654, allocations: 17.52 kB / 0.5332 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.3655, allocations: 24.91 kB / 0.5333 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.3655, allocations: 17.59 kB / 0.5333 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.3659, allocations: 276 kB / 0.5335 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.3675, allocations: 1.395 MB / 0.5349 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.3678, allocations: 180 kB / 0.5351 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.3679, allocations: 83.88 kB / 0.5352 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.368, allocations: 7.141 kB / 0.5352 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.368, allocations: 33.12 kB / 0.5352 GB, free: 3.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.368, allocations: 0 / 0.5352 GB, free: 3.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004035/0.3684, allocations: 246.6 kB / 0.5354 GB, free: 3.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.3684, allocations: 54.09 kB / 0.5355 GB, free: 2.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.3686, allocations: 212.5 kB / 0.5357 GB, free: 2.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3686, allocations: 31.02 kB / 0.5357 GB, free: 2.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3687, allocations: 268.8 kB / 0.536 GB, free: 2.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.3688, allocations: 79.23 kB / 0.536 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.3688, allocations: 45.56 kB / 0.5361 GB, free: 2.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.3689, allocations: 335.1 kB / 0.5364 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.369, allocations: 68.86 kB / 0.5365 GB, free: 2.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3691, allocations: 116.9 kB / 0.5366 GB, free: 2.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.3694, allocations: 188.9 kB / 0.5368 GB, free: 1.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3694, allocations: 0 / 0.5368 GB, free: 1.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000309/0.3697, allocations: 246.6 kB / 0.537 GB, free: 1.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3697, allocations: 6.922 kB / 0.537 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3697, allocations: 1.438 kB / 0.537 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3697, allocations: 3.125 kB / 0.537 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.3699, allocations: 46.88 kB / 0.5371 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3699, allocations: 4.172 kB / 0.5371 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.37, allocations: 19.47 kB / 0.5371 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.37, allocations: 7.125 kB / 0.5371 GB, free: 1.793 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (Predator.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Prey_1.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0001214/0.3701, allocations: 156 kB / 0.5372 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.3702, allocations: 26.19 kB / 0.5373 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.3702, allocations: 28.33 kB / 0.5373 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3702, allocations: 2.75 kB / 0.5373 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3702, allocations: 0.6094 kB / 0.5373 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3702, allocations: 2.453 kB / 0.5373 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.3708, allocations: 0.5449 MB / 0.5378 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3708, allocations: 7.922 kB / 0.5378 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.371, allocations: 29.88 kB / 0.5379 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.371, allocations: 0 / 0.5379 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.371, allocations: 9.875 kB / 0.5379 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.371, allocations: 1.375 kB / 0.5379 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.371, allocations: 4 kB / 0.5379 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.3714, allocations: 368 kB / 0.5382 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.3714, allocations: 23.28 kB / 0.5382 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.3714, allocations: 9.938 kB / 0.5383 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.3715, allocations: 1.984 kB / 0.5383 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.3716, allocations: 17.92 kB / 0.5383 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.3716, allocations: 2.75 kB / 0.5383 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.3717, allocations: 152 kB / 0.5384 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3717, allocations: 1.375 kB / 0.5384 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.372, allocations: 82.03 kB / 0.5385 GB, free: 0.8164 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Prey_1.Integrator1.y,Prey_2.Integrator1.y,Predator.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.085e-05/0.3721, allocations: 103.1 kB / 0.5386 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.3724, allocations: 159.8 kB / 0.5387 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3724, allocations: 0 / 0.5387 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3725, allocations: 81.39 kB / 0.5388 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.3728, allocations: 27.31 kB / 0.5389 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.3737, allocations: 0.6717 MB / 0.5395 GB, free: 144 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.3739, allocations: 212.6 kB / 0.5397 GB, free: 16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.3739, allocations: 19.41 kB / 0.5397 GB, free: 15.99 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3739, allocations: 0 / 0.5397 GB, free: 15.99 MB / 398.1 MB Notification: Performance of Templates: time 0.006414/0.3804, allocations: 3.381 MB / 0.543 GB, free: 14.2 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.298418409191072] Failed to read output from testmodel.py, exit status != 0: 0.3902851981110871 0.40462803499999994 0.038219211 Calling exit ...