Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.conf.json 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 107.4 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001063, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04591/0.04591, allocations: 8.108 MB / 278.7 MB, free: 3.961 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 76.27 kB / 387.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0706/0.07213, allocations: 48.3 MB / 435.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001615/0.07377, allocations: 0.7222 MB / 436.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003605/0.07415, allocations: 171.4 kB / 436.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.07421, allocations: 4 kB / 436.5 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.07427, allocations: 23.73 kB / 436.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.07435, allocations: 11.81 kB / 436.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.07453, allocations: 51.94 kB / 436.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.07467, allocations: 147.7 kB / 436.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.07487, allocations: 77.62 kB / 436.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.07492, allocations: 67.7 kB / 436.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.075, allocations: 75.62 kB / 437 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.07503, allocations: 20 kB / 437 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.035e-05/0.07506, allocations: 16 kB / 437 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.07509, allocations: 39.91 kB / 437.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.07514, allocations: 87.47 kB / 437.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.07527, allocations: 183.4 kB / 437.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.07528, allocations: 0 / 437.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.07529, allocations: 4 kB / 437.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.0753, allocations: 0 / 437.3 MB, free: 6.906 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0004953/0.0758, allocations: 467.3 kB / 437.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.607e-05/0.07583, allocations: 12.03 kB / 437.8 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.07588, allocations: 16.75 kB / 437.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.07602, allocations: 220 kB / 438 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.07604, allocations: 12.75 kB / 438 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.07607, allocations: 24.38 kB / 438.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.07631, allocations: 172.9 kB / 438.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.07633, allocations: 192 / 438.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.07635, allocations: 7.938 kB / 438.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.07636, allocations: 4 kB / 438.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.07655, allocations: 119.6 kB / 438.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000661/0.07721, allocations: 0.5702 MB / 438.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.07741, allocations: 134.4 kB / 439.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.07754, allocations: 72.84 kB / 439.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.07758, allocations: 0 / 439.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.0776, allocations: 38.56 kB / 439.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.07761, allocations: 0 / 439.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002712/0.07789, allocations: 181.8 kB / 439.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.07791, allocations: 55.34 kB / 439.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.988e-05/0.07798, allocations: 129.2 kB / 439.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.078, allocations: 29.7 kB / 439.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.07804, allocations: 128.2 kB / 439.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.07807, allocations: 59.19 kB / 439.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.07812, allocations: 29.72 kB / 439.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.07816, allocations: 326.8 kB / 440.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.07822, allocations: 43.98 kB / 440.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.349e-05/0.07828, allocations: 42.02 kB / 440.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.07841, allocations: 104.8 kB / 440.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.07843, allocations: 0 / 440.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001799/0.07862, allocations: 146.4 kB / 440.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.07864, allocations: 7.938 kB / 440.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.07864, allocations: 0 / 440.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.07866, allocations: 0 / 440.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.07886, allocations: 35.97 kB / 440.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.07888, allocations: 4 kB / 440.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.07892, allocations: 11.94 kB / 440.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.07893, allocations: 0 / 440.5 MB, free: 3.531 MB / 318.1 MB 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 6.395e-05/0.079, allocations: 141.6 kB / 440.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.07904, allocations: 19.8 kB / 440.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.07909, allocations: 12.5 kB / 440.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.07909, allocations: 3.984 kB / 440.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.0791, allocations: 4 kB / 440.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.07911, allocations: 7.938 kB / 440.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.07935, allocations: 269.5 kB / 440.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.07936, allocations: 4 kB / 440.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.07952, allocations: 23.98 kB / 440.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.07953, allocations: 3.984 kB / 441 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.07955, allocations: 8 kB / 441 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.07956, allocations: 0 / 441 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.07956, allocations: 0 / 441 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.07985, allocations: 301.8 kB / 441.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.07987, allocations: 89.02 kB / 441.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.0799, allocations: 3.938 kB / 441.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.07998, allocations: 8 kB / 441.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.08001, allocations: 8.031 kB / 441.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.08002, allocations: 7.938 kB / 441.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.334e-05/0.08006, allocations: 103.2 kB / 441.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08006, allocations: 0 / 441.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.0803, allocations: 31.84 kB / 441.5 MB, free: 2.41 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.004e-05/0.08037, allocations: 99.25 kB / 441.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.08054, allocations: 119.3 kB / 441.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.08055, allocations: 0 / 441.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.08062, allocations: 59.92 kB / 441.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.08096, allocations: 23.98 kB / 441.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.08142, allocations: 345.3 kB / 442.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.08157, allocations: 0.7275 MB / 442.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.08162, allocations: 15.44 kB / 442.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.08163, allocations: 0 / 442.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of Templates: time 0.002793/0.08442, allocations: 1.718 MB / 444.6 MB, free: 15.25 MB / 334.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)