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.001148/0.001148, allocations: 112.2 kB / 16.41 MB, free: 6.008 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.001062/0.001062, allocations: 185 kB / 17.34 MB, free: 5.629 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.344/1.344, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04214/0.04214, allocations: 8.094 MB / 278.7 MB, free: 3.965 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.001499/0.001499, allocations: 69.2 kB / 387.3 MB, free: 47.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08309/0.0846, 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.001653/0.0863, allocations: 0.5436 MB / 436.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.08661, allocations: 131.8 kB / 436.3 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.08667, allocations: 4 kB / 436.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.08673, allocations: 11.88 kB / 436.3 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.508e-05/0.08681, allocations: 7.875 kB / 436.3 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.08696, allocations: 27.95 kB / 436.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.08709, allocations: 71.83 kB / 436.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.08724, allocations: 47.95 kB / 436.5 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.08728, allocations: 23.92 kB / 436.5 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.08735, allocations: 39.77 kB / 436.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.08738, allocations: 12 kB / 436.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.0874, allocations: 8 kB / 436.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.08742, allocations: 27.92 kB / 436.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.08746, allocations: 27.81 kB / 436.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.08757, allocations: 95.66 kB / 436.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.08758, allocations: 4 kB / 436.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08759, allocations: 0 / 436.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.0876, 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.00038/0.08798, allocations: 395.4 kB / 437.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.08802, allocations: 11.89 kB / 437.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.08807, allocations: 12.84 kB / 437.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.0882, allocations: 192.2 kB / 437.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.08822, allocations: 8.562 kB / 437.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.08824, allocations: 8.375 kB / 437.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.08841, allocations: 101.9 kB / 437.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.08843, allocations: 0 / 437.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.08845, allocations: 3.938 kB / 437.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.08846, allocations: 7.984 kB / 437.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.08855, allocations: 47.98 kB / 437.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.089, allocations: 400.6 kB / 437.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.08916, allocations: 94.47 kB / 438 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.08922, allocations: 36.86 kB / 438 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.08924, allocations: 0 / 438 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.08926, allocations: 38.55 kB / 438 MB, free: 6.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.08927, allocations: 4 kB / 438 MB, free: 6.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001941/0.08947, allocations: 97.59 kB / 438.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.0895, allocations: 51.41 kB / 438.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.08955, allocations: 113.8 kB / 438.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.08957, allocations: 29.64 kB / 438.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.08961, allocations: 104 kB / 438.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.08963, allocations: 31.55 kB / 438.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.08967, allocations: 17.72 kB / 438.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.08972, allocations: 330.8 kB / 438.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/0.08976, allocations: 16 kB / 438.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.0898, allocations: 23.98 kB / 438.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.08987, allocations: 48.86 kB / 438.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.08988, allocations: 0 / 438.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001001/0.08998, allocations: 93.72 kB / 439 MB, free: 5.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.09, allocations: 4 kB / 439 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.09001, allocations: 0.7188 kB / 439 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.09003, allocations: 7.938 kB / 439 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.09013, allocations: 15.98 kB / 439 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.09014, allocations: 7.938 kB / 439 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.09017, allocations: 11.88 kB / 439 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.09019, allocations: 4 kB / 439 MB, free: 4.965 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 5.674e-05/0.09025, allocations: 117.8 kB / 439.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.09028, allocations: 7.906 kB / 439.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.09031, allocations: 8.375 kB / 439.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.09032, allocations: 4 kB / 439.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.09033, allocations: 0 / 439.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.09034, allocations: 11.92 kB / 439.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.09049, allocations: 205.8 kB / 439.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.0905, allocations: 0 / 439.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.09059, allocations: 19.98 kB / 439.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.0906, allocations: 0 / 439.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.09062, allocations: 0 / 439.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.09062, allocations: 0 / 439.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.09063, allocations: 0 / 439.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.09081, allocations: 223.3 kB / 439.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.09083, allocations: 85.05 kB / 439.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.09085, allocations: 0 / 439.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.09092, allocations: 0 / 439.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.09094, allocations: 15.92 kB / 439.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.09095, allocations: 0 / 439.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.679e-05/0.09098, allocations: 87.27 kB / 439.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.09099, allocations: 0 / 439.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.09121, allocations: 19.94 kB / 439.8 MB, free: 4.082 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 8.434e-05/0.0913, allocations: 103.3 kB / 439.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.09143, allocations: 67.84 kB / 440 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.09144, allocations: 0 / 440 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.09148, allocations: 31.92 kB / 440 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.09181, allocations: 15.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.0003411/0.09216, allocations: 232.8 kB / 440.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.09228, allocations: 0.6963 MB / 441 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.09231, allocations: 19.38 kB / 441 MB, free: 2.863 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09232, allocations: 0 / 441 MB, free: 2.863 MB / 318.1 MB Notification: Performance of Templates: time 0.002076/0.0944, allocations: 1.059 MB / 442 MB, free: 1.805 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)