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.0009785/0.0009786, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0011/0.0011, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.476/1.476, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03925/0.03925, allocations: 8.11 MB / 277.6 MB, free: 13.31 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.001645/0.001645, allocations: 68.28 kB / 336.7 MB, free: 26.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1022, allocations: 48.29 MB / 385 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001954/0.1042, allocations: 0.6217 MB / 385.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.1046, allocations: 123.5 kB / 385.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.1047, allocations: 4 kB / 385.7 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.774e-05/0.1047, allocations: 3.938 kB / 385.7 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.1048, allocations: 4 kB / 385.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.105, allocations: 27.92 kB / 385.8 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1051, allocations: 71.84 kB / 385.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1053, allocations: 43.95 kB / 385.9 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.1053, allocations: 27.86 kB / 385.9 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.1054, allocations: 31.84 kB / 385.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1054, allocations: 12 kB / 385.9 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.82e-05/0.1054, allocations: 12 kB / 386 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.1055, allocations: 23.92 kB / 386 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.1055, allocations: 39.8 kB / 386 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1056, allocations: 87.66 kB / 386.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1057, allocations: 0 / 386.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1057, allocations: 4 kB / 386.1 MB, free: 9.379 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1057, allocations: 0 / 386.1 MB, free: 9.379 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.000485/0.1062, allocations: 379.8 kB / 386.5 MB, free: 8.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1062, allocations: 11.89 kB / 386.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.1063, allocations: 20.75 kB / 386.5 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1065, allocations: 188.2 kB / 386.7 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1065, allocations: 4.562 kB / 386.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.1066, allocations: 12.38 kB / 386.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.1068, allocations: 93.98 kB / 386.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1068, allocations: 0 / 386.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1068, allocations: 7.938 kB / 386.8 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1068, allocations: 7.984 kB / 386.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1069, allocations: 51.97 kB / 386.9 MB, free: 8.523 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.1076, allocations: 408.5 kB / 387.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1078, allocations: 78.56 kB / 387.3 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.1079, allocations: 40.84 kB / 387.4 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1079, allocations: 11.94 kB / 387.4 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1079, allocations: 38.44 kB / 387.4 MB, free: 7.887 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1079, allocations: 0 / 387.4 MB, free: 7.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002614/0.1082, allocations: 105.7 kB / 387.5 MB, free: 7.777 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1082, allocations: 51.41 kB / 387.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.1083, allocations: 118.1 kB / 387.7 MB, free: 7.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.1084, allocations: 29.7 kB / 387.7 MB, free: 7.555 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.1084, allocations: 103.9 kB / 387.8 MB, free: 7.449 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1085, allocations: 31.56 kB / 387.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.1085, allocations: 25.7 kB / 387.9 MB, free: 7.387 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1086, allocations: 314.8 kB / 388.2 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.1087, allocations: 27.92 kB / 388.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.1087, allocations: 20 kB / 388.2 MB, free: 7.023 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.004e-05/0.1088, allocations: 52.84 kB / 388.3 MB, free: 6.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1088, allocations: 4 kB / 388.3 MB, free: 6.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001388/0.109, allocations: 85.62 kB / 388.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.109, allocations: 10.19 kB / 388.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.109, allocations: 4 kB / 388.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.109, allocations: 0 / 388.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1091, allocations: 15.98 kB / 388.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1092, allocations: 4 kB / 388.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.1092, allocations: 15.78 kB / 388.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1092, allocations: 288 / 388.4 MB, free: 6.828 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 8.254e-05/0.1093, allocations: 117.8 kB / 388.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.1093, allocations: 4 kB / 388.6 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.1094, allocations: 20.31 kB / 388.6 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1094, allocations: 0 / 388.6 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1094, allocations: 0 / 388.6 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1094, allocations: 3.938 kB / 388.6 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1096, allocations: 209.5 kB / 388.8 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1096, allocations: 0 / 388.8 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.1097, allocations: 15.98 kB / 388.8 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1097, allocations: 0 / 388.8 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1097, allocations: 0 / 388.8 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1098, allocations: 4 kB / 388.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/0.1098, allocations: 3.984 kB / 388.8 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.11, allocations: 223.3 kB / 389 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.1101, allocations: 85.05 kB / 389.1 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1101, allocations: 0 / 389.1 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.1101, allocations: 4 kB / 389.1 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.1102, allocations: 11.92 kB / 389.1 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1102, allocations: 0 / 389.1 MB, free: 6.043 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.352e-05/0.1102, allocations: 87.28 kB / 389.2 MB, free: 5.957 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1102, allocations: 4.062 kB / 389.2 MB, free: 5.953 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1106, allocations: 19.84 kB / 389.2 MB, free: 5.934 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.0002116/0.1108, allocations: 103.2 kB / 389.3 MB, free: 5.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.111, allocations: 59.92 kB / 389.4 MB, free: 5.762 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.111, allocations: 0 / 389.4 MB, free: 5.762 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.1111, allocations: 31.94 kB / 389.4 MB, free: 5.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1114, allocations: 11.98 kB / 389.4 MB, free: 5.719 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.1119, allocations: 246.8 kB / 389.7 MB, free: 5.449 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1122, allocations: 0.6963 MB / 390.4 MB, free: 4.727 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.1122, allocations: 19.64 kB / 390.4 MB, free: 4.711 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.1122, allocations: 11.44 kB / 390.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1122, allocations: 0 / 390.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of Templates: time 0.002692/0.1149, allocations: 0.6787 MB / 391.1 MB, free: 4.035 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)