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.07996/0.07996, allocations: 15.26 MB / 31.21 MB, free: 3.23 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.0009151/0.0009152, allocations: 180.9 kB / 36.3 MB, free: 2.266 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.311/1.311, allocations: 223.3 MB / 264.5 MB, free: 5.73 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.0007596/0.0007594, allocations: 100.5 kB / 319.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1081/0.1081, allocations: 20.56 MB / 395.8 MB, free: 43.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005064, allocations: 16 kB / 467.6 MB, free: 4.219 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, allocations: 59.78 MB / 0.515 GB, free: 41.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.401, allocations: 91.57 MB / 0.6044 GB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.4013, allocations: 67.97 kB / 0.6045 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006008/0.4073, allocations: 2.454 MB / 0.6069 GB, free: 11.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4073, allocations: 0 / 0.6069 GB, free: 11.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4073, allocations: 0 / 0.6069 GB, free: 11.11 MB / 410.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.0004156/0.4077, allocations: 415 kB / 0.6073 GB, free: 10.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.4078, allocations: 8.031 kB / 0.6073 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.4078, allocations: 16.75 kB / 0.6073 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.408, allocations: 212.2 kB / 0.6075 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4081, allocations: 8.375 kB / 0.6075 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.4081, allocations: 12.38 kB / 0.6075 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.4083, allocations: 113.7 kB / 0.6076 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4083, allocations: 192 / 0.6076 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4083, allocations: 7.938 kB / 0.6077 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4083, allocations: 8 kB / 0.6077 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.4085, allocations: 71.97 kB / 0.6077 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.4091, allocations: 452.2 kB / 0.6082 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.4093, allocations: 122.6 kB / 0.6083 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/0.4094, allocations: 48.78 kB / 0.6083 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.4094, allocations: 4 kB / 0.6083 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.4094, allocations: 38.5 kB / 0.6084 GB, free: 9.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.4094, allocations: 0 / 0.6084 GB, free: 9.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002687/0.4097, allocations: 129.4 kB / 0.6085 GB, free: 9.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.4097, allocations: 55.41 kB / 0.6085 GB, free: 9.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4099, allocations: 158.5 kB / 0.6087 GB, free: 9.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4099, allocations: 29.7 kB / 0.6087 GB, free: 9.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.41, allocations: 123.7 kB / 0.6088 GB, free: 8.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.41, allocations: 43.36 kB / 0.6089 GB, free: 8.879 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.41, allocations: 4 kB / 0.6089 GB, free: 8.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.4101, allocations: 326.8 kB / 0.6092 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.4102, allocations: 27.98 kB / 0.6092 GB, free: 8.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.4102, allocations: 37.55 kB / 0.6093 GB, free: 8.484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.4106, allocations: 155 kB / 0.6094 GB, free: 8.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4106, allocations: 0 / 0.6094 GB, free: 8.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001797/0.4108, allocations: 133.4 kB / 0.6095 GB, free: 8.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4108, allocations: 11.92 kB / 0.6095 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4108, allocations: 0 / 0.6095 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.4109, allocations: 0 / 0.6095 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.411, allocations: 28 kB / 0.6096 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.411, allocations: 3.984 kB / 0.6096 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.4111, allocations: 7.906 kB / 0.6096 GB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4111, allocations: 4 kB / 0.6096 GB, free: 8.141 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: prey.population:VARIABLE(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 predator.population:VARIABLE(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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.4113, allocations: 152.9 kB / 0.6097 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.4113, allocations: 11.84 kB / 0.6097 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.4114, allocations: 12.72 kB / 0.6098 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4114, allocations: 0 / 0.6098 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4114, allocations: 4 kB / 0.6098 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4114, allocations: 0 / 0.6098 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.4116, allocations: 249.4 kB / 0.61 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4116, allocations: 3.984 kB / 0.61 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4118, allocations: 23.92 kB / 0.61 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4118, allocations: 3.938 kB / 0.61 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.4118, allocations: 0 / 0.61 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4118, allocations: 0 / 0.61 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4118, allocations: 0 / 0.61 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.4121, allocations: 251.3 kB / 0.6103 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.4121, allocations: 92.92 kB / 0.6104 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.4121, allocations: 4.031 kB / 0.6104 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.4122, allocations: 4 kB / 0.6104 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.4122, allocations: 7.984 kB / 0.6104 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.4123, allocations: 4 kB / 0.6104 GB, free: 7.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.89e-05/0.4123, allocations: 113.7 kB / 0.6105 GB, free: 7.133 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4123, allocations: 0 / 0.6105 GB, free: 7.133 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.4126, allocations: 47.84 kB / 0.6105 GB, free: 7.086 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001131/0.4127, allocations: 99.19 kB / 0.6106 GB, free: 6.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.4129, allocations: 88.97 kB / 0.6107 GB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4129, allocations: 0 / 0.6107 GB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.966e-05/0.4129, allocations: 43.92 kB / 0.6108 GB, free: 6.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.4132, allocations: 23.98 kB / 0.6108 GB, free: 6.832 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.4138, allocations: 444.8 kB / 0.6112 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.4141, allocations: 0.7166 MB / 0.6119 GB, free: 5.629 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.107e-05/0.4141, allocations: 9.422 kB / 0.6119 GB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.4142, allocations: 19.44 kB / 0.6119 GB, free: 5.602 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4142, allocations: 4 kB / 0.6119 GB, free: 5.598 MB / 410.7 MB Notification: Performance of Templates: time 0.003422/0.4176, allocations: 1.295 MB / 0.6132 GB, free: 4.328 MB / 410.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)