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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3137/0.3137, allocations: 28.84 MB / 319.8 MB, free: 6.301 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005347/0.000535, allocations: 8 kB / 387.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3292, allocations: 57.48 MB / 445.3 MB, free: 32.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.001689/0.3309, allocations: 1.617 MB / 446.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.3315, allocations: 295.2 kB / 447.2 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3317, allocations: 5.875 kB / 447.2 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.549e-05/0.3317, allocations: 39.48 kB / 447.2 MB, free: 31.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3319, allocations: 18.11 kB / 447.2 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.3321, allocations: 107.4 kB / 447.3 MB, free: 31.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.3324, allocations: 237.2 kB / 447.6 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.3327, allocations: 265.7 kB / 447.8 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.3328, allocations: 86.55 kB / 447.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3329, allocations: 103.8 kB / 448 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.3329, allocations: 12.78 kB / 448 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.3329, allocations: 7.875 kB / 448 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.333, allocations: 52.36 kB / 448.1 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.333, allocations: 88.11 kB / 448.2 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.3332, allocations: 267.8 kB / 448.4 MB, free: 30.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3332, allocations: 2.906 kB / 448.4 MB, free: 30.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3332, allocations: 3.938 kB / 448.4 MB, free: 30.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3333, allocations: 0 / 448.4 MB, free: 30.91 MB / 350.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.0006371/0.3339, allocations: 0.6235 MB / 449.1 MB, free: 30.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3339, allocations: 8.625 kB / 449.1 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.334, allocations: 60.23 kB / 449.1 MB, free: 30.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.3343, allocations: 313 kB / 449.4 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3343, allocations: 41.22 kB / 449.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.3344, allocations: 53.09 kB / 449.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.335, allocations: 483 kB / 450 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.335, allocations: 0 / 450 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.3351, allocations: 21.84 kB / 450 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3351, allocations: 11.97 kB / 450 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.3354, allocations: 282.8 kB / 450.3 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.3369, allocations: 1.637 MB / 451.9 MB, free: 28.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.3373, allocations: 191.1 kB / 452.1 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3373, allocations: 10.47 kB / 452.1 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.3373, allocations: 34.84 kB / 452.2 MB, free: 28.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.724e-06/0.3373, allocations: 0 / 452.2 MB, free: 28.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003903/0.3377, allocations: 252.4 kB / 452.4 MB, free: 28.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3378, allocations: 57 kB / 452.5 MB, free: 28.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3379, allocations: 252.2 kB / 452.7 MB, free: 28.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.338, allocations: 29.7 kB / 452.8 MB, free: 27.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3381, allocations: 254.5 kB / 453 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.3381, allocations: 79 kB / 453.1 MB, free: 27.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-06/0.3381, allocations: 4 kB / 453.1 MB, free: 27.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.3382, allocations: 339.4 kB / 453.4 MB, free: 27.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.3383, allocations: 64.44 kB / 453.5 MB, free: 27.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3384, allocations: 115.6 kB / 453.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3385, allocations: 79.38 kB / 453.7 MB, free: 27.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3386, allocations: 0 / 453.7 MB, free: 27.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000305/0.3389, allocations: 249.9 kB / 453.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3389, allocations: 5.969 kB / 453.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3389, allocations: 7.031 kB / 453.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.3389, allocations: 6.828 kB / 453.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3391, allocations: 42.14 kB / 454 MB, free: 27.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3391, allocations: 3.031 kB / 454 MB, free: 27.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-05/0.3392, allocations: 29.03 kB / 454 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3392, allocations: 13.81 kB / 454 MB, free: 27.07 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.3394, allocations: 146 kB / 454.2 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3394, allocations: 23.16 kB / 454.2 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.3395, allocations: 31.22 kB / 454.2 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3395, allocations: 10.83 kB / 454.2 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3395, allocations: 0 / 454.2 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3395, allocations: 3.938 kB / 454.2 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.3401, allocations: 0.6706 MB / 454.9 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3401, allocations: 0 / 454.9 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.3403, allocations: 35.64 kB / 454.9 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3403, allocations: 1.969 kB / 454.9 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3403, allocations: 4 kB / 454.9 MB, free: 26.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3403, allocations: 6.109 kB / 454.9 MB, free: 26.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3403, allocations: 4 kB / 454.9 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.3407, allocations: 363.9 kB / 455.3 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3407, allocations: 105.9 kB / 455.4 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.3408, allocations: 10.06 kB / 455.4 MB, free: 26.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.3409, allocations: 0 / 455.4 MB, free: 26.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.3409, allocations: 18.8 kB / 455.4 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3409, allocations: 2.625 kB / 455.4 MB, free: 26.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.341, allocations: 191.5 kB / 455.6 MB, free: 25.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.341, allocations: 4 kB / 455.6 MB, free: 25.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.3413, allocations: 74.69 kB / 455.7 MB, free: 25.91 MB / 350.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 (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 8.273e-05/0.3414, allocations: 93.81 kB / 455.8 MB, free: 25.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.3417, allocations: 168.2 kB / 456 MB, free: 25.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3417, allocations: 3.938 kB / 456 MB, free: 25.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.3418, allocations: 79.75 kB / 456 MB, free: 25.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3421, allocations: 37.23 kB / 456.1 MB, free: 25.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009227/0.343, allocations: 0.8016 MB / 456.9 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.3432, allocations: 0.8218 MB / 457.7 MB, free: 24.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.805e-05/0.3433, allocations: 19.31 kB / 457.7 MB, free: 24.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.3434, allocations: 17.94 kB / 457.7 MB, free: 24.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3434, allocations: 2.625 kB / 457.7 MB, free: 24.44 MB / 350.1 MB Notification: Performance of Templates: time 0.004377/0.3477, allocations: 1.575 MB / 459.3 MB, free: 24.27 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: