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.001393/0.001398, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001459/0.001459, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03919/0.03919, allocations: 8.103 MB / 278.5 MB, free: 13.12 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.0005377/0.0005379, allocations: 15.44 kB / 338.2 MB, free: 27.06 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 49.27 MB / 387.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.0007973/0.1085, allocations: 272.4 kB / 387.8 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003526/0.1089, allocations: 117.3 kB / 387.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.109, allocations: 4 kB / 387.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.109, allocations: 3.938 kB / 387.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.1091, allocations: 0 / 387.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.1093, allocations: 23.97 kB / 387.9 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.1095, allocations: 39.91 kB / 388 MB, free: 9.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1097, allocations: 39.95 kB / 388 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.1098, allocations: 27.86 kB / 388 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.1099, allocations: 27.84 kB / 388 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.1099, allocations: 4 kB / 388.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.823e-05/0.1099, allocations: 4 kB / 388.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.11, allocations: 19.92 kB / 388.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.11, allocations: 33.7 kB / 388.1 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1101, allocations: 71.77 kB / 388.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1101, allocations: 3.938 kB / 388.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.1101, allocations: 0 / 388.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1102, allocations: 4 kB / 388.2 MB, free: 9.043 MB / 286.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.0005441/0.1107, allocations: 371.6 kB / 388.5 MB, free: 8.629 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1108, allocations: 8.031 kB / 388.6 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.1108, allocations: 11.91 kB / 388.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1111, allocations: 186.9 kB / 388.8 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1111, allocations: 12.12 kB / 388.8 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.1112, allocations: 8 kB / 388.8 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.1114, allocations: 95.11 kB / 388.9 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1114, allocations: 0 / 388.9 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.1115, allocations: 4 kB / 388.9 MB, free: 8.266 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1115, allocations: 8 kB / 388.9 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1116, allocations: 48.55 kB / 388.9 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.1123, allocations: 405.4 kB / 389.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1125, allocations: 98.47 kB / 389.4 MB, free: 7.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1125, allocations: 0 / 389.4 MB, free: 7.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1125, allocations: 30.56 kB / 389.4 MB, free: 7.621 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1125, allocations: 0 / 389.4 MB, free: 7.621 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002686/0.1128, allocations: 93.69 kB / 389.5 MB, free: 7.523 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1129, allocations: 59.36 kB / 389.6 MB, free: 7.453 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.113, allocations: 109.9 kB / 389.7 MB, free: 7.336 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.113, allocations: 33.7 kB / 389.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.1131, allocations: 107.9 kB / 389.8 MB, free: 7.188 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.1131, allocations: 31.55 kB / 389.9 MB, free: 7.156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.1131, allocations: 0 / 389.9 MB, free: 7.156 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1133, allocations: 318.8 kB / 390.2 MB, free: 6.836 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.1134, allocations: 19.98 kB / 390.2 MB, free: 6.816 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.331e-05/0.1134, allocations: 20 kB / 390.2 MB, free: 6.797 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.1135, allocations: 23.98 kB / 390.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1135, allocations: 192 / 390.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.1137, allocations: 101.5 kB / 390.3 MB, free: 6.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1137, allocations: 4 kB / 390.3 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1137, allocations: 0 / 390.3 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1137, allocations: 0 / 390.3 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1139, allocations: 20 kB / 390.4 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1139, allocations: 3.953 kB / 390.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.1139, allocations: 0 / 390.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1139, allocations: 7.984 kB / 390.4 MB, free: 6.633 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.939e-05/0.114, allocations: 125.7 kB / 390.5 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1141, allocations: 15.91 kB / 390.5 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.1141, allocations: 8.375 kB / 390.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1141, allocations: 0 / 390.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1141, allocations: 0 / 390.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1141, allocations: 3.953 kB / 390.5 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.1144, allocations: 201.6 kB / 390.7 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1144, allocations: 0 / 390.7 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1145, allocations: 15.98 kB / 390.7 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1145, allocations: 0 / 390.7 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1145, allocations: 8 kB / 390.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1145, allocations: 4 kB / 390.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1145, allocations: 0 / 390.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1148, allocations: 211.3 kB / 391 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.1148, allocations: 81.14 kB / 391 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1149, allocations: 4 kB / 391 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.1149, allocations: 0 / 391 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.115, allocations: 7.984 kB / 391 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.115, allocations: 4 kB / 391.1 MB, free: 5.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.834e-05/0.115, allocations: 88.05 kB / 391.1 MB, free: 5.777 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.115, allocations: 0 / 391.1 MB, free: 5.777 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1153, allocations: 23.84 kB / 391.2 MB, free: 5.754 MB / 286.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 (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.0001218/0.1154, allocations: 95.25 kB / 391.3 MB, free: 5.648 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.1156, allocations: 59.91 kB / 391.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1156, allocations: 288 / 391.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.1156, allocations: 24 kB / 391.3 MB, free: 5.566 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1159, allocations: 27.88 kB / 391.4 MB, free: 5.539 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.1163, allocations: 239.3 kB / 391.6 MB, free: 5.281 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1166, allocations: 0.7043 MB / 392.3 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.052e-05/0.1166, allocations: 7.781 kB / 392.3 MB, free: 4.543 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.1167, allocations: 7.438 kB / 392.3 MB, free: 4.535 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1167, allocations: 4 kB / 392.3 MB, free: 4.531 MB / 286.1 MB Notification: Performance of Templates: time 0.002873/0.1196, allocations: 0.6221 MB / 392.9 MB, free: 3.922 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: