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.002392/0.002392, allocations: 85.48 kB / 19.44 MB, free: 348 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.00293/0.00293, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.559 MB / 186.7 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.204/0.204, allocations: 21.79 MB / 281.4 MB, free: 7.227 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.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: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 358 MB, free: 5.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.145e-05, allocations: 2.312 kB / 358 MB, free: 5.449 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.00609/0.006121, allocations: 1.867 MB / 359.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.007345, allocations: 315 kB / 360.2 MB, free: 3.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.007629, allocations: 7.938 kB / 360.2 MB, free: 3.262 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.00797, allocations: 67.25 kB / 360.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.008197, allocations: 31.5 kB / 360.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.008765, allocations: 159.8 kB / 360.5 MB, free: 3.008 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.009586, allocations: 396.5 kB / 360.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007021/0.01029, allocations: 258.8 kB / 361.1 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.01072, allocations: 239.5 kB / 361.3 MB, free: 2.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.01099, allocations: 119.5 kB / 361.5 MB, free: 2.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.01111, allocations: 44 kB / 361.5 MB, free: 1.961 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.01121, allocations: 44 kB / 361.5 MB, free: 1.918 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.01136, allocations: 107.6 kB / 361.6 MB, free: 1.812 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.01158, allocations: 127.6 kB / 361.8 MB, free: 1.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.01249, allocations: 442.3 kB / 362.2 MB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.0125, allocations: 0 / 362.2 MB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.0125, allocations: 0 / 362.2 MB, free: 1.254 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.01251, allocations: 0 / 362.2 MB, free: 1.254 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001733/0.01424, allocations: 0.7766 MB / 363 MB, free: 448 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.01429, allocations: 8.031 kB / 363 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.01454, allocations: 96.61 kB / 363.1 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.01528, allocations: 280.7 kB / 363.4 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.01539, allocations: 45.7 kB / 363.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.01552, allocations: 52.38 kB / 363.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.01697, allocations: 0.5073 MB / 364 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.01699, allocations: 192 / 364 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.547e-05/0.01707, allocations: 20.38 kB / 364 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.0171, allocations: 16.38 kB / 364 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009631/0.01806, allocations: 272.9 kB / 364.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/0.02222, allocations: 1.83 MB / 366.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.02292, allocations: 183.1 kB / 366.3 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.02318, allocations: 79.66 kB / 366.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.02322, allocations: 4 kB / 366.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.02327, allocations: 37.39 kB / 366.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.02327, allocations: 4 kB / 366.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.000904/0.02418, allocations: 244.3 kB / 366.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.02425, allocations: 59.41 kB / 366.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.0248, allocations: 302.7 kB / 367 MB, free: 12.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.02484, allocations: 33.7 kB / 367 MB, free: 12.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.02522, allocations: 330.8 kB / 367.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.02535, allocations: 75.38 kB / 367.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.02552, allocations: 63.36 kB / 367.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000461/0.02598, allocations: 0.5157 MB / 368 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.02622, allocations: 63.97 kB / 368 MB, free: 11.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.02658, allocations: 137.8 kB / 368.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.02723, allocations: 225.4 kB / 368.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.02724, allocations: 0 / 368.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008061/0.02804, allocations: 250 kB / 368.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.02807, allocations: 6.969 kB / 368.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.02808, allocations: 0 / 368.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.0281, allocations: 8 kB / 368.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.02852, allocations: 47.92 kB / 368.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.02853, allocations: 192 / 368.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.02872, allocations: 27.88 kB / 368.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.02875, allocations: 4 kB / 368.7 MB, free: 10.38 MB / 346.7 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.0003458/0.02909, allocations: 208.4 kB / 368.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.0292, allocations: 23.86 kB / 369 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.0293, allocations: 25.81 kB / 369 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.02932, allocations: 7.984 kB / 369 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.02932, allocations: 0 / 369 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.02933, allocations: 0 / 369 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.03087, allocations: 0.6495 MB / 369.7 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.03088, allocations: 0 / 369.7 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.03126, allocations: 39.92 kB / 369.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.03127, allocations: 0 / 369.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.0313, allocations: 8 kB / 369.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.0313, allocations: 0 / 369.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.0313, allocations: 0 / 369.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.03232, allocations: 428.1 kB / 370.1 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.03237, allocations: 23.8 kB / 370.1 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.03242, allocations: 4 kB / 370.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.03253, allocations: 4 kB / 370.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.03258, allocations: 15.97 kB / 370.2 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.03259, allocations: 4 kB / 370.2 MB, free: 8.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.03278, allocations: 205.5 kB / 370.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03278, allocations: 0 / 370.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003543/0.03314, allocations: 87.56 kB / 370.5 MB, free: 8.602 MB / 346.7 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 0.0001263/0.03327, allocations: 95.23 kB / 370.5 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.03363, allocations: 179.4 kB / 370.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.03363, allocations: 0 / 370.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.03378, allocations: 91.59 kB / 370.8 MB, free: 8.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.03414, allocations: 25.09 kB / 370.8 MB, free: 8.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.03526, allocations: 0.6604 MB / 371.5 MB, free: 7.504 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.03549, allocations: 202.4 kB / 371.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.062e-05/0.03557, allocations: 21.62 kB / 371.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.03563, allocations: 24.5 kB / 371.7 MB, free: 7.246 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03563, allocations: 3.938 kB / 371.7 MB, free: 7.242 MB / 346.7 MB Notification: Performance of Templates: time 0.005339/0.04097, allocations: 1.409 MB / 373.1 MB, free: 5.859 MB / 346.7 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.706370173022151]