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.001305/0.001305, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001221/0.001221, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04098/0.04098, allocations: 8.105 MB / 278.7 MB, free: 3.941 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.0015/0.0015, allocations: 67.39 kB / 387.3 MB, free: 47.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08499/0.0865, allocations: 48.32 MB / 435.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001828/0.08837, allocations: 0.7072 MB / 436.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.08875, allocations: 171.4 kB / 436.5 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.08885, allocations: 3.938 kB / 436.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.0889, allocations: 23.73 kB / 436.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.809e-05/0.089, allocations: 15.81 kB / 436.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.08918, allocations: 55.86 kB / 436.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.08934, allocations: 135.8 kB / 436.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.08954, allocations: 85.59 kB / 436.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.08959, allocations: 63.72 kB / 436.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.08968, allocations: 75.62 kB / 437 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.08971, allocations: 20 kB / 437 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.08973, allocations: 16 kB / 437 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.08977, allocations: 47.78 kB / 437.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.08983, allocations: 75.59 kB / 437.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.08999, allocations: 187.4 kB / 437.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.09, allocations: 0 / 437.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09001, allocations: 0 / 437.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.09003, allocations: 4 kB / 437.3 MB, free: 6.898 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.0004939/0.09053, allocations: 463.3 kB / 437.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.09057, allocations: 12.03 kB / 437.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.09062, allocations: 16.75 kB / 437.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.09078, allocations: 220 kB / 438 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.09081, allocations: 16.75 kB / 438 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.09084, allocations: 24.31 kB / 438.1 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.09112, allocations: 168.9 kB / 438.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.09114, allocations: 192 / 438.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.09117, allocations: 15.94 kB / 438.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.09118, allocations: 4 kB / 438.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.09135, allocations: 111.7 kB / 438.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.09201, allocations: 0.5779 MB / 438.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.09221, allocations: 134.5 kB / 439.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.513e-05/0.09231, allocations: 72.84 kB / 439.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.09233, allocations: 4 kB / 439.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.09235, allocations: 38.55 kB / 439.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.09236, allocations: 0 / 439.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002792/0.09264, allocations: 173.7 kB / 439.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.09268, allocations: 55.41 kB / 439.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.09275, allocations: 133.2 kB / 439.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.09276, allocations: 25.7 kB / 439.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.09281, allocations: 136.2 kB / 439.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.09285, allocations: 55.2 kB / 439.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.09289, allocations: 25.72 kB / 439.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.09294, allocations: 330.8 kB / 440.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.09301, allocations: 35.98 kB / 440.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.269e-05/0.09306, allocations: 43.98 kB / 440.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.09319, allocations: 110.8 kB / 440.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.09319, allocations: 0 / 440.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001609/0.09336, allocations: 150.2 kB / 440.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.09338, allocations: 4 kB / 440.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.09339, allocations: 3.984 kB / 440.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.0934, allocations: 4 kB / 440.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.09357, allocations: 27.98 kB / 440.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.09358, allocations: 0 / 440.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.09362, allocations: 11.94 kB / 440.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.09364, allocations: 8 kB / 440.5 MB, free: 3.516 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.749e-05/0.09371, allocations: 133.6 kB / 440.6 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.09375, allocations: 19.75 kB / 440.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.09379, allocations: 20.48 kB / 440.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.0938, allocations: 4 kB / 440.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.09381, allocations: 0 / 440.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.09382, allocations: 3.938 kB / 440.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.09402, allocations: 265.6 kB / 440.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.09403, allocations: 0 / 440.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.09419, allocations: 31.97 kB / 440.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0942, allocations: 4 kB / 440.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.09421, allocations: 4 kB / 441 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.09422, allocations: 0 / 441 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.09423, allocations: 0 / 441 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.09449, allocations: 299.1 kB / 441.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.09452, allocations: 85.11 kB / 441.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.09455, allocations: 12 kB / 441.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.09463, allocations: 7.984 kB / 441.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.09466, allocations: 12.03 kB / 441.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.09467, allocations: 7.938 kB / 441.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.566e-05/0.09471, allocations: 102.6 kB / 441.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09472, allocations: 0 / 441.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.09495, allocations: 35.84 kB / 441.5 MB, free: 2.398 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 7.492e-05/0.09503, allocations: 103.2 kB / 441.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.09523, allocations: 114.8 kB / 441.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.09524, allocations: 0 / 441.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.09531, allocations: 63.92 kB / 441.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.09563, allocations: 15.98 kB / 441.8 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.09612, allocations: 354 kB / 442.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.09626, allocations: 0.7197 MB / 442.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.09631, allocations: 15.44 kB / 442.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09631, allocations: 0 / 442.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of Templates: time 0.003049/0.09937, allocations: 1.728 MB / 444.6 MB, free: 15.23 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)