Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 108 kB / 15.61 MB, free: 152 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.002216/0.002216, allocations: 194.3 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.653/1.653, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04223/0.04223, allocations: 8.112 MB / 277.9 MB, free: 13.16 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.001781/0.001782, allocations: 67.91 kB / 337.2 MB, free: 26.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1034, allocations: 48.3 MB / 385.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001904/0.1053, allocations: 0.705 MB / 386.2 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003557/0.1057, allocations: 187.2 kB / 386.4 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.1057, allocations: 0 / 386.4 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.324e-05/0.1058, allocations: 19.75 kB / 386.4 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.225e-05/0.1059, allocations: 15.81 kB / 386.4 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1061, allocations: 51.94 kB / 386.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1062, allocations: 143.7 kB / 386.6 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1065, allocations: 69.59 kB / 386.7 MB, free: 8.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.1065, allocations: 67.77 kB / 386.7 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.1066, allocations: 75.61 kB / 386.8 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.1067, allocations: 16 kB / 386.8 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.91e-05/0.1067, allocations: 23.94 kB / 386.8 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.1068, allocations: 39.84 kB / 386.9 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.1069, allocations: 75.61 kB / 387 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.107, allocations: 183.4 kB / 387.1 MB, free: 8.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1071, allocations: 4 kB / 387.1 MB, free: 8.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1071, allocations: 7.938 kB / 387.1 MB, free: 8.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1071, allocations: 0 / 387.1 MB, free: 8.496 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005467/0.1076, allocations: 467 kB / 387.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.1077, allocations: 16.03 kB / 387.6 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.1077, allocations: 20.66 kB / 387.6 MB, free: 7.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1079, allocations: 223.9 kB / 387.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.108, allocations: 16.75 kB / 387.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.108, allocations: 16.38 kB / 387.9 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.1083, allocations: 172.9 kB / 388.1 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1083, allocations: 192 / 388.1 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1083, allocations: 15.94 kB / 388.1 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1083, allocations: 4 kB / 388.1 MB, free: 7.477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1085, allocations: 111.6 kB / 388.2 MB, free: 7.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.1094, allocations: 0.5935 MB / 388.8 MB, free: 6.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.1096, allocations: 118.5 kB / 388.9 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1097, allocations: 84.77 kB / 389 MB, free: 6.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1098, allocations: 3.938 kB / 389 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1098, allocations: 34.56 kB / 389 MB, free: 6.465 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.1098, allocations: 0 / 389 MB, free: 6.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003558/0.1102, allocations: 173.8 kB / 389.2 MB, free: 6.289 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1102, allocations: 55.41 kB / 389.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.1103, allocations: 129.8 kB / 389.4 MB, free: 6.086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1103, allocations: 29.7 kB / 389.4 MB, free: 6.051 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.1104, allocations: 128.3 kB / 389.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.1105, allocations: 59.19 kB / 389.6 MB, free: 5.863 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.1105, allocations: 33.61 kB / 389.6 MB, free: 5.824 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1106, allocations: 326.8 kB / 389.9 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.1107, allocations: 43.98 kB / 390 MB, free: 5.453 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.1108, allocations: 46.42 kB / 390 MB, free: 5.41 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1109, allocations: 96.86 kB / 390.1 MB, free: 5.312 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1109, allocations: 0 / 390.1 MB, free: 5.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002035/0.1111, allocations: 152.1 kB / 390.3 MB, free: 5.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1112, allocations: 4 kB / 390.3 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1112, allocations: 3.938 kB / 390.3 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1112, allocations: 3.938 kB / 390.3 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.1114, allocations: 39.92 kB / 390.3 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1114, allocations: 0 / 390.3 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.1114, allocations: 15.84 kB / 390.3 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.1115, allocations: 0 / 390.3 MB, free: 5.094 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 (18): * Single equations (assignments): 18 * 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 0.0001056/0.1116, allocations: 133.8 kB / 390.5 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.1116, allocations: 11.91 kB / 390.5 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.1117, allocations: 16.5 kB / 390.5 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1117, allocations: 0 / 390.5 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1117, allocations: 4 kB / 390.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1117, allocations: 3.938 kB / 390.5 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.112, allocations: 273.4 kB / 390.8 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.112, allocations: 8 kB / 390.8 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1122, allocations: 31.92 kB / 390.8 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1122, allocations: 0 / 390.8 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1122, allocations: 4 kB / 390.8 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1122, allocations: 0 / 390.8 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1122, allocations: 0 / 390.8 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.1125, allocations: 294.8 kB / 391.1 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.1126, allocations: 93.05 kB / 391.2 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1126, allocations: 7.938 kB / 391.2 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.1127, allocations: 4 kB / 391.2 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1127, allocations: 7.984 kB / 391.2 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1127, allocations: 11.94 kB / 391.2 MB, free: 4.117 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.213e-05/0.1128, allocations: 95.27 kB / 391.3 MB, free: 4.023 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1128, allocations: 0 / 391.3 MB, free: 4.023 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1131, allocations: 35.78 kB / 391.3 MB, free: 3.988 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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 9.461e-05/0.1132, allocations: 103.2 kB / 391.4 MB, free: 3.875 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1134, allocations: 119.8 kB / 391.6 MB, free: 3.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1134, allocations: 0 / 391.6 MB, free: 3.758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.1135, allocations: 63.92 kB / 391.6 MB, free: 3.695 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1138, allocations: 15.98 kB / 391.6 MB, free: 3.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.1144, allocations: 320.3 kB / 392 MB, free: 3.34 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1147, allocations: 0.7276 MB / 392.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.1148, allocations: 20.67 kB / 392.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.1148, allocations: 19.38 kB / 392.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1148, allocations: 0 / 392.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of Templates: time 0.003276/0.1181, allocations: 1.072 MB / 393.8 MB, free: 1.484 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)