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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001159/0.00116, allocations: 180.2 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.863/1.863, allocations: 194.3 MB / 202.4 MB, free: 8.547 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03754/0.03754, allocations: 7.913 MB / 255.2 MB, free: 1.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001846/0.001846, allocations: 116.3 kB / 301.9 MB, free: 3.191 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.982e-05, allocations: 4 kB / 354.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3768, allocations: 46.19 MB / 400.5 MB, free: 69.9 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09336/0.4702, allocations: 70.42 MB / 470.9 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001208/0.4704, allocations: 43.98 kB / 470.9 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003286/0.4737, allocations: 1.535 MB / 472.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4737, allocations: 0 / 472.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4737, allocations: 4 kB / 472.5 MB, free: 15.32 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003458/0.4741, allocations: 354.5 kB / 472.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4741, allocations: 12.03 kB / 472.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.4742, allocations: 7.906 kB / 472.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.4744, allocations: 202.8 kB / 473 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4744, allocations: 4 kB / 473.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.4745, allocations: 4 kB / 473.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001356/0.4746, allocations: 48.38 kB / 473.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.4748, allocations: 75.92 kB / 473.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4748, allocations: 0 / 473.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.4748, allocations: 0 / 473.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.4748, allocations: 8 kB / 473.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.4755, allocations: 372.1 kB / 473.5 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4757, allocations: 78.5 kB / 473.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.633e-05/0.4757, allocations: 44.86 kB / 473.7 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.4758, allocations: 3.984 kB / 473.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4758, allocations: 34.52 kB / 473.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4758, allocations: 4 kB / 473.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002256/0.476, allocations: 73.73 kB / 473.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.4761, allocations: 59.34 kB / 473.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4762, allocations: 101 kB / 473.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.4763, allocations: 29.7 kB / 474 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.4763, allocations: 104 kB / 474.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.4764, allocations: 23.56 kB / 474.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.4764, allocations: 0 / 474.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4766, allocations: 318.8 kB / 474.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.4766, allocations: 20 kB / 474.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.4767, allocations: 16 kB / 474.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/0.4767, allocations: 24.17 kB / 474.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4768, allocations: 3.938 kB / 474.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001355/0.4769, allocations: 89.53 kB / 474.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.4769, allocations: 4 kB / 474.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4769, allocations: 0 / 474.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.477, allocations: 3.953 kB / 474.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4771, allocations: 16 kB / 474.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4771, allocations: 0 / 474.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.4772, allocations: 3.984 kB / 474.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4772, allocations: 4 kB / 474.6 MB, free: 13.02 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.4773, allocations: 108.7 kB / 474.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.4773, allocations: 11.91 kB / 474.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.4774, allocations: 8.625 kB / 474.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4774, allocations: 4 kB / 474.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4774, allocations: 3.953 kB / 474.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4774, allocations: 0 / 474.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.4776, allocations: 170.2 kB / 474.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4776, allocations: 0 / 474.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-05/0.4777, allocations: 19.98 kB / 474.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4777, allocations: 0 / 474.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.4778, allocations: 0 / 474.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4778, allocations: 7.938 kB / 474.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4778, allocations: 0 / 474.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.478, allocations: 207.3 kB / 475.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.4781, allocations: 88.98 kB / 475.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4781, allocations: 0 / 475.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.4782, allocations: 4 kB / 475.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.4782, allocations: 4 kB / 475.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.4782, allocations: 3.984 kB / 475.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.391e-05/0.4783, allocations: 91.81 kB / 475.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4783, allocations: 0 / 475.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.4786, allocations: 12 kB / 475.3 MB, free: 12.21 MB / 330.7 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 () * 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 (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.000132/0.4787, allocations: 99.2 kB / 475.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.4788, allocations: 48.03 kB / 475.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4788, allocations: 192 / 475.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.4789, allocations: 28.23 kB / 475.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.4791, allocations: 18.14 kB / 475.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.4795, allocations: 160.1 kB / 475.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.4798, allocations: 0.6963 MB / 476.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.4799, allocations: 7.984 kB / 476.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.4799, allocations: 11.44 kB / 476.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4799, allocations: 0 / 476.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of Templates: time 0.002506/0.4824, allocations: 0.6322 MB / 477 MB, free: 10.47 MB / 330.7 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)