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/Chemical 1.4.0-master/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/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-alpha11 (/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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.08889/0.08889, allocations: 15.24 MB / 30.49 MB, free: 3.195 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00093/0.0009303, allocations: 181 kB / 35.56 MB, free: 2.277 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 263.4 MB, free: 6.969 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.0007875/0.0007875, allocations: 82.83 kB / 318.3 MB, free: 4.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1485/0.1485, allocations: 20.52 MB / 393.7 MB, free: 43.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006882/0.0006883, allocations: 16 kB / 465.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4418, allocations: 59.31 MB / 0.5121 GB, free: 43.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003673/0.4455, allocations: 2.357 MB / 0.5144 GB, free: 43.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003478/0.4459, allocations: 163.3 kB / 0.5146 GB, free: 43.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.446, allocations: 2.125 kB / 0.5146 GB, free: 43.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.4461, allocations: 15.92 kB / 0.5146 GB, free: 43.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.4463, allocations: 46.41 kB / 0.5146 GB, free: 43.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.4464, allocations: 35.5 kB / 0.5147 GB, free: 43.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.4466, allocations: 166.8 kB / 0.5148 GB, free: 43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.4468, allocations: 61.66 kB / 0.5149 GB, free: 42.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.4469, allocations: 56.06 kB / 0.5149 GB, free: 42.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.4471, allocations: 66.41 kB / 0.515 GB, free: 42.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.4471, allocations: 7.625 kB / 0.515 GB, free: 42.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.966e-05/0.4471, allocations: 8.219 kB / 0.515 GB, free: 42.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.4472, allocations: 26.14 kB / 0.515 GB, free: 42.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.4473, allocations: 72.42 kB / 0.5151 GB, free: 42.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.4475, allocations: 142.7 kB / 0.5152 GB, free: 42.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4475, allocations: 0 / 0.5152 GB, free: 42.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4475, allocations: 0 / 0.5152 GB, free: 42.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4475, allocations: 1.094 kB / 0.5152 GB, free: 42.9 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004813/0.448, allocations: 445.8 kB / 0.5157 GB, free: 42.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4481, allocations: 8.656 kB / 0.5157 GB, free: 42.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.4481, allocations: 21.86 kB / 0.5157 GB, free: 42.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.4483, allocations: 208.6 kB / 0.5159 GB, free: 42.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4483, allocations: 17.12 kB / 0.5159 GB, free: 42.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.4484, allocations: 12.77 kB / 0.5159 GB, free: 42.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.4486, allocations: 114.5 kB / 0.516 GB, free: 42.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4486, allocations: 0.8438 kB / 0.516 GB, free: 42.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.4486, allocations: 8.469 kB / 0.516 GB, free: 42.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.4486, allocations: 3.281 kB / 0.516 GB, free: 42.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.4488, allocations: 71.61 kB / 0.5161 GB, free: 42.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.4494, allocations: 452.6 kB / 0.5165 GB, free: 41.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.4496, allocations: 108.7 kB / 0.5166 GB, free: 41.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.4497, allocations: 47.97 kB / 0.5167 GB, free: 41.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.4497, allocations: 5.203 kB / 0.5167 GB, free: 41.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.4497, allocations: 46.88 kB / 0.5167 GB, free: 41.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.4497, allocations: 0 / 0.5167 GB, free: 41.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002757/0.45, allocations: 132.4 kB / 0.5169 GB, free: 41.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.45, allocations: 53.62 kB / 0.5169 GB, free: 41.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.4501, allocations: 159.5 kB / 0.5171 GB, free: 41.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4502, allocations: 30.23 kB / 0.5171 GB, free: 41.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.4502, allocations: 119.6 kB / 0.5172 GB, free: 41.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.4503, allocations: 43.69 kB / 0.5173 GB, free: 41.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.4503, allocations: 40.55 kB / 0.5173 GB, free: 41.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.4504, allocations: 324.3 kB / 0.5176 GB, free: 41.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.4505, allocations: 28.91 kB / 0.5176 GB, free: 41.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/0.4505, allocations: 32.78 kB / 0.5177 GB, free: 41.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.4509, allocations: 151.9 kB / 0.5178 GB, free: 41.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4509, allocations: 0 / 0.5178 GB, free: 41.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001739/0.4511, allocations: 140 kB / 0.5179 GB, free: 41.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4511, allocations: 9.469 kB / 0.5179 GB, free: 41.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4511, allocations: 0 / 0.5179 GB, free: 41.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4511, allocations: 5.188 kB / 0.518 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4513, allocations: 30.14 kB / 0.518 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4513, allocations: 0 / 0.518 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.4514, allocations: 12.75 kB / 0.518 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4514, allocations: 9.969 kB / 0.518 GB, free: 41.09 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, 0.0))) start = predator.population_start unit = "1" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, 0.0))) start = prey.population_start unit = "1" fixed = true nominal = prey.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.4516, allocations: 153.5 kB / 0.5181 GB, free: 40.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.4517, allocations: 13.41 kB / 0.5182 GB, free: 40.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.4517, allocations: 17.75 kB / 0.5182 GB, free: 40.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4517, allocations: 1.094 kB / 0.5182 GB, free: 40.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4517, allocations: 1.188 kB / 0.5182 GB, free: 40.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4517, allocations: 3.234 kB / 0.5182 GB, free: 40.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.4519, allocations: 235.9 kB / 0.5184 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4519, allocations: 0 / 0.5184 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4521, allocations: 19.7 kB / 0.5184 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4521, allocations: 5.188 kB / 0.5184 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4521, allocations: 10.56 kB / 0.5184 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4521, allocations: 5.094 kB / 0.5184 GB, free: 40.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4521, allocations: 0 / 0.5184 GB, free: 40.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.4524, allocations: 240.8 kB / 0.5187 GB, free: 40.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.4524, allocations: 99.06 kB / 0.5188 GB, free: 40.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.4524, allocations: 6.25 kB / 0.5188 GB, free: 40.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.4525, allocations: 1.281 kB / 0.5188 GB, free: 40.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.4525, allocations: 9.609 kB / 0.5188 GB, free: 40.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.4526, allocations: 6.312 kB / 0.5188 GB, free: 40.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.4526, allocations: 111.1 kB / 0.5189 GB, free: 40.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4527, allocations: 0 / 0.5189 GB, free: 40.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.4529, allocations: 36.62 kB / 0.5189 GB, free: 40.42 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.3e-05/0.453, allocations: 94.09 kB / 0.519 GB, free: 40.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.4531, allocations: 81.36 kB / 0.5191 GB, free: 40.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4532, allocations: 0 / 0.5191 GB, free: 40.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/0.4532, allocations: 50.09 kB / 0.5191 GB, free: 40.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4535, allocations: 21.69 kB / 0.5192 GB, free: 40.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.4541, allocations: 436.2 kB / 0.5196 GB, free: 40 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.4543, allocations: 0.7119 MB / 0.5203 GB, free: 39.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.231e-05/0.4544, allocations: 15.3 kB / 0.5203 GB, free: 39.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.4544, allocations: 15.88 kB / 0.5203 GB, free: 39.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.4544, allocations: 0 / 0.5203 GB, free: 39.29 MB / 378.7 MB Notification: Performance of Templates: time 0.003429/0.4578, allocations: 1.322 MB / 0.5216 GB, free: 39.19 MB / 378.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)