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 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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 4.0.0+maint.om/package.mo): time 0.004352/0.004352, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008526/0.0008528, allocations: 95.73 kB / 290.2 MB, free: 4.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1388/0.1388, allocations: 28.84 MB / 370.2 MB, free: 44 kB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 8.406 kB / 438.1 MB, free: 88.25 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07123/0.0715, allocations: 57.48 MB / 495.6 MB, free: 31.72 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2519/0.3234, allocations: 79.31 MB / 0.5614 GB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001528/0.3236, allocations: 56.86 kB / 0.5615 GB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01178/0.3354, allocations: 5.721 MB / 0.5671 GB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3354, allocations: 0 / 0.5671 GB, free: 10.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.3354, allocations: 9.625 kB / 0.5671 GB, free: 10.73 MB / 378.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.0005877/0.336, allocations: 0.6462 MB / 0.5677 GB, free: 10.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3361, allocations: 9.625 kB / 0.5677 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.3362, allocations: 53.47 kB / 0.5678 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3364, allocations: 319.9 kB / 0.5681 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3365, allocations: 38.19 kB / 0.5681 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.3365, allocations: 54.44 kB / 0.5682 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.3371, allocations: 487 kB / 0.5686 GB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3371, allocations: 0 / 0.5686 GB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.3372, allocations: 24.34 kB / 0.5687 GB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3372, allocations: 17.86 kB / 0.5687 GB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.3376, allocations: 273.1 kB / 0.5689 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.339, allocations: 1.647 MB / 0.5705 GB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.3393, allocations: 192.5 kB / 0.5707 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3393, allocations: 2.5 kB / 0.5707 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.3393, allocations: 36.55 kB / 0.5708 GB, free: 8.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.223e-06/0.3393, allocations: 0 / 0.5708 GB, free: 8.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003603/0.3397, allocations: 247.3 kB / 0.571 GB, free: 8.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.3397, allocations: 59.05 kB / 0.5711 GB, free: 8.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3399, allocations: 230.9 kB / 0.5713 GB, free: 8.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3399, allocations: 30.98 kB / 0.5713 GB, free: 8.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.34, allocations: 262.9 kB / 0.5716 GB, free: 8.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.34, allocations: 69.72 kB / 0.5716 GB, free: 8.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.34, allocations: 5.125 kB / 0.5716 GB, free: 8.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.3401, allocations: 337.1 kB / 0.5719 GB, free: 8.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.3402, allocations: 61.53 kB / 0.572 GB, free: 8.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3403, allocations: 117.9 kB / 0.5721 GB, free: 8.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3404, allocations: 75.14 kB / 0.5722 GB, free: 8.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3404, allocations: 0.625 kB / 0.5722 GB, free: 8.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003494/0.3408, allocations: 248.4 kB / 0.5724 GB, free: 7.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3408, allocations: 9.469 kB / 0.5724 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3408, allocations: 6.109 kB / 0.5724 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3408, allocations: 2.125 kB / 0.5724 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.341, allocations: 45.09 kB / 0.5725 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.341, allocations: 3.719 kB / 0.5725 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.3411, allocations: 22.94 kB / 0.5725 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3411, allocations: 7.281 kB / 0.5725 GB, free: 7.922 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.0001074/0.3412, allocations: 148.5 kB / 0.5727 GB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.3413, allocations: 31.03 kB / 0.5727 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.3414, allocations: 38.42 kB / 0.5727 GB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3414, allocations: 6.016 kB / 0.5727 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3414, allocations: 1.344 kB / 0.5727 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3414, allocations: 2.156 kB / 0.5727 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.342, allocations: 0.6681 MB / 0.5734 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.342, allocations: 3.938 kB / 0.5734 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3421, allocations: 31.16 kB / 0.5734 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3422, allocations: 3.984 kB / 0.5734 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3422, allocations: 6.062 kB / 0.5734 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3422, allocations: 9.203 kB / 0.5734 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3422, allocations: 0 / 0.5734 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.3426, allocations: 368.4 kB / 0.5738 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.3426, allocations: 97.8 kB / 0.5739 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.3427, allocations: 3.531 kB / 0.5739 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.3428, allocations: 4.25 kB / 0.5739 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.3428, allocations: 15.16 kB / 0.5739 GB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.3428, allocations: 10.78 kB / 0.5739 GB, free: 7.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3429, allocations: 182 kB / 0.5741 GB, free: 7.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3429, allocations: 0 / 0.5741 GB, free: 7.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.3432, allocations: 85.62 kB / 0.5742 GB, free: 7.07 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 7.492e-05/0.3433, allocations: 102.9 kB / 0.5743 GB, free: 6.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3435, allocations: 158.6 kB / 0.5744 GB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3435, allocations: 384 / 0.5744 GB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.3436, allocations: 90.12 kB / 0.5745 GB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3439, allocations: 39.08 kB / 0.5745 GB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.3448, allocations: 0.8056 MB / 0.5753 GB, free: 6.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.345, allocations: 0.8179 MB / 0.5761 GB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.359e-05/0.3451, allocations: 22.62 kB / 0.5762 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.3451, allocations: 19.22 kB / 0.5762 GB, free: 5.742 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3451, allocations: 4 kB / 0.5762 GB, free: 5.738 MB / 378.7 MB Notification: Performance of Templates: time 0.003783/0.3489, allocations: 1.57 MB / 0.5777 GB, free: 5.59 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)