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.09154/0.09154, allocations: 15.28 MB / 30.91 MB, free: 4.148 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.001105/0.001106, allocations: 108.2 kB / 35.92 MB, free: 3.176 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.001226/0.001226, allocations: 193.1 kB / 41.02 MB, free: 7.109 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.399/1.399, allocations: 222.9 MB / 268.9 MB, free: 6.793 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1361/0.1361, allocations: 23.35 MB / 346.6 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 103.8 kB / 478.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3069, allocations: 59.36 MB / 0.5256 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003133/0.3101, allocations: 2.322 MB / 0.5278 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002969/0.3104, allocations: 147 kB / 0.528 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.3105, allocations: 6.719 kB / 0.528 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.3106, allocations: 28.67 kB / 0.528 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.3107, allocations: 46.22 kB / 0.5281 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.3109, allocations: 40.02 kB / 0.5281 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3111, allocations: 181.5 kB / 0.5283 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.3113, allocations: 62.38 kB / 0.5283 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.3113, allocations: 61.38 kB / 0.5284 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3115, allocations: 65.56 kB / 0.5284 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.3115, allocations: 10.56 kB / 0.5285 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.3115, allocations: 11.91 kB / 0.5285 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.3116, allocations: 35.42 kB / 0.5285 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.625e-05/0.3117, allocations: 72.27 kB / 0.5286 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.3119, allocations: 164.1 kB / 0.5287 GB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3119, allocations: 4 kB / 0.5287 GB, free: 6.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3119, allocations: 0 / 0.5287 GB, free: 6.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3119, allocations: 0 / 0.5287 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.0005122/0.3125, allocations: 441.6 kB / 0.5292 GB, free: 5.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3125, allocations: 9.688 kB / 0.5292 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.3126, allocations: 19.64 kB / 0.5292 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3128, allocations: 211.9 kB / 0.5294 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3128, allocations: 14.5 kB / 0.5294 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.3128, allocations: 11.47 kB / 0.5294 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.313, allocations: 118.7 kB / 0.5295 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.313, allocations: 1.719 kB / 0.5295 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3131, allocations: 9.375 kB / 0.5295 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3131, allocations: 2.969 kB / 0.5295 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.3132, allocations: 69.81 kB / 0.5296 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.3138, allocations: 471 kB / 0.5301 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3139, allocations: 110.5 kB / 0.5302 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.314, allocations: 48.2 kB / 0.5302 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.314, allocations: 2.219 kB / 0.5302 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.3141, allocations: 39.59 kB / 0.5302 GB, free: 4.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3141, allocations: 0 / 0.5302 GB, free: 4.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002521/0.3143, allocations: 130.6 kB / 0.5304 GB, free: 4.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.3144, allocations: 56.47 kB / 0.5304 GB, free: 4.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3145, allocations: 150.3 kB / 0.5306 GB, free: 4.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.3145, allocations: 30.8 kB / 0.5306 GB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.3145, allocations: 124.5 kB / 0.5307 GB, free: 4.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.3146, allocations: 44.44 kB / 0.5308 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.3146, allocations: 31.38 kB / 0.5308 GB, free: 4.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.3147, allocations: 325.6 kB / 0.5311 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.773e-05/0.3147, allocations: 35.39 kB / 0.5311 GB, free: 4.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.349e-05/0.3148, allocations: 32.09 kB / 0.5312 GB, free: 4.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.3152, allocations: 152.5 kB / 0.5313 GB, free: 4.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3152, allocations: 0 / 0.5313 GB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001775/0.3154, allocations: 135.8 kB / 0.5314 GB, free: 4.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3154, allocations: 9.438 kB / 0.5314 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3154, allocations: 0 / 0.5314 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3154, allocations: 1.031 kB / 0.5314 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3155, allocations: 26.38 kB / 0.5315 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.3156, allocations: 10.5 kB / 0.5315 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.184e-05/0.3156, allocations: 14.02 kB / 0.5315 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3156, allocations: 3.25 kB / 0.5315 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.0001275/0.3158, allocations: 136.8 kB / 0.5316 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.3158, allocations: 17.22 kB / 0.5316 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.3159, allocations: 17.48 kB / 0.5317 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3159, allocations: 5.062 kB / 0.5317 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3159, allocations: 1.125 kB / 0.5317 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3159, allocations: 1.5 kB / 0.5317 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3161, allocations: 235.4 kB / 0.5319 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.3161, allocations: 0 / 0.5319 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3162, allocations: 23.03 kB / 0.5319 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3163, allocations: 5.562 kB / 0.5319 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3163, allocations: 0 / 0.5319 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3163, allocations: 5.406 kB / 0.5319 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3163, allocations: 0.9375 kB / 0.5319 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.3165, allocations: 250.4 kB / 0.5322 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.3166, allocations: 92.8 kB / 0.5323 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3166, allocations: 1.438 kB / 0.5323 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.3167, allocations: 5.75 kB / 0.5323 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.3167, allocations: 5.953 kB / 0.5323 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.3167, allocations: 2.688 kB / 0.5323 GB, free: 3.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.515e-05/0.3168, allocations: 121.3 kB / 0.5324 GB, free: 3.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3168, allocations: 0 / 0.5324 GB, free: 3.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.317, allocations: 40.3 kB / 0.5324 GB, free: 3.195 MB / 382.1 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.921e-05/0.3171, allocations: 102.2 kB / 0.5325 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3173, allocations: 86.69 kB / 0.5326 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3173, allocations: 0 / 0.5326 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.3174, allocations: 39.97 kB / 0.5326 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.3177, allocations: 23.44 kB / 0.5327 GB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.3183, allocations: 370.5 kB / 0.533 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.3186, allocations: 0.7159 MB / 0.5337 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.3186, allocations: 8.297 kB / 0.5337 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.3187, allocations: 18.62 kB / 0.5337 GB, free: 2.055 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3187, allocations: 0 / 0.5337 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Templates: time 0.004164/0.3228, allocations: 1.236 MB / 0.5349 GB, free: 1.91 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)