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.001083/0.001083, allocations: 114.6 kB / 16.42 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.001125/0.001125, allocations: 183.9 kB / 17.35 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.267/1.267, 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.04319/0.04319, allocations: 8.109 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.001456/0.001456, allocations: 77.03 kB / 387.3 MB, free: 47.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0616/0.06307, allocations: 48.32 MB / 435.6 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001409/0.0645, allocations: 0.5513 MB / 436.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.06477, allocations: 127.8 kB / 436.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.06482, allocations: 4 kB / 436.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.06487, allocations: 11.88 kB / 436.3 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.06494, allocations: 7.875 kB / 436.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.06507, allocations: 23.97 kB / 436.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.06517, allocations: 71.83 kB / 436.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.0653, allocations: 43.94 kB / 436.5 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.06534, allocations: 27.92 kB / 436.5 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.0654, allocations: 39.78 kB / 436.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.06542, allocations: 8 kB / 436.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.06544, allocations: 12 kB / 436.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.06546, allocations: 19.92 kB / 436.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.0655, allocations: 43.78 kB / 436.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.242e-05/0.0656, allocations: 91.67 kB / 436.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.06561, allocations: 0 / 436.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.06562, allocations: 0 / 436.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.06563, allocations: 0 / 436.7 MB, free: 7.516 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.0003363/0.06597, allocations: 391.4 kB / 437.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.066, allocations: 19.89 kB / 437.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.06604, allocations: 12.83 kB / 437.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.06617, allocations: 188.2 kB / 437.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.06618, allocations: 8.562 kB / 437.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.06621, allocations: 12.38 kB / 437.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.06636, allocations: 93.91 kB / 437.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.06638, allocations: 0 / 437.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.0664, allocations: 8 kB / 437.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.06641, allocations: 0 / 437.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.0665, allocations: 47.98 kB / 437.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.06693, allocations: 400.6 kB / 437.9 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.06707, allocations: 90.48 kB / 438 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.06713, allocations: 36.84 kB / 438 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.06715, allocations: 7.938 kB / 438 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.06717, allocations: 38.56 kB / 438 MB, free: 6.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.06717, allocations: 0 / 438 MB, free: 6.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001794/0.06736, allocations: 101.7 kB / 438.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.414e-05/0.06738, allocations: 51.41 kB / 438.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.16e-05/0.06742, allocations: 109.8 kB / 438.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.06744, allocations: 25.7 kB / 438.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.06747, allocations: 104 kB / 438.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.0675, allocations: 35.48 kB / 438.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.06753, allocations: 21.72 kB / 438.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.877e-05/0.06758, allocations: 330.7 kB / 438.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.06761, allocations: 16 kB / 438.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.06764, allocations: 19.98 kB / 438.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.06772, allocations: 56.86 kB / 438.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.06772, allocations: 0 / 438.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001023/0.06783, allocations: 93.53 kB / 439 MB, free: 5.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.06784, allocations: 8 kB / 439 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.06785, allocations: 0 / 439 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.06787, allocations: 0 / 439 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.06797, allocations: 23.98 kB / 439 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.06798, allocations: 0 / 439 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.06801, allocations: 12.09 kB / 439 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.06802, allocations: 4 kB / 439 MB, free: 4.969 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.669e-05/0.06807, allocations: 121.8 kB / 439.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.06811, allocations: 11.83 kB / 439.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.06814, allocations: 16.36 kB / 439.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.06814, allocations: 0 / 439.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.06815, allocations: 4 kB / 439.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.06817, allocations: 84.95 kB / 439.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.06819, allocations: 4 kB / 439.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.06826, allocations: 4 kB / 439.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.06828, allocations: 7.984 kB / 439.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001827/0.06847, allocations: 160.9 kB / 439.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001661/0.06864, allocations: 287.3 kB / 439.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.611e-05/0.06869, allocations: 28.16 kB / 439.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.264e-05/0.06872, allocations: 91.25 kB / 439.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of Backend: time 1.81e-07/0.06872, allocations: 0 / 439.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.06902, allocations: 116 kB / 440 MB, free: 3.996 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003677/0.0694, allocations: 0.639 MB / 440.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of Templates: time 0.002509/0.07192, allocations: 0.8587 MB / 441.5 MB, free: 2.457 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)