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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001388/0.001388, allocations: 179.6 kB / 16.12 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.467/1.467, allocations: 194.5 MB / 211.3 MB, free: 2.941 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03699/0.03699, allocations: 8.104 MB / 264.6 MB, free: 12.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 116.1 kB / 311.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 16 kB / 368.5 MB, free: 4.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2285, allocations: 46.2 MB / 414.7 MB, free: 65.88 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08547/0.3141, allocations: 71.26 MB / 486 MB, free: 10.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.3143, allocations: 51.97 kB / 486 MB, free: 10.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007142/0.3215, allocations: 2.889 MB / 488.9 MB, free: 7.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.696e-06/0.3215, allocations: 0 / 488.9 MB, free: 7.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3216, allocations: 4 kB / 488.9 MB, free: 7.586 MB / 330.7 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.0004856/0.322, allocations: 427.3 kB / 489.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3221, allocations: 12.03 kB / 489.3 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.3222, allocations: 20.66 kB / 489.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.3224, allocations: 224.2 kB / 489.6 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3224, allocations: 16.75 kB / 489.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.3225, allocations: 24.36 kB / 489.6 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.3228, allocations: 164.9 kB / 489.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3228, allocations: 192 / 489.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.3228, allocations: 7.938 kB / 489.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3228, allocations: 4 kB / 489.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.3231, allocations: 115.7 kB / 489.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.3239, allocations: 0.5817 MB / 490.5 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.3242, allocations: 130.5 kB / 490.6 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3243, allocations: 76.78 kB / 490.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3243, allocations: 4 kB / 490.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3244, allocations: 34.56 kB / 490.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.3244, allocations: 0 / 490.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003848/0.3248, allocations: 182.6 kB / 490.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3248, allocations: 59.41 kB / 491 MB, free: 5.352 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.3249, allocations: 125.8 kB / 491.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.3249, allocations: 25.7 kB / 491.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.325, allocations: 128.2 kB / 491.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.3251, allocations: 59.19 kB / 491.3 MB, free: 5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.3251, allocations: 4 kB / 491.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3252, allocations: 326.8 kB / 491.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.3253, allocations: 39.98 kB / 491.6 MB, free: 4.629 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.3254, allocations: 36.91 kB / 491.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3255, allocations: 106.9 kB / 491.8 MB, free: 4.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3255, allocations: 4 kB / 491.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002019/0.3258, allocations: 149.5 kB / 491.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3258, allocations: 4 kB / 491.9 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3258, allocations: 0 / 491.9 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3258, allocations: 0 / 491.9 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.326, allocations: 31.98 kB / 492 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.326, allocations: 3.984 kB / 492 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.3261, allocations: 23.72 kB / 492 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3261, allocations: 4 kB / 492 MB, free: 4.266 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.3262, allocations: 125.8 kB / 492.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.3262, allocations: 15.89 kB / 492.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.3263, allocations: 16.5 kB / 492.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3263, allocations: 4 kB / 492.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3263, allocations: 0 / 492.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3263, allocations: 7.922 kB / 492.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.3266, allocations: 273.5 kB / 492.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3266, allocations: 3.984 kB / 492.4 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3268, allocations: 27.92 kB / 492.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3268, allocations: 4 kB / 492.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3268, allocations: 8 kB / 492.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3268, allocations: 3.938 kB / 492.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3268, allocations: 0 / 492.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.3272, allocations: 288.1 kB / 492.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.3273, allocations: 88.95 kB / 492.8 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.3273, allocations: 4.031 kB / 492.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.3274, allocations: 8 kB / 492.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.3274, allocations: 8 kB / 492.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.3274, allocations: 3.938 kB / 492.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.3275, allocations: 103.8 kB / 493 MB, free: 3.195 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3275, allocations: 0 / 493 MB, free: 3.195 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.3277, allocations: 39.75 kB / 493 MB, free: 3.156 MB / 330.7 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 (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.0001456/0.3279, allocations: 107.2 kB / 493.1 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.3281, allocations: 111.7 kB / 493.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3281, allocations: 0 / 493.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.469e-05/0.3282, allocations: 59.98 kB / 493.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3286, allocations: 23.97 kB / 493.3 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.3293, allocations: 394.2 kB / 493.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3296, allocations: 0.72 MB / 494.4 MB, free: 1.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.856e-05/0.3297, allocations: 12.88 kB / 494.4 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.3297, allocations: 11.44 kB / 494.4 MB, free: 1.668 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3297, allocations: 3.938 kB / 494.4 MB, free: 1.664 MB / 330.7 MB Notification: Performance of Templates: time 0.003438/0.3332, allocations: 1.036 MB / 495.5 MB, free: 0.6289 MB / 330.7 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)