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.01026/0.01026, allocations: 99.39 kB / 15.73 MB, free: 6.496 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.002094/0.002094, allocations: 199 kB / 16.68 MB, free: 6.375 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.668/1.668, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04302/0.04302, allocations: 8.112 MB / 278 MB, free: 13.07 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.001421/0.001421, allocations: 63.91 kB / 386.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3004, allocations: 48.3 MB / 435 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001789/0.3022, allocations: 0.5648 MB / 435.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003026/0.3025, allocations: 119.1 kB / 435.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.3026, allocations: 6.312 kB / 435.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.3026, allocations: 8.969 kB / 435.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.3027, allocations: 13.72 kB / 435.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.3029, allocations: 28.77 kB / 435.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.303, allocations: 68.05 kB / 435.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3032, allocations: 40.42 kB / 435.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.3032, allocations: 37.83 kB / 435.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.3033, allocations: 32.52 kB / 435.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.3033, allocations: 8.969 kB / 435.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.3034, allocations: 9.125 kB / 435.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.3034, allocations: 25.81 kB / 435.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.3034, allocations: 39.53 kB / 436 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.3036, allocations: 88.42 kB / 436 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3036, allocations: 0 / 436 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3036, allocations: 0 / 436 MB, free: 7.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3036, allocations: 1.844 kB / 436 MB, free: 7.152 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.0003859/0.304, allocations: 389 kB / 436.4 MB, free: 6.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.304, allocations: 12.89 kB / 436.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.3041, allocations: 10.8 kB / 436.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3042, allocations: 193 kB / 436.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3042, allocations: 9 kB / 436.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3043, allocations: 6.562 kB / 436.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3044, allocations: 96.45 kB / 436.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3045, allocations: 0.75 kB / 436.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3045, allocations: 9.281 kB / 436.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3045, allocations: 2.406 kB / 436.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3046, allocations: 50.3 kB / 436.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.3051, allocations: 403.4 kB / 437.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.3053, allocations: 92.27 kB / 437.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.3053, allocations: 37.64 kB / 437.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3054, allocations: 5.156 kB / 437.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.3054, allocations: 31.75 kB / 437.4 MB, free: 6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.3054, allocations: 0.5312 kB / 437.4 MB, free: 6 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002351/0.3057, allocations: 108.2 kB / 437.5 MB, free: 5.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3057, allocations: 52.78 kB / 437.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.3058, allocations: 111.1 kB / 437.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.3058, allocations: 30.5 kB / 437.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.3058, allocations: 103.3 kB / 437.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3059, allocations: 30.42 kB / 437.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3059, allocations: 22.19 kB / 437.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.306, allocations: 322 kB / 438.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.306, allocations: 24.67 kB / 438.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.3061, allocations: 24.95 kB / 438.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.416e-05/0.3062, allocations: 58.64 kB / 438.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3062, allocations: 0 / 438.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00012/0.3063, allocations: 87.92 kB / 438.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3063, allocations: 10.2 kB / 438.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3063, allocations: 1.375 kB / 438.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3063, allocations: 3.938 kB / 438.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3065, allocations: 16.7 kB / 438.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3065, allocations: 1.031 kB / 438.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.3065, allocations: 10.22 kB / 438.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3065, allocations: 1.531 kB / 438.4 MB, free: 5.141 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 6.455e-05/0.3066, allocations: 118.9 kB / 438.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.3066, allocations: 11.53 kB / 438.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.3067, allocations: 13.95 kB / 438.5 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3067, allocations: 1.391 kB / 438.5 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3067, allocations: 4.922 kB / 438.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3067, allocations: 4.594 kB / 438.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3069, allocations: 200.4 kB / 438.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3069, allocations: 0 / 438.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.307, allocations: 19.03 kB / 438.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.307, allocations: 0.8438 kB / 438.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.307, allocations: 1.25 kB / 438.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3071, allocations: 5.594 kB / 438.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3071, allocations: 3.938 kB / 438.7 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.3073, allocations: 213.5 kB / 438.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.3073, allocations: 87.78 kB / 439 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3073, allocations: 1.781 kB / 439 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.3074, allocations: 8.969 kB / 439 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.3074, allocations: 7.531 kB / 439 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3074, allocations: 2.828 kB / 439 MB, free: 4.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.12e-05/0.3075, allocations: 92.34 kB / 439.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3075, allocations: 0 / 439.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.3077, allocations: 10.84 kB / 439.2 MB, free: 4.406 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 7.468e-05/0.3078, allocations: 109.2 kB / 439.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.3079, allocations: 52.64 kB / 439.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3079, allocations: 0 / 439.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.308, allocations: 31.88 kB / 439.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.3083, allocations: 17.58 kB / 439.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.3087, allocations: 210.8 kB / 439.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.3088, allocations: 0.6967 MB / 440.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.131e-05/0.3089, allocations: 4.25 kB / 440.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.3089, allocations: 10.94 kB / 440.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3089, allocations: 0 / 440.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of Templates: time 0.003036/0.312, allocations: 0.6947 MB / 441 MB, free: 3.301 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)