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.001467/0.001467, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001528/0.001528, allocations: 170 kB / 23.28 MB, free: 1.223 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 0.992/0.992, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.1339/0.1339, allocations: 21.81 MB / 282.1 MB, free: 7.031 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.074e-06/2.074e-06, allocations: 0 / 359.2 MB, free: 4.824 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.159e-05, allocations: 2.312 kB / 359.2 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002252/0.002274, allocations: 1.859 MB / 361.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000647/0.002921, allocations: 319 kB / 361.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.003115, allocations: 11.94 kB / 361.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.003289, allocations: 59.25 kB / 361.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.336e-05/0.003382, allocations: 35.5 kB / 361.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.003637, allocations: 155.8 kB / 361.6 MB, free: 2.387 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.003945, allocations: 404.4 kB / 362 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.004242, allocations: 258.8 kB / 362.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.004406, allocations: 235.5 kB / 362.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.004518, allocations: 127.5 kB / 362.6 MB, free: 1.371 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.004565, allocations: 44 kB / 362.7 MB, free: 1.328 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.249e-05/0.004597, allocations: 44 kB / 362.7 MB, free: 1.285 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.004656, allocations: 103.6 kB / 362.8 MB, free: 1.184 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.5e-05/0.004731, allocations: 127.6 kB / 362.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.004995, allocations: 302.5 kB / 363.2 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004997, allocations: 0 / 363.2 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004998, allocations: 0 / 363.2 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005002, allocations: 0 / 363.2 MB, free: 0.7617 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.0005802/0.005582, allocations: 0.7574 MB / 364 MB, free: 15.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.005615, allocations: 8.031 kB / 364 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.005692, allocations: 96.61 kB / 364.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.005918, allocations: 276.6 kB / 364.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.005942, allocations: 45.69 kB / 364.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.005986, allocations: 52.38 kB / 364.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.006298, allocations: 391.4 kB / 364.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.006308, allocations: 192 / 364.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.00633, allocations: 24.36 kB / 364.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.00634, allocations: 16.38 kB / 364.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.006471, allocations: 136.9 kB / 365 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.007602, allocations: 1.678 MB / 366.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.007786, allocations: 131.1 kB / 366.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.00783, allocations: 39.67 kB / 366.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.007843, allocations: 4 kB / 366.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.007868, allocations: 37.39 kB / 366.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.007869, allocations: 0 / 366.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002069/0.008076, allocations: 164.7 kB / 367.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.008101, allocations: 51.41 kB / 367.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.008229, allocations: 262.5 kB / 367.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008244, allocations: 37.7 kB / 367.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.00837, allocations: 318.8 kB / 367.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.008405, allocations: 71.38 kB / 367.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.008457, allocations: 51.34 kB / 367.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.00858, allocations: 0.5078 MB / 368.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.008612, allocations: 27.98 kB / 368.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.008676, allocations: 97.7 kB / 368.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.008794, allocations: 156.3 kB / 368.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.008795, allocations: 0 / 368.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001659/0.008961, allocations: 178.4 kB / 368.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.008975, allocations: 8 kB / 368.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.008981, allocations: 3.984 kB / 368.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.008993, allocations: 4 kB / 368.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.009093, allocations: 40.11 kB / 368.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.009097, allocations: 8 kB / 368.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.00914, allocations: 15.89 kB / 368.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.009149, allocations: 8 kB / 368.9 MB, free: 10.79 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 (Prey_1.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Predator.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 9.126e-05/0.00924, allocations: 176.4 kB / 369.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.00927, allocations: 31.8 kB / 369.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.009301, allocations: 29.8 kB / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009304, allocations: 4 kB / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.009306, allocations: 0 / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.009309, allocations: 0 / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.009675, allocations: 485.6 kB / 369.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.009677, allocations: 4 kB / 369.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.925e-05/0.009766, allocations: 31.98 kB / 369.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.009768, allocations: 0 / 369.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.009781, allocations: 4 kB / 369.6 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.009784, allocations: 4 kB / 369.6 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009785, allocations: 0 / 369.6 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.01, allocations: 326.7 kB / 370 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.01002, allocations: 23.8 kB / 370 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.01003, allocations: 0 / 370 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.01007, allocations: 4 kB / 370 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.01009, allocations: 16.02 kB / 370 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.0101, allocations: 11.98 kB / 370 MB, free: 9.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.01017, allocations: 177.5 kB / 370.2 MB, free: 9.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01017, allocations: 0 / 370.2 MB, free: 9.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.01038, allocations: 83.56 kB / 370.3 MB, free: 9.355 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 7.191e-05/0.01045, allocations: 95.25 kB / 370.4 MB, free: 9.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.01059, allocations: 116.4 kB / 370.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.0106, allocations: 0 / 370.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.01064, allocations: 55.97 kB / 370.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01085, allocations: 39.84 kB / 370.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.01145, allocations: 0.6088 MB / 371.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.191e-05/0.01151, allocations: 107.9 kB / 371.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.01157, allocations: 13.64 kB / 371.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.01164, allocations: 90.19 kB / 371.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01164, allocations: 4 kB / 371.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of Templates: time 0.003578/0.01522, allocations: 1.501 MB / 372.9 MB, free: 6.68 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: 2.9945331080816686]