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.001577/0.001577, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.593/1.593, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03986/0.03986, allocations: 8.107 MB / 277.9 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.0014/0.0014, allocations: 63.91 kB / 337.2 MB, free: 26.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09704, allocations: 48.29 MB / 385.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.002257/0.09935, allocations: 0.5688 MB / 386.1 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.0997, allocations: 115.5 kB / 386.2 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.09978, allocations: 4 kB / 386.2 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.41e-05/0.09984, allocations: 11.86 kB / 386.2 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.09993, allocations: 3.938 kB / 386.2 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.1001, allocations: 27.97 kB / 386.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1003, allocations: 75.83 kB / 386.3 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1005, allocations: 39.97 kB / 386.3 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.1005, allocations: 35.8 kB / 386.4 MB, free: 9.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.1006, allocations: 35.84 kB / 386.4 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.1006, allocations: 8 kB / 386.4 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.105e-05/0.1007, allocations: 15.94 kB / 386.4 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.1007, allocations: 23.91 kB / 386.4 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.1008, allocations: 39.75 kB / 386.5 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1009, allocations: 83.73 kB / 386.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1009, allocations: 3.984 kB / 386.6 MB, free: 9.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1009, allocations: 0 / 386.6 MB, free: 9.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.101, allocations: 0 / 386.6 MB, free: 9.078 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.0006157/0.1016, allocations: 383.8 kB / 386.9 MB, free: 8.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.1016, allocations: 11.89 kB / 387 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.1017, allocations: 12.75 kB / 387 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.102, allocations: 196.2 kB / 387.2 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.102, allocations: 4.562 kB / 387.2 MB, free: 8.395 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.102, allocations: 12.38 kB / 387.2 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.1023, allocations: 97.97 kB / 387.3 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1023, allocations: 0 / 387.3 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1023, allocations: 4 kB / 387.3 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1023, allocations: 7.984 kB / 387.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1025, allocations: 47.98 kB / 387.3 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000739/0.1032, allocations: 408.5 kB / 387.7 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.1035, allocations: 82.55 kB / 387.8 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.1035, allocations: 48.78 kB / 387.9 MB, free: 7.633 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1036, allocations: 0 / 387.9 MB, free: 7.633 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1036, allocations: 34.56 kB / 387.9 MB, free: 7.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.1036, allocations: 0 / 387.9 MB, free: 7.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002973/0.1039, allocations: 105.7 kB / 388 MB, free: 7.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.104, allocations: 51.41 kB / 388 MB, free: 7.418 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.1041, allocations: 109.8 kB / 388.1 MB, free: 7.301 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1041, allocations: 37.7 kB / 388.2 MB, free: 7.258 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.1042, allocations: 103.9 kB / 388.3 MB, free: 7.152 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1042, allocations: 31.55 kB / 388.3 MB, free: 7.121 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1042, allocations: 17.72 kB / 388.3 MB, free: 7.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1044, allocations: 322.8 kB / 388.6 MB, free: 6.773 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.1044, allocations: 16 kB / 388.7 MB, free: 6.758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.1045, allocations: 23.98 kB / 388.7 MB, free: 6.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/0.1046, allocations: 60.92 kB / 388.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1046, allocations: 4 kB / 388.8 MB, free: 6.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001349/0.1047, allocations: 89.62 kB / 388.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1048, allocations: 4.625 kB / 388.8 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1048, allocations: 0.625 kB / 388.8 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1048, allocations: 4 kB / 388.8 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1049, allocations: 15.98 kB / 388.9 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1049, allocations: 0 / 388.9 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.105, allocations: 19.78 kB / 388.9 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.105, allocations: 0 / 388.9 MB, free: 6.531 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.588e-05/0.1051, allocations: 117.8 kB / 389 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1051, allocations: 4 kB / 389 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.1052, allocations: 8.375 kB / 389 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1052, allocations: 4 kB / 389 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1052, allocations: 3.984 kB / 389 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1052, allocations: 3.938 kB / 389 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.1055, allocations: 209.5 kB / 389.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1055, allocations: 3.938 kB / 389.2 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.1056, allocations: 15.98 kB / 389.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1056, allocations: 0 / 389.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1056, allocations: 7.984 kB / 389.3 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1056, allocations: 0 / 389.3 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1056, allocations: 3.938 kB / 389.3 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1059, allocations: 211.5 kB / 389.5 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.106, allocations: 81.02 kB / 389.5 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.106, allocations: 4.031 kB / 389.5 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.1061, allocations: 7.984 kB / 389.6 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.1061, allocations: 11.88 kB / 389.6 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1061, allocations: 4.062 kB / 389.6 MB, free: 5.746 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.1062, allocations: 91.36 kB / 389.7 MB, free: 5.656 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1062, allocations: 3.938 kB / 389.7 MB, free: 5.652 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1064, allocations: 19.84 kB / 389.7 MB, free: 5.633 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.1066, allocations: 103.2 kB / 389.8 MB, free: 5.52 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1068, allocations: 59.92 kB / 389.8 MB, free: 5.461 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1068, allocations: 0 / 389.8 MB, free: 5.461 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.1069, allocations: 31.97 kB / 389.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1073, allocations: 22.28 kB / 389.9 MB, free: 5.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.1078, allocations: 198.6 kB / 390.1 MB, free: 5.188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1082, allocations: 0.6963 MB / 390.8 MB, free: 4.465 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.325e-05/0.1083, allocations: 15.77 kB / 390.8 MB, free: 4.449 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.1083, allocations: 11.44 kB / 390.8 MB, free: 4.441 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1083, allocations: 3.938 kB / 390.8 MB, free: 4.438 MB / 286.1 MB Notification: Performance of Templates: time 0.003236/0.1116, allocations: 0.6756 MB / 391.5 MB, free: 3.773 MB / 286.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)