Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.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/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-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(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009923/0.0009925, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.353/1.353, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009247, allocations: 94.08 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3853/0.3853, allocations: 37.07 MB / 373.6 MB, free: 45.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.24e-05, allocations: 4 kB / 441.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1342, allocations: 60.08 MB / 0.4898 GB, free: 3.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.5682, allocations: 90.67 MB / 0.5784 GB, free: 2.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.5685, allocations: 63.97 kB / 0.5784 GB, free: 1.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006611/0.5751, allocations: 2.452 MB / 0.5808 GB, free: 15.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5752, allocations: 0.9375 kB / 0.5808 GB, free: 15.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.5752, allocations: 8 kB / 0.5809 GB, free: 15.53 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005081/0.5757, allocations: 397.2 kB / 0.5812 GB, free: 15.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.5758, allocations: 12.03 kB / 0.5812 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.5758, allocations: 15.81 kB / 0.5813 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.5761, allocations: 203 kB / 0.5814 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.5761, allocations: 12 kB / 0.5815 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.5761, allocations: 12 kB / 0.5815 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.5764, allocations: 106.7 kB / 0.5816 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5764, allocations: 0 / 0.5816 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.5764, allocations: 11.19 kB / 0.5816 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5764, allocations: 0 / 0.5816 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.5766, allocations: 86.75 kB / 0.5817 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/0.5773, allocations: 456 kB / 0.5821 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.5775, allocations: 106.6 kB / 0.5822 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.5776, allocations: 48.94 kB / 0.5823 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.5776, allocations: 4 kB / 0.5823 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.5777, allocations: 34.5 kB / 0.5823 GB, free: 13.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.327e-06/0.5777, allocations: 3.984 kB / 0.5823 GB, free: 13.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002753/0.578, allocations: 105.8 kB / 0.5824 GB, free: 13.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.578, allocations: 51.41 kB / 0.5824 GB, free: 13.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.5782, allocations: 138.7 kB / 0.5826 GB, free: 13.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.5782, allocations: 29.7 kB / 0.5826 GB, free: 13.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.5784, allocations: 123.7 kB / 0.5827 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.5784, allocations: 43.39 kB / 0.5828 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.5784, allocations: 4 kB / 0.5828 GB, free: 13.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.5786, allocations: 326.8 kB / 0.5831 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.5787, allocations: 35.91 kB / 0.5831 GB, free: 13.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.5787, allocations: 30.03 kB / 0.5831 GB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.577e-05/0.5789, allocations: 35.98 kB / 0.5832 GB, free: 12.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5789, allocations: 4 kB / 0.5832 GB, free: 12.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002164/0.5791, allocations: 131 kB / 0.5833 GB, free: 12.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5791, allocations: 7.984 kB / 0.5833 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5791, allocations: 0.5469 kB / 0.5833 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.5792, allocations: 0 / 0.5833 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5793, allocations: 24 kB / 0.5833 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5793, allocations: 3.984 kB / 0.5833 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.5794, allocations: 19.84 kB / 0.5834 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.5795, allocations: 4 kB / 0.5834 GB, free: 12.77 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: prey.population:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = prey.population_start unit = "1" nominal = prey.NominalPopulation ) type: Real predator.population:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = predator.population_start unit = "1" nominal = predator.NominalPopulation ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002103/0.5797, allocations: 131 kB / 0.5835 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.5797, allocations: 7.906 kB / 0.5835 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.5798, allocations: 20.61 kB / 0.5835 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5798, allocations: 0 / 0.5835 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5798, allocations: 6.688 kB / 0.5835 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5798, allocations: 0 / 0.5835 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.5801, allocations: 241.4 kB / 0.5837 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5801, allocations: 0 / 0.5837 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5802, allocations: 23.92 kB / 0.5838 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.5802, allocations: 0 / 0.5838 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.5802, allocations: 7.938 kB / 0.5838 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5802, allocations: 0 / 0.5838 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5803, allocations: 1.484 kB / 0.5838 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.5806, allocations: 244.6 kB / 0.584 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.5807, allocations: 88.86 kB / 0.5841 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.5807, allocations: 8 kB / 0.5841 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.5808, allocations: 3.984 kB / 0.5841 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.5808, allocations: 4 kB / 0.5841 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.5808, allocations: 11.94 kB / 0.5841 GB, free: 11.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.242e-05/0.5809, allocations: 108.5 kB / 0.5842 GB, free: 11.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5809, allocations: 0 / 0.5842 GB, free: 11.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.5812, allocations: 36.06 kB / 0.5843 GB, free: 11.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 0.0001304/0.5813, allocations: 107.1 kB / 0.5844 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.5815, allocations: 90.59 kB / 0.5845 GB, free: 11.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5815, allocations: 0.5312 kB / 0.5845 GB, free: 11.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.5816, allocations: 36 kB / 0.5845 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.5818, allocations: 29.09 kB / 0.5845 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.5824, allocations: 302.9 kB / 0.5848 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.5828, allocations: 0.7243 MB / 0.5855 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.5828, allocations: 13.19 kB / 0.5855 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.5829, allocations: 15.44 kB / 0.5855 GB, free: 10.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5829, allocations: 4 kB / 0.5855 GB, free: 10.41 MB / 410.7 MB Notification: Performance of Templates: time 0.003693/0.5866, allocations: 1.251 MB / 0.5868 GB, free: 9.184 MB / 410.7 MB make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & ./Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)