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.0009615/0.0009615, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001077/0.001077, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.276/1.276, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0375/0.0375, allocations: 8.111 MB / 277.4 MB, free: 13.38 MB / 238.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.001235/0.001235, allocations: 63.91 kB / 336.5 MB, free: 26.97 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07914/0.08038, allocations: 48.3 MB / 384.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001761/0.08218, allocations: 0.7582 MB / 385.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003049/0.0825, allocations: 183.2 kB / 385.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.08256, allocations: 4 kB / 385.7 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.425e-05/0.08263, allocations: 11.88 kB / 385.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.0827, allocations: 11.88 kB / 385.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.08286, allocations: 51.95 kB / 385.8 MB, free: 9.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.083, allocations: 127.8 kB / 385.9 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.08316, allocations: 70.05 kB / 386 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.08321, allocations: 59.72 kB / 386.1 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.08329, allocations: 67.62 kB / 386.1 MB, free: 9.281 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.08333, allocations: 12 kB / 386.1 MB, free: 9.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.08335, allocations: 12 kB / 386.2 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.08339, allocations: 39.84 kB / 386.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.08345, allocations: 71.58 kB / 386.3 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.0836, allocations: 175.4 kB / 386.4 MB, free: 8.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.08361, allocations: 0 / 386.4 MB, free: 8.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.08362, allocations: 4 kB / 386.4 MB, free: 8.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.08363, allocations: 3.938 kB / 386.4 MB, free: 8.969 MB / 286.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.0005047/0.08414, allocations: 471.6 kB / 386.9 MB, free: 8.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.08418, allocations: 12.03 kB / 386.9 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.08423, allocations: 20.66 kB / 386.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.08442, allocations: 219.9 kB / 387.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.08444, allocations: 12.75 kB / 387.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.08447, allocations: 20.38 kB / 387.2 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.08475, allocations: 168.9 kB / 387.3 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.08477, allocations: 192 / 387.3 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.0848, allocations: 7.938 kB / 387.4 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.08481, allocations: 4 kB / 387.4 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.08499, allocations: 111.7 kB / 387.5 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/0.08576, allocations: 0.5934 MB / 388.1 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.08598, allocations: 134.5 kB / 388.2 MB, free: 7.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/0.08609, allocations: 76.78 kB / 388.3 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.0861, allocations: 0 / 388.3 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.08613, allocations: 38.56 kB / 388.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 8.71e-07/0.08613, allocations: 0 / 388.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002955/0.08643, allocations: 177.7 kB / 388.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.08646, allocations: 55.41 kB / 388.5 MB, free: 6.695 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/0.08655, allocations: 129.8 kB / 388.7 MB, free: 6.559 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.08658, allocations: 33.7 kB / 388.7 MB, free: 6.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.08664, allocations: 120.3 kB / 388.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.08668, allocations: 51.2 kB / 388.9 MB, free: 6.348 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.08674, allocations: 37.61 kB / 388.9 MB, free: 6.305 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.08683, allocations: 334.7 kB / 389.2 MB, free: 5.969 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.08691, allocations: 39.98 kB / 389.3 MB, free: 5.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.08697, allocations: 39.98 kB / 389.3 MB, free: 5.891 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.08711, allocations: 111 kB / 389.4 MB, free: 5.781 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.08712, allocations: 0 / 389.4 MB, free: 5.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001932/0.08732, allocations: 152.1 kB / 389.6 MB, free: 5.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.08734, allocations: 4 kB / 389.6 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.08735, allocations: 0 / 389.6 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.08736, allocations: 3.938 kB / 389.6 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.08754, allocations: 39.91 kB / 389.6 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.08755, allocations: 0 / 389.6 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.08759, allocations: 11.84 kB / 389.6 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.0876, allocations: 4 kB / 389.6 MB, free: 5.566 MB / 286.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 8.749e-05/0.0877, allocations: 129.8 kB / 389.7 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.08774, allocations: 11.89 kB / 389.8 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.08778, allocations: 16.5 kB / 389.8 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.08778, allocations: 0 / 389.8 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.08779, allocations: 0 / 389.8 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.0878, allocations: 7.922 kB / 389.8 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.08805, allocations: 273.4 kB / 390 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.08806, allocations: 0 / 390 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.08823, allocations: 31.92 kB / 390.1 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.08824, allocations: 4 kB / 390.1 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.08826, allocations: 4 kB / 390.1 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.08826, allocations: 4 kB / 390.1 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.08827, allocations: 3.984 kB / 390.1 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.08858, allocations: 290.8 kB / 390.4 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.08863, allocations: 85.02 kB / 390.5 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.08865, allocations: 4 kB / 390.5 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.08874, allocations: 8 kB / 390.5 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.08876, allocations: 12.03 kB / 390.5 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.08878, allocations: 3.938 kB / 390.5 MB, free: 4.605 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.302e-05/0.08884, allocations: 99.27 kB / 390.6 MB, free: 4.508 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.08884, allocations: 0 / 390.6 MB, free: 4.508 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.08908, allocations: 43.72 kB / 390.6 MB, free: 4.465 MB / 286.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 7.927e-05/0.08916, allocations: 95.25 kB / 390.7 MB, free: 4.359 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.08935, allocations: 115.8 kB / 390.8 MB, free: 4.246 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.08936, allocations: 4 kB / 390.8 MB, free: 4.242 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.08944, allocations: 59.92 kB / 390.9 MB, free: 4.184 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.08976, allocations: 19.92 kB / 390.9 MB, free: 4.164 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.09026, allocations: 401.9 kB / 391.3 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.09049, allocations: 0.7277 MB / 392 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.09055, allocations: 12.88 kB / 392.1 MB, free: 2.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.09059, allocations: 15.44 kB / 392.1 MB, free: 2.969 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.0906, allocations: 0 / 392.1 MB, free: 2.969 MB / 286.1 MB Notification: Performance of Templates: time 0.002899/0.0935, allocations: 1.039 MB / 393.1 MB, free: 1.938 MB / 286.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)