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.001375/0.001375, allocations: 92.7 kB / 19.44 MB, free: 324 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.00162/0.00162, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.444/1.444, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.1972/0.1972, allocations: 21.8 MB / 281.4 MB, free: 7.234 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 7.524e-06/7.524e-06, allocations: 4 kB / 358 MB, free: 5.477 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.603e-05/4.355e-05, allocations: 5.266 kB / 358 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.005685/0.005728, allocations: 1.837 MB / 359.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.006919, allocations: 307 kB / 360.2 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.007175, allocations: 7.938 kB / 360.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.007538, allocations: 71.23 kB / 360.2 MB, free: 3.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.007762, allocations: 35.5 kB / 360.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.008336, allocations: 159.8 kB / 360.4 MB, free: 3.059 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008027/0.009139, allocations: 400.5 kB / 360.8 MB, free: 2.668 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000714/0.009853, allocations: 254.8 kB / 361.1 MB, free: 2.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004244/0.01028, allocations: 231.5 kB / 361.3 MB, free: 2.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.01055, allocations: 127.5 kB / 361.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.01066, allocations: 44 kB / 361.5 MB, free: 2.012 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.2e-05/0.01075, allocations: 44 kB / 361.5 MB, free: 1.969 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.01091, allocations: 107.6 kB / 361.6 MB, free: 1.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.01114, allocations: 131.6 kB / 361.7 MB, free: 1.734 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008473/0.01199, allocations: 442.3 kB / 362.2 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01199, allocations: 0 / 362.2 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01199, allocations: 0 / 362.2 MB, free: 1.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.012, allocations: 0 / 362.2 MB, free: 1.301 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.001576/0.01358, allocations: 0.6458 MB / 362.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.01362, allocations: 8.031 kB / 362.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.01387, allocations: 100.6 kB / 362.9 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/0.01463, allocations: 277.8 kB / 363.2 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.05e-05/0.01472, allocations: 41.69 kB / 363.2 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.01485, allocations: 48.38 kB / 363.3 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.01622, allocations: 491.6 kB / 363.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.01625, allocations: 192 / 363.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.01632, allocations: 24.38 kB / 363.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.01634, allocations: 12.38 kB / 363.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000915/0.01726, allocations: 285 kB / 364.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/0.02071, allocations: 1.401 MB / 365.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.02139, allocations: 182.7 kB / 365.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.02164, allocations: 76.84 kB / 365.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.02167, allocations: 4 kB / 365.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.02172, allocations: 38.5 kB / 365.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.02172, allocations: 0 / 365.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009064/0.02263, allocations: 260.7 kB / 366 MB, free: 13.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.02271, allocations: 55.41 kB / 366.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.02313, allocations: 208.1 kB / 366.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.02318, allocations: 29.7 kB / 366.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.02353, allocations: 268.1 kB / 366.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.02365, allocations: 71.38 kB / 366.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.02379, allocations: 45.7 kB / 366.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003014/0.02409, allocations: 334.8 kB / 367 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.02432, allocations: 67.97 kB / 367.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.02462, allocations: 113.9 kB / 367.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.0252, allocations: 205.7 kB / 367.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.02521, allocations: 0 / 367.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007727/0.02598, allocations: 250.1 kB / 367.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.026, allocations: 8.188 kB / 367.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.02601, allocations: 4 kB / 367.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.02604, allocations: 4 kB / 367.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.0264, allocations: 39.92 kB / 367.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.02642, allocations: 4 kB / 367.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.02659, allocations: 23.78 kB / 367.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.02663, allocations: 12 kB / 367.7 MB, free: 11.46 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.0002952/0.02693, allocations: 149.7 kB / 367.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.02704, allocations: 31.86 kB / 367.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.836e-05/0.02714, allocations: 29.8 kB / 367.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.02714, allocations: 0 / 367.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.02715, allocations: 8 kB / 368 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.02717, allocations: 3.984 kB / 368 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.0285, allocations: 0.5486 MB / 368.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02851, allocations: 0 / 368.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.02889, allocations: 27.98 kB / 368.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.02889, allocations: 0 / 368.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.02892, allocations: 8 kB / 368.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.02893, allocations: 0 / 368.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.02893, allocations: 0 / 368.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009677/0.0299, allocations: 380.3 kB / 368.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.02995, allocations: 19.86 kB / 368.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.02999, allocations: 4 kB / 368.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.03018, allocations: 4 kB / 368.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.03024, allocations: 12.02 kB / 368.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.03027, allocations: 8 kB / 369 MB, free: 10.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002636/0.03053, allocations: 153.6 kB / 369.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.03053, allocations: 0 / 369.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006513/0.03118, allocations: 79.56 kB / 369.2 MB, free: 9.961 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.0001798/0.03136, allocations: 99.19 kB / 369.3 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000564/0.03193, allocations: 170.4 kB / 369.4 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.03193, allocations: 0 / 369.4 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.03217, allocations: 87.91 kB / 369.5 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.03279, allocations: 24.22 kB / 369.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.03466, allocations: 0.6579 MB / 370.2 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.03503, allocations: 206.7 kB / 370.4 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.03517, allocations: 17.64 kB / 370.4 MB, free: 8.648 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.526e-05/0.03527, allocations: 16.5 kB / 370.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03527, allocations: 0 / 370.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of Templates: time 0.005509/0.04078, allocations: 1.399 MB / 371.8 MB, free: 7.258 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.41903942800127]