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.0969/0.0969, 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.001081/0.001081, allocations: 109.1 kB / 35.92 MB, free: 3.199 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.001346/0.001346, allocations: 194.1 kB / 41.02 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.371/1.371, allocations: 222.9 MB / 268.9 MB, free: 6.859 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1495/0.1495, allocations: 23.35 MB / 346.6 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 111.8 kB / 478.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.313, allocations: 59.36 MB / 0.5256 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002903/0.3159, allocations: 2.321 MB / 0.5278 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.3162, allocations: 147.9 kB / 0.528 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.3163, allocations: 6.344 kB / 0.528 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.3164, allocations: 24.47 kB / 0.528 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.729e-05/0.3165, allocations: 50.08 kB / 0.5281 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.3167, allocations: 32.77 kB / 0.5281 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.3169, allocations: 177.2 kB / 0.5283 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.317, allocations: 66.7 kB / 0.5283 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.3171, allocations: 63.72 kB / 0.5284 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3172, allocations: 66.42 kB / 0.5284 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3172, allocations: 11.47 kB / 0.5285 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-05/0.3173, allocations: 12.12 kB / 0.5285 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.3173, allocations: 31.66 kB / 0.5285 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.3174, allocations: 74.31 kB / 0.5286 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3176, allocations: 162.3 kB / 0.5287 GB, free: 5.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3176, allocations: 0 / 0.5287 GB, free: 5.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3176, allocations: 0.75 kB / 0.5287 GB, free: 5.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.3176, allocations: 5.406 kB / 0.5287 GB, free: 5.98 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.0004066/0.318, allocations: 441.2 kB / 0.5291 GB, free: 5.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.318, allocations: 9.312 kB / 0.5292 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.3181, allocations: 16.84 kB / 0.5292 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.3183, allocations: 214.9 kB / 0.5294 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3183, allocations: 9.688 kB / 0.5294 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.3183, allocations: 17.16 kB / 0.5294 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3185, allocations: 111.2 kB / 0.5295 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3185, allocations: 1.312 kB / 0.5295 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3186, allocations: 9.062 kB / 0.5295 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3186, allocations: 2.562 kB / 0.5295 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.3187, allocations: 79.48 kB / 0.5296 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.3192, allocations: 455.1 kB / 0.53 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3194, allocations: 115.8 kB / 0.5301 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.3195, allocations: 47.83 kB / 0.5302 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.3195, allocations: 1.312 kB / 0.5302 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.3195, allocations: 36.06 kB / 0.5302 GB, free: 4.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3195, allocations: 0 / 0.5302 GB, free: 4.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002543/0.3198, allocations: 130 kB / 0.5303 GB, free: 4.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.3198, allocations: 61.17 kB / 0.5304 GB, free: 4.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.32, allocations: 156.1 kB / 0.5306 GB, free: 4.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.32, allocations: 25.7 kB / 0.5306 GB, free: 4.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.32, allocations: 120.4 kB / 0.5307 GB, free: 4.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3201, allocations: 49.23 kB / 0.5307 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.3201, allocations: 28.92 kB / 0.5308 GB, free: 4.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.3201, allocations: 321.9 kB / 0.5311 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.3202, allocations: 32.44 kB / 0.5311 GB, free: 3.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.3203, allocations: 35.98 kB / 0.5311 GB, free: 3.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.3206, allocations: 155.5 kB / 0.5313 GB, free: 3.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3206, allocations: 1.188 kB / 0.5313 GB, free: 3.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001716/0.3208, allocations: 135.1 kB / 0.5314 GB, free: 3.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3208, allocations: 12.16 kB / 0.5314 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3208, allocations: 1.125 kB / 0.5314 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3209, allocations: 1.469 kB / 0.5314 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.321, allocations: 29.59 kB / 0.5315 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.321, allocations: 1.547 kB / 0.5315 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.3211, allocations: 18.34 kB / 0.5315 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3211, allocations: 11.81 kB / 0.5315 GB, free: 3.746 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.0001129/0.3212, allocations: 129 kB / 0.5316 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.3212, allocations: 14.16 kB / 0.5316 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.3213, allocations: 16.86 kB / 0.5316 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3213, allocations: 1.25 kB / 0.5316 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3213, allocations: 5.281 kB / 0.5317 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3213, allocations: 1.547 kB / 0.5317 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3215, allocations: 235.5 kB / 0.5319 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3215, allocations: 0 / 0.5319 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.3216, allocations: 21.14 kB / 0.5319 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3216, allocations: 6.953 kB / 0.5319 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3216, allocations: 4 kB / 0.5319 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3217, allocations: 5.375 kB / 0.5319 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3217, allocations: 0 / 0.5319 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.3219, allocations: 238.3 kB / 0.5321 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.3219, allocations: 97.7 kB / 0.5322 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.322, allocations: 6.641 kB / 0.5322 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.322, allocations: 1.188 kB / 0.5322 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.3221, allocations: 5.672 kB / 0.5322 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3221, allocations: 2.906 kB / 0.5322 GB, free: 3.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.3221, allocations: 120.1 kB / 0.5324 GB, free: 2.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3221, allocations: 0 / 0.5324 GB, free: 2.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3224, allocations: 36 kB / 0.5324 GB, free: 2.977 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.218e-05/0.3225, allocations: 104.1 kB / 0.5325 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.3227, allocations: 90.47 kB / 0.5326 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3227, allocations: 0 / 0.5326 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.3227, allocations: 40.33 kB / 0.5326 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.323, allocations: 29.66 kB / 0.5326 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.3236, allocations: 360.4 kB / 0.533 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.3237, allocations: 0.7193 MB / 0.5337 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.705e-05/0.3238, allocations: 9.078 kB / 0.5337 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.3238, allocations: 13.62 kB / 0.5337 GB, free: 1.836 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3238, allocations: 4 kB / 0.5337 GB, free: 1.832 MB / 382.1 MB Notification: Performance of Templates: time 0.004098/0.3279, allocations: 1.283 MB / 0.535 GB, free: 1.672 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)