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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008574/0.0008575, allocations: 183 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.4 MB / 222.3 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007018/0.0007017, allocations: 86.36 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.1487/0.1487, allocations: 28.84 MB / 347.7 MB, free: 10.99 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 413 MB, free: 47.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07309/0.07343, allocations: 54.64 MB / 467.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2378/0.3112, allocations: 78.53 MB / 0.5334 GB, free: 7.977 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/0.3114, allocations: 55.98 kB / 0.5335 GB, free: 7.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01254/0.324, allocations: 5.716 MB / 0.539 GB, free: 2.203 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.324, allocations: 0 / 0.539 GB, free: 2.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.413e-05/0.3241, allocations: 8 kB / 0.539 GB, free: 2.195 MB / 362.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.0009282/0.325, allocations: 0.6407 MB / 0.5397 GB, free: 1.504 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3251, allocations: 12.03 kB / 0.5397 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.3252, allocations: 52.28 kB / 0.5397 GB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.3256, allocations: 316.3 kB / 0.54 GB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.3257, allocations: 54.92 kB / 0.5401 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-05/0.3258, allocations: 52.38 kB / 0.5401 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.3265, allocations: 487.6 kB / 0.5406 GB, free: 496 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3265, allocations: 192 / 0.5406 GB, free: 496 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.3265, allocations: 23.94 kB / 0.5406 GB, free: 472 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.3266, allocations: 16 kB / 0.5406 GB, free: 456 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.327, allocations: 273 kB / 0.5409 GB, free: 184 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.3289, allocations: 1.654 MB / 0.5425 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.3292, allocations: 185.3 kB / 0.5427 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3294, allocations: 88.83 kB / 0.5428 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.3294, allocations: 8 kB / 0.5428 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.3294, allocations: 38.44 kB / 0.5428 GB, free: 14.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.3294, allocations: 0 / 0.5428 GB, free: 14.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004071/0.3298, allocations: 253.6 kB / 0.5431 GB, free: 13.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.3299, allocations: 51.41 kB / 0.5431 GB, free: 13.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3301, allocations: 254.7 kB / 0.5434 GB, free: 13.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3302, allocations: 33.69 kB / 0.5434 GB, free: 13.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.3303, allocations: 259.6 kB / 0.5436 GB, free: 13.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.3304, allocations: 67 kB / 0.5437 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.3304, allocations: 8 kB / 0.5437 GB, free: 13.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3305, allocations: 338.8 kB / 0.544 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3306, allocations: 68.47 kB / 0.5441 GB, free: 12.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3307, allocations: 126.9 kB / 0.5442 GB, free: 12.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.331, allocations: 189.8 kB / 0.5444 GB, free: 12.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.331, allocations: 0 / 0.5444 GB, free: 12.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003165/0.3313, allocations: 241.1 kB / 0.5446 GB, free: 12.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3313, allocations: 7.938 kB / 0.5446 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3313, allocations: 4.188 kB / 0.5446 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3314, allocations: 8 kB / 0.5446 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.3315, allocations: 35.98 kB / 0.5447 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3315, allocations: 7.938 kB / 0.5447 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.3316, allocations: 27.62 kB / 0.5447 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.3317, allocations: 12 kB / 0.5447 GB, free: 12.07 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.3318, allocations: 146.7 kB / 0.5449 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.3319, allocations: 23.72 kB / 0.5449 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.3319, allocations: 34.17 kB / 0.5449 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3319, allocations: 4 kB / 0.5449 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3319, allocations: 0 / 0.5449 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3319, allocations: 11.92 kB / 0.5449 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.3326, allocations: 0.6622 MB / 0.5456 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3326, allocations: 3.938 kB / 0.5456 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3328, allocations: 35.92 kB / 0.5456 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3328, allocations: 0 / 0.5456 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3328, allocations: 4 kB / 0.5456 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3328, allocations: 7.938 kB / 0.5456 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3328, allocations: 0 / 0.5456 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.3332, allocations: 367.1 kB / 0.546 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.3333, allocations: 104.7 kB / 0.5461 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3333, allocations: 8.031 kB / 0.5461 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.3334, allocations: 11.94 kB / 0.5461 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3335, allocations: 7.984 kB / 0.5461 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.3335, allocations: 4 kB / 0.5461 GB, free: 10.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3337, allocations: 182 kB / 0.5463 GB, free: 10.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3337, allocations: 4 kB / 0.5463 GB, free: 10.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000293/0.334, allocations: 87.38 kB / 0.5464 GB, free: 10.28 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.649e-05/0.3341, allocations: 95.23 kB / 0.5465 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.3343, allocations: 172.8 kB / 0.5466 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3343, allocations: 0 / 0.5466 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.3344, allocations: 79.92 kB / 0.5467 GB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3348, allocations: 33.25 kB / 0.5467 GB, free: 9.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3358, allocations: 0.8021 MB / 0.5475 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3362, allocations: 0.8068 MB / 0.5483 GB, free: 8.242 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.651e-05/0.3363, allocations: 25.92 kB / 0.5483 GB, free: 8.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.3363, allocations: 19.44 kB / 0.5484 GB, free: 8.195 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3363, allocations: 0 / 0.5484 GB, free: 8.195 MB / 378.7 MB Notification: Performance of Templates: time 0.004047/0.3404, allocations: 1.588 MB / 0.5499 GB, free: 6.609 MB / 378.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile (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)