Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.00105/0.00105, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04651/0.04651, allocations: 8.104 MB / 278.7 MB, free: 3.945 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.001597/0.001597, allocations: 72.77 kB / 387.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07039/0.072, allocations: 48.31 MB / 435.6 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001457/0.07348, allocations: 0.5625 MB / 436.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.07373, allocations: 123.9 kB / 436.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.07383, allocations: 4 kB / 436.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.07388, allocations: 7.875 kB / 436.3 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.69e-05/0.07394, allocations: 7.875 kB / 436.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.07411, allocations: 27.97 kB / 436.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.972e-05/0.07421, allocations: 71.83 kB / 436.4 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.07434, allocations: 43.94 kB / 436.5 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.07438, allocations: 23.92 kB / 436.5 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.07444, allocations: 39.78 kB / 436.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.07446, allocations: 12 kB / 436.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.07448, allocations: 8 kB / 436.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.0745, allocations: 23.92 kB / 436.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.07454, allocations: 35.81 kB / 436.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.227e-05/0.07464, allocations: 95.64 kB / 436.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.07465, allocations: 0 / 436.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.07465, allocations: 3.938 kB / 436.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.07466, allocations: 0 / 436.7 MB, free: 7.512 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004172/0.07508, allocations: 387.4 kB / 437.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.07512, allocations: 19.89 kB / 437.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.07515, allocations: 8.844 kB / 437.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.07528, allocations: 192.2 kB / 437.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.07529, allocations: 4.562 kB / 437.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.07533, allocations: 16.31 kB / 437.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.07549, allocations: 93.97 kB / 437.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.07551, allocations: 0 / 437.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.07552, allocations: 8 kB / 437.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.07553, allocations: 0 / 437.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.07566, allocations: 51.98 kB / 437.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.07613, allocations: 404.6 kB / 437.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.07628, allocations: 86.48 kB / 438 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.07634, allocations: 40.84 kB / 438 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.07636, allocations: 7.938 kB / 438 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.07638, allocations: 34.56 kB / 438 MB, free: 6.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.07638, allocations: 0 / 438 MB, free: 6.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002143/0.0766, allocations: 97.59 kB / 438.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.525e-05/0.07662, allocations: 55.34 kB / 438.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.44e-05/0.07667, allocations: 113.9 kB / 438.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.07669, allocations: 29.7 kB / 438.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.07672, allocations: 104 kB / 438.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.07675, allocations: 31.55 kB / 438.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.07678, allocations: 21.72 kB / 438.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.07683, allocations: 322.8 kB / 438.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.07687, allocations: 23.94 kB / 438.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.0769, allocations: 19.98 kB / 438.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.07697, allocations: 52.86 kB / 438.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.07698, allocations: 0 / 438.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001024/0.07709, allocations: 89.53 kB / 439 MB, free: 5.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.0771, allocations: 8 kB / 439 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.07711, allocations: 0.625 kB / 439 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.07713, allocations: 0 / 439 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.07725, allocations: 27.91 kB / 439 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.07726, allocations: 4 kB / 439 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.07729, allocations: 12.16 kB / 439 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.07731, allocations: 4 kB / 439 MB, free: 4.961 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 (10): * Single equations (assignments): 10 * 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 4.947e-05/0.07736, allocations: 117.8 kB / 439.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.07739, allocations: 7.844 kB / 439.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.07743, allocations: 16.38 kB / 439.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.07743, allocations: 0 / 439.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.07744, allocations: 7.984 kB / 439.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.07745, allocations: 3.938 kB / 439.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.07764, allocations: 197.6 kB / 439.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.07765, allocations: 0 / 439.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.07774, allocations: 15.98 kB / 439.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.07775, allocations: 0 / 439.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.07776, allocations: 4 kB / 439.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.07777, allocations: 0 / 439.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.07777, allocations: 3.938 kB / 439.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.07794, allocations: 219.3 kB / 439.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.07796, allocations: 85.05 kB / 439.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.07798, allocations: 4 kB / 439.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.07805, allocations: 7.984 kB / 439.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.07808, allocations: 7.938 kB / 439.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.07809, allocations: 4 kB / 439.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.454e-05/0.07811, allocations: 87.27 kB / 439.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07812, allocations: 0 / 439.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.07837, allocations: 15.94 kB / 439.8 MB, free: 4.078 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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 9.387e-05/0.07847, allocations: 111.2 kB / 439.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.07858, allocations: 51.98 kB / 440 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.07859, allocations: 3.938 kB / 440 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.07863, allocations: 35.92 kB / 440 MB, free: 3.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.07892, allocations: 11.72 kB / 440 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.07926, allocations: 228.6 kB / 440.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.975e-05/0.07936, allocations: 0.7002 MB / 441 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.07939, allocations: 11.44 kB / 441 MB, free: 2.871 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.0794, allocations: 0 / 441 MB, free: 2.871 MB / 318.1 MB Notification: Performance of Templates: time 0.002092/0.08149, allocations: 1.063 MB / 442 MB, free: 1.809 MB / 318.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)