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/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/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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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/package.mo): time 0.1098/0.1098, allocations: 15.28 MB / 31.59 MB, free: 4.109 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 108 kB / 36.59 MB, free: 3.156 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 197 kB / 41.7 MB, free: 7.094 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 269.6 MB, free: 6.863 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1294/0.1294, allocations: 23.35 MB / 347.3 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 120 kB / 479.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3358, allocations: 59.36 MB / 0.5262 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003767/0.3396, allocations: 2.311 MB / 0.5285 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003663/0.34, allocations: 144.6 kB / 0.5286 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3401, allocations: 2.75 kB / 0.5286 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.3403, allocations: 23.53 kB / 0.5287 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.3405, allocations: 59.95 kB / 0.5287 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.3406, allocations: 39.92 kB / 0.5288 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.3409, allocations: 173.6 kB / 0.5289 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.3411, allocations: 78.62 kB / 0.529 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.003e-05/0.3412, allocations: 57.36 kB / 0.5291 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3414, allocations: 70.16 kB / 0.5291 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.3414, allocations: 10.69 kB / 0.5291 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.923e-05/0.3414, allocations: 15.94 kB / 0.5291 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.3415, allocations: 26.27 kB / 0.5292 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.231e-05/0.3416, allocations: 77.92 kB / 0.5292 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.3419, allocations: 161.2 kB / 0.5294 GB, free: 5.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3419, allocations: 0 / 0.5294 GB, free: 5.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3419, allocations: 5.062 kB / 0.5294 GB, free: 5.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3419, allocations: 0 / 0.5294 GB, free: 5.961 MB / 382.1 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.0005277/0.3424, allocations: 441.1 kB / 0.5298 GB, free: 5.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3425, allocations: 8.688 kB / 0.5298 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.3425, allocations: 17.72 kB / 0.5299 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3428, allocations: 209.9 kB / 0.5301 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3428, allocations: 13.38 kB / 0.5301 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.3429, allocations: 13.03 kB / 0.5301 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.3432, allocations: 117 kB / 0.5302 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3432, allocations: 192 / 0.5302 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.3432, allocations: 10.09 kB / 0.5302 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3432, allocations: 2.469 kB / 0.5302 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.3434, allocations: 76.19 kB / 0.5303 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000779/0.3442, allocations: 461.7 kB / 0.5307 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.3445, allocations: 109.1 kB / 0.5308 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3446, allocations: 48.88 kB / 0.5309 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3446, allocations: 1.281 kB / 0.5309 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3447, allocations: 43.72 kB / 0.5309 GB, free: 4.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.714e-06/0.3447, allocations: 0 / 0.5309 GB, free: 4.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003584/0.345, allocations: 125.5 kB / 0.531 GB, free: 4.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.3451, allocations: 57.84 kB / 0.5311 GB, free: 4.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.3452, allocations: 149.7 kB / 0.5312 GB, free: 4.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3453, allocations: 30.83 kB / 0.5313 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.3453, allocations: 126.4 kB / 0.5314 GB, free: 4.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.3454, allocations: 48.03 kB / 0.5314 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.3454, allocations: 32.94 kB / 0.5315 GB, free: 4.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.3455, allocations: 321.7 kB / 0.5318 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.3456, allocations: 34.84 kB / 0.5318 GB, free: 3.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.3457, allocations: 29.02 kB / 0.5318 GB, free: 3.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.3462, allocations: 163.1 kB / 0.532 GB, free: 3.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3462, allocations: 0 / 0.532 GB, free: 3.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002687/0.3465, allocations: 136 kB / 0.5321 GB, free: 3.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3465, allocations: 9.219 kB / 0.5321 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3466, allocations: 1.094 kB / 0.5321 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3466, allocations: 5.094 kB / 0.5321 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.3468, allocations: 30.14 kB / 0.5321 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3468, allocations: 1.094 kB / 0.5321 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.3469, allocations: 18.02 kB / 0.5322 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3469, allocations: 3.188 kB / 0.5322 GB, free: 3.727 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = 0.0 start = predator.population_start unit = "1" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = 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.0001566/0.3471, allocations: 138.2 kB / 0.5323 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.3471, allocations: 21.22 kB / 0.5323 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.3472, allocations: 13.23 kB / 0.5323 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3472, allocations: 2.172 kB / 0.5323 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3472, allocations: 4 kB / 0.5323 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.3473, allocations: 93.36 kB / 0.5324 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.3473, allocations: 1.656 kB / 0.5324 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.3474, allocations: 1.125 kB / 0.5324 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3475, allocations: 14.53 kB / 0.5324 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003327/0.3478, allocations: 184.8 kB / 0.5326 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003501/0.3482, allocations: 331.3 kB / 0.5329 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.979e-05/0.3483, allocations: 41.69 kB / 0.533 GB, free: 3.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.28e-05/0.3484, allocations: 116.7 kB / 0.5331 GB, free: 2.949 MB / 382.1 MB Notification: Performance of Backend: time 5.11e-07/0.3484, allocations: 0 / 0.5331 GB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.3489, allocations: 134.1 kB / 0.5332 GB, free: 2.867 MB / 382.1 MB Notification: Performance of SimCode: time 0.001001/0.3499, allocations: 0.7986 MB / 0.534 GB, free: 2.125 MB / 382.1 MB Notification: Performance of Templates: time 0.00642/0.3564, allocations: 1.458 MB / 0.5354 GB, free: 1.977 MB / 382.1 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)