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.102/0.102, allocations: 15.29 MB / 31.59 MB, free: 4.098 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.001241/0.001241, allocations: 104.1 kB / 36.58 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.001521/0.001521, allocations: 193.1 kB / 41.69 MB, free: 7.125 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.417/1.417, allocations: 222.9 MB / 269.5 MB, free: 6.891 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1783/0.1783, allocations: 23.36 MB / 347.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 115.8 kB / 479.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3013, allocations: 59.35 MB / 0.5262 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003034/0.3044, allocations: 2.32 MB / 0.5285 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000338/0.3048, allocations: 147.9 kB / 0.5286 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.3049, allocations: 6.531 kB / 0.5286 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.305, allocations: 29.91 kB / 0.5287 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.205e-05/0.3051, allocations: 49.12 kB / 0.5287 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.3053, allocations: 31.94 kB / 0.5288 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.3055, allocations: 177.2 kB / 0.5289 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.3057, allocations: 67.12 kB / 0.529 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.3057, allocations: 67.59 kB / 0.529 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3059, allocations: 66.53 kB / 0.5291 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.3059, allocations: 10.81 kB / 0.5291 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.001e-05/0.3059, allocations: 12.53 kB / 0.5291 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.306, allocations: 27.38 kB / 0.5292 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.306, allocations: 81.34 kB / 0.5292 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.3062, allocations: 161 kB / 0.5294 GB, free: 5.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3062, allocations: 1.531 kB / 0.5294 GB, free: 5.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3062, allocations: 0 / 0.5294 GB, free: 5.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3063, allocations: 0 / 0.5294 GB, free: 5.957 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.0004321/0.3067, allocations: 440.6 kB / 0.5298 GB, free: 5.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3067, allocations: 9.094 kB / 0.5298 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3068, allocations: 16.47 kB / 0.5298 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.307, allocations: 212.2 kB / 0.53 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.307, allocations: 8.969 kB / 0.53 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.307, allocations: 13.19 kB / 0.5301 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3072, allocations: 116 kB / 0.5302 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3073, allocations: 192 / 0.5302 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3073, allocations: 10.28 kB / 0.5302 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3073, allocations: 2.438 kB / 0.5302 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3074, allocations: 79.94 kB / 0.5303 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.308, allocations: 453.9 kB / 0.5307 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3082, allocations: 117.2 kB / 0.5308 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.977e-05/0.3082, allocations: 45.8 kB / 0.5308 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.3083, allocations: 2.688 kB / 0.5309 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/0.3083, allocations: 36.05 kB / 0.5309 GB, free: 4.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.3083, allocations: 5.672 kB / 0.5309 GB, free: 4.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002569/0.3085, allocations: 129.3 kB / 0.531 GB, free: 4.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.3086, allocations: 56.88 kB / 0.5311 GB, free: 4.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3087, allocations: 158.3 kB / 0.5312 GB, free: 4.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.3087, allocations: 25.7 kB / 0.5312 GB, free: 4.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.3088, allocations: 125.7 kB / 0.5314 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3088, allocations: 46.84 kB / 0.5314 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.3088, allocations: 30.98 kB / 0.5314 GB, free: 4.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.3089, allocations: 326.3 kB / 0.5317 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.309, allocations: 26.75 kB / 0.5318 GB, free: 3.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.309, allocations: 32.5 kB / 0.5318 GB, free: 3.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.3094, allocations: 156.4 kB / 0.532 GB, free: 3.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3094, allocations: 0 / 0.532 GB, free: 3.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001858/0.3096, allocations: 139.9 kB / 0.5321 GB, free: 3.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3096, allocations: 9.094 kB / 0.5321 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3096, allocations: 0 / 0.5321 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3097, allocations: 1.594 kB / 0.5321 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3098, allocations: 30.69 kB / 0.5321 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3098, allocations: 0 / 0.5321 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.3099, allocations: 15.62 kB / 0.5321 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3099, allocations: 4.438 kB / 0.5321 GB, free: 3.73 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.0001272/0.31, allocations: 135.6 kB / 0.5323 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3101, allocations: 14.75 kB / 0.5323 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.3101, allocations: 17.2 kB / 0.5323 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3101, allocations: 1.188 kB / 0.5323 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3101, allocations: 0.6562 kB / 0.5323 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3102, allocations: 0.5625 kB / 0.5323 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.3104, allocations: 239.7 kB / 0.5325 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3104, allocations: 0 / 0.5325 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3105, allocations: 22.92 kB / 0.5326 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3105, allocations: 5.281 kB / 0.5326 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3105, allocations: 4.766 kB / 0.5326 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3105, allocations: 3.938 kB / 0.5326 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3105, allocations: 0 / 0.5326 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3108, allocations: 233.3 kB / 0.5328 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.3108, allocations: 105.8 kB / 0.5329 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3108, allocations: 5.188 kB / 0.5329 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.3109, allocations: 0 / 0.5329 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.311, allocations: 10.58 kB / 0.5329 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.311, allocations: 3.234 kB / 0.5329 GB, free: 3.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.124e-05/0.311, allocations: 115.7 kB / 0.533 GB, free: 2.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.311, allocations: 1.469 kB / 0.533 GB, free: 2.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3113, allocations: 38.69 kB / 0.5331 GB, free: 2.949 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.449e-05/0.3114, allocations: 103.1 kB / 0.5332 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3116, allocations: 91.06 kB / 0.5332 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3116, allocations: 0 / 0.5332 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.811e-05/0.3116, allocations: 36.34 kB / 0.5333 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.3119, allocations: 18.66 kB / 0.5333 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.3125, allocations: 402 kB / 0.5337 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.3127, allocations: 0.7165 MB / 0.5344 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.3127, allocations: 14.53 kB / 0.5344 GB, free: 1.781 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3127, allocations: 1.531 kB / 0.5344 GB, free: 1.781 MB / 382.1 MB Notification: Performance of Templates: time 0.003493/0.3162, allocations: 1.638 MB / 0.536 GB, free: 1.605 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)