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.07478/0.07478, allocations: 15.29 MB / 31.6 MB, free: 4.137 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.001017/0.001017, allocations: 110.7 kB / 36.59 MB, free: 3.172 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.00116/0.00116, allocations: 193.1 kB / 41.7 MB, free: 7.133 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.349/1.349, allocations: 222.9 MB / 269.6 MB, free: 6.965 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1271/0.1271, allocations: 23.36 MB / 347.3 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002279, allocations: 115.8 kB / 479.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.314, allocations: 59.34 MB / 0.5262 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.00336/0.3174, allocations: 2.312 MB / 0.5285 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004101/0.3179, allocations: 144.1 kB / 0.5286 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.318, allocations: 2.344 kB / 0.5286 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.3182, allocations: 36.28 kB / 0.5287 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.3184, allocations: 51.44 kB / 0.5287 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.3185, allocations: 36.78 kB / 0.5288 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.3188, allocations: 175.5 kB / 0.5289 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.3189, allocations: 76.25 kB / 0.529 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.319, allocations: 58.38 kB / 0.529 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3192, allocations: 71.72 kB / 0.5291 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.3192, allocations: 10 kB / 0.5291 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.3192, allocations: 16.59 kB / 0.5291 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.3193, allocations: 26.56 kB / 0.5292 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.3194, allocations: 79.81 kB / 0.5292 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.3196, allocations: 156.1 kB / 0.5294 GB, free: 6.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3196, allocations: 1.188 kB / 0.5294 GB, free: 6.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3196, allocations: 0 / 0.5294 GB, free: 6.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3196, allocations: 0 / 0.5294 GB, free: 6.215 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.0004228/0.32, allocations: 445.6 kB / 0.5298 GB, free: 5.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3201, allocations: 8.812 kB / 0.5298 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3201, allocations: 17.06 kB / 0.5298 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3203, allocations: 210.8 kB / 0.53 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3203, allocations: 8.875 kB / 0.5301 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3204, allocations: 15.8 kB / 0.5301 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3206, allocations: 113.2 kB / 0.5302 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3206, allocations: 2.375 kB / 0.5302 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3206, allocations: 9.344 kB / 0.5302 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3206, allocations: 2.656 kB / 0.5302 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3208, allocations: 78.95 kB / 0.5303 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.3213, allocations: 447.3 kB / 0.5307 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3215, allocations: 112.1 kB / 0.5308 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.3216, allocations: 51.2 kB / 0.5308 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.3216, allocations: 1.25 kB / 0.5308 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3217, allocations: 37.69 kB / 0.5309 GB, free: 4.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.3217, allocations: 0 / 0.5309 GB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002632/0.3219, allocations: 134.3 kB / 0.531 GB, free: 4.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.568e-05/0.322, allocations: 56.91 kB / 0.5311 GB, free: 4.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3221, allocations: 157.7 kB / 0.5312 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3221, allocations: 29.7 kB / 0.5312 GB, free: 4.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.3221, allocations: 124.8 kB / 0.5314 GB, free: 4.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.3222, allocations: 43.77 kB / 0.5314 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.3222, allocations: 34.66 kB / 0.5314 GB, free: 4.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.3223, allocations: 326.6 kB / 0.5317 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.3224, allocations: 31.45 kB / 0.5318 GB, free: 4.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.3224, allocations: 31.56 kB / 0.5318 GB, free: 4.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.3228, allocations: 152.3 kB / 0.532 GB, free: 4.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3228, allocations: 4 kB / 0.532 GB, free: 4.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001891/0.323, allocations: 135.7 kB / 0.5321 GB, free: 4.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.323, allocations: 9.344 kB / 0.5321 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.323, allocations: 4.781 kB / 0.5321 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3231, allocations: 5.031 kB / 0.5321 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3232, allocations: 29.64 kB / 0.5321 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3232, allocations: 0.9688 kB / 0.5321 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.3233, allocations: 14.94 kB / 0.5321 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3233, allocations: 3.594 kB / 0.5322 GB, free: 3.98 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.0001313/0.3234, allocations: 136.1 kB / 0.5323 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.3235, allocations: 14.5 kB / 0.5323 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.3235, allocations: 18.23 kB / 0.5323 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3235, allocations: 4.656 kB / 0.5323 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3235, allocations: 0 / 0.5323 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.3236, allocations: 89.69 kB / 0.5324 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.3236, allocations: 1.672 kB / 0.5324 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.3237, allocations: 0.7031 kB / 0.5324 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.3237, allocations: 15.05 kB / 0.5324 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002672/0.324, allocations: 192.4 kB / 0.5326 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002576/0.3243, allocations: 317.9 kB / 0.5329 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.001e-05/0.3244, allocations: 39.12 kB / 0.5329 GB, free: 3.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.3244, allocations: 116.9 kB / 0.5331 GB, free: 3.223 MB / 382.1 MB Notification: Performance of Backend: time 3e-07/0.3244, allocations: 64 / 0.5331 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.3248, allocations: 140.5 kB / 0.5332 GB, free: 3.129 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006356/0.3255, allocations: 0.7964 MB / 0.534 GB, free: 2.391 MB / 382.1 MB Notification: Performance of Templates: time 0.004784/0.3303, allocations: 1.47 MB / 0.5354 GB, free: 2.234 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)