Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08203/0.08203, allocations: 15.28 MB / 31.53 MB, free: 4.121 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 110 kB / 36.54 MB, free: 3.207 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001156, allocations: 193.1 kB / 41.64 MB, free: 7.156 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 269.5 MB, free: 6.922 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1282/0.1282, allocations: 23.35 MB / 347.2 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 107.8 kB / 419.6 MB, free: 29.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1047, allocations: 59.37 MB / 479 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003619/0.1083, allocations: 2.31 MB / 481.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003376/0.1087, allocations: 155.5 kB / 481.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/0.1088, allocations: 3.938 kB / 481.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.1089, allocations: 19.8 kB / 481.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.578e-05/0.109, allocations: 55.48 kB / 481.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.1092, allocations: 39.95 kB / 481.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1094, allocations: 179.1 kB / 481.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1096, allocations: 57.95 kB / 481.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.707e-05/0.1097, allocations: 63.77 kB / 481.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1098, allocations: 71.64 kB / 482 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1098, allocations: 12 kB / 482 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.1099, allocations: 12 kB / 482 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.1099, allocations: 23.92 kB / 482 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/0.11, allocations: 75.61 kB / 482.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1101, allocations: 163.3 kB / 482.2 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1101, allocations: 0 / 482.2 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1102, allocations: 0 / 482.2 MB, free: 15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1102, allocations: 0 / 482.2 MB, free: 15 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004752/0.1106, allocations: 431 kB / 482.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1107, allocations: 12.03 kB / 482.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.1107, allocations: 20.73 kB / 482.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.111, allocations: 216 kB / 482.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.111, allocations: 12.31 kB / 482.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.111, allocations: 12.38 kB / 482.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1112, allocations: 114.2 kB / 483 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1112, allocations: 192 / 483 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1113, allocations: 7.938 kB / 483 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1113, allocations: 4 kB / 483.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.1114, allocations: 71.97 kB / 483.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.112, allocations: 452.2 kB / 483.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1122, allocations: 114.6 kB / 483.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.1123, allocations: 52.78 kB / 483.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1123, allocations: 0 / 483.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1123, allocations: 34.5 kB / 483.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.1124, allocations: 4 kB / 483.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002726/0.1126, allocations: 141.4 kB / 483.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.1127, allocations: 51.41 kB / 484 MB, free: 13.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1128, allocations: 153.3 kB / 484.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1128, allocations: 25.7 kB / 484.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.1129, allocations: 123.7 kB / 484.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.1129, allocations: 43.36 kB / 484.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.113, allocations: 37.64 kB / 484.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1131, allocations: 326.8 kB / 484.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.597e-05/0.1132, allocations: 31.98 kB / 484.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1133, allocations: 30.5 kB / 484.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.1136, allocations: 159.5 kB / 484.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1137, allocations: 0 / 484.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001891/0.1138, allocations: 139.7 kB / 485 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1139, allocations: 7.938 kB / 485 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1139, allocations: 0 / 485 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1139, allocations: 0 / 485 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.114, allocations: 27.98 kB / 485 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.114, allocations: 4 kB / 485 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.1141, allocations: 7.906 kB / 485 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1141, allocations: 12 kB / 485.1 MB, free: 11.96 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = 0.0 start = predator.population_start unit = "1" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = 0.0 start = prey.population_start unit = "1" fixed = true nominal = prey.NominalPopulation ) type: Real 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.0001407/0.1143, allocations: 134 kB / 485.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1143, allocations: 11.84 kB / 485.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.1144, allocations: 24.7 kB / 485.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1144, allocations: 0 / 485.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1144, allocations: 4 kB / 485.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1144, allocations: 0 / 485.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.1146, allocations: 237.4 kB / 485.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1146, allocations: 0 / 485.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1147, allocations: 19.98 kB / 485.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1148, allocations: 3.938 kB / 485.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1148, allocations: 4 kB / 485.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1148, allocations: 7.938 kB / 485.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1148, allocations: 0 / 485.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1151, allocations: 246.9 kB / 485.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.1151, allocations: 96.88 kB / 485.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1151, allocations: 4 kB / 485.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.1152, allocations: 0 / 485.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.1152, allocations: 4 kB / 485.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1153, allocations: 7.984 kB / 485.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.185e-05/0.1153, allocations: 115.1 kB / 486 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1153, allocations: 64 / 486 MB, free: 10.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1156, allocations: 43.94 kB / 486 MB, free: 10.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.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 (12): * Single equations (assignments): 12 * 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.572e-05/0.1157, allocations: 99.17 kB / 486.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1159, allocations: 87.86 kB / 486.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1159, allocations: 0 / 486.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/0.1159, allocations: 44.47 kB / 486.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.1162, allocations: 25.45 kB / 486.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.1168, allocations: 378 kB / 486.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1171, allocations: 0.7124 MB / 487.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.789e-05/0.1171, allocations: 16.58 kB / 487.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1172, allocations: 15.44 kB / 487.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1172, allocations: 0 / 487.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of Templates: time 0.003531/0.1207, allocations: 1.193 MB / 488.6 MB, free: 8.309 MB / 350.1 MB make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & ./Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)