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.005326/0.005326, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001236/0.001236, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.418/1.418, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.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.109 MB / 278 MB, free: 13.08 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.001506/0.001506, allocations: 71.91 kB / 386.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.269, allocations: 48.29 MB / 435 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001565/0.2706, allocations: 0.562 MB / 435.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002549/0.2709, allocations: 119 kB / 435.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.2709, allocations: 5.188 kB / 435.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.271, allocations: 10.69 kB / 435.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.699e-05/0.2711, allocations: 7.875 kB / 435.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.2712, allocations: 29 kB / 435.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.2713, allocations: 76.89 kB / 435.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2715, allocations: 40.8 kB / 435.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.309e-05/0.2715, allocations: 28.16 kB / 435.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.2716, allocations: 34.61 kB / 435.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.2716, allocations: 9.312 kB / 435.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.2716, allocations: 8.75 kB / 435.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.2717, allocations: 28.39 kB / 435.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.2717, allocations: 35.7 kB / 435.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.2718, allocations: 91.62 kB / 436 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2719, allocations: 1.156 kB / 436 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2719, allocations: 0 / 436 MB, free: 7.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.2719, allocations: 0 / 436 MB, free: 7.164 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.0003751/0.2723, allocations: 388.1 kB / 436.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2723, allocations: 13.33 kB / 436.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.2723, allocations: 14.41 kB / 436.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2725, allocations: 189.8 kB / 436.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.2725, allocations: 12.06 kB / 436.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.2725, allocations: 10.91 kB / 436.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.2727, allocations: 100.2 kB / 436.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2727, allocations: 1.25 kB / 436.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2727, allocations: 1.312 kB / 436.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2727, allocations: 2.656 kB / 436.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.2728, allocations: 53.91 kB / 436.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.2733, allocations: 407.2 kB / 437.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.2735, allocations: 87.97 kB / 437.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.2736, allocations: 41.55 kB / 437.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.2736, allocations: 2.375 kB / 437.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.2736, allocations: 31.94 kB / 437.4 MB, free: 6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.2736, allocations: 7.984 kB / 437.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002035/0.2739, allocations: 107.2 kB / 437.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.2739, allocations: 53.58 kB / 437.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.479e-05/0.2739, allocations: 114.9 kB / 437.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.274, allocations: 31.08 kB / 437.7 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.274, allocations: 103.6 kB / 437.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.274, allocations: 30.27 kB / 437.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.2741, allocations: 21.05 kB / 437.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.2741, allocations: 326.2 kB / 438.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/0.2741, allocations: 20.97 kB / 438.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.2742, allocations: 21.02 kB / 438.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.2743, allocations: 51.16 kB / 438.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2743, allocations: 0 / 438.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000121/0.2744, allocations: 92.19 kB / 438.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2744, allocations: 5.875 kB / 438.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2744, allocations: 288 / 438.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2744, allocations: 0.75 kB / 438.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2746, allocations: 21.22 kB / 438.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2746, allocations: 9.484 kB / 438.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.2746, allocations: 9.203 kB / 438.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.2746, allocations: 5.406 kB / 438.4 MB, free: 5.129 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.36e-05/0.2747, allocations: 123.4 kB / 438.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2747, allocations: 4.125 kB / 438.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.2748, allocations: 9.828 kB / 438.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2748, allocations: 1.344 kB / 438.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2748, allocations: 0 / 438.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2748, allocations: 9.938 kB / 438.5 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.275, allocations: 211.2 kB / 438.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.275, allocations: 0.5625 kB / 438.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.469e-05/0.2751, allocations: 14.59 kB / 438.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2751, allocations: 1.031 kB / 438.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2751, allocations: 1.844 kB / 438.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2751, allocations: 5.062 kB / 438.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2751, allocations: 0 / 438.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.2753, allocations: 213.2 kB / 439 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.2753, allocations: 84.77 kB / 439 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.2753, allocations: 0 / 439 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.2754, allocations: 5.641 kB / 439 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.2754, allocations: 12.39 kB / 439.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.2754, allocations: 2.594 kB / 439.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.2755, allocations: 87.28 kB / 439.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2755, allocations: 0 / 439.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.2757, allocations: 20.03 kB / 439.2 MB, free: 4.398 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 6.863e-05/0.2758, allocations: 108.7 kB / 439.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.2759, allocations: 60.12 kB / 439.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2759, allocations: 0.9688 kB / 439.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.276, allocations: 30.95 kB / 439.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.2763, allocations: 14.45 kB / 439.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.2766, allocations: 195.6 kB / 439.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2768, allocations: 0.7011 MB / 440.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.825e-05/0.2768, allocations: 4.609 kB / 440.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.2768, allocations: 11.22 kB / 440.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2768, allocations: 3.938 kB / 440.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of Templates: time 0.002715/0.2796, allocations: 0.691 MB / 441 MB, free: 3.297 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)