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.08056/0.08056, allocations: 15.28 MB / 31.54 MB, free: 4.039 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.001026/0.001025, allocations: 113.5 kB / 36.54 MB, free: 3.227 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.001194/0.001194, allocations: 193.1 kB / 41.65 MB, free: 7.133 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.348/1.348, allocations: 222.9 MB / 269.5 MB, free: 6.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.126/0.126, allocations: 23.36 MB / 347.2 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 115.8 kB / 419.7 MB, free: 29.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.1008, allocations: 59.36 MB / 479 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003286/0.1042, allocations: 2.303 MB / 481.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003448/0.1046, allocations: 151.4 kB / 481.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.1047, allocations: 4 kB / 481.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.1048, allocations: 23.72 kB / 481.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.105, allocations: 59.55 kB / 481.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.1051, allocations: 31.95 kB / 481.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1053, allocations: 175.1 kB / 481.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1055, allocations: 69.94 kB / 481.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.067e-05/0.1056, allocations: 59.73 kB / 481.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1057, allocations: 67.7 kB / 482 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1057, allocations: 8 kB / 482 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.1057, allocations: 19.94 kB / 482 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.1058, allocations: 35.83 kB / 482 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.1059, allocations: 71.67 kB / 482.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.106, allocations: 163.3 kB / 482.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1061, allocations: 0 / 482.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1061, allocations: 0 / 482.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.1061, allocations: 0 / 482.3 MB, free: 15.02 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.0005108/0.1066, allocations: 431 kB / 482.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1066, allocations: 8.031 kB / 482.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.1067, allocations: 20.75 kB / 482.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1069, allocations: 220 kB / 482.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.107, allocations: 12.31 kB / 482.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.107, allocations: 12.38 kB / 482.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1072, allocations: 110.2 kB / 483.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1072, allocations: 8.172 kB / 483.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1072, allocations: 7.938 kB / 483.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1072, allocations: 4 kB / 483.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1074, allocations: 67.97 kB / 483.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.108, allocations: 448.3 kB / 483.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1082, allocations: 118.6 kB / 483.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.1083, allocations: 44.86 kB / 483.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1083, allocations: 7.984 kB / 483.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1083, allocations: 38.5 kB / 483.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1083, allocations: 0 / 483.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002677/0.1086, allocations: 137.4 kB / 483.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.1086, allocations: 55.41 kB / 484 MB, free: 13.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1088, allocations: 145.7 kB / 484.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1088, allocations: 29.7 kB / 484.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.1089, allocations: 127.7 kB / 484.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1089, allocations: 43.36 kB / 484.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.109, allocations: 29.72 kB / 484.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.1091, allocations: 326.8 kB / 484.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.1091, allocations: 27.98 kB / 484.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.1092, allocations: 34.48 kB / 484.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.1096, allocations: 155.6 kB / 484.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1096, allocations: 3.938 kB / 484.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001937/0.1098, allocations: 139.7 kB / 485 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1098, allocations: 7.938 kB / 485 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1098, allocations: 8 kB / 485 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1098, allocations: 3.938 kB / 485 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.11, allocations: 27.98 kB / 485.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.11, allocations: 0 / 485.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.11, allocations: 7.906 kB / 485.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1101, allocations: 7.938 kB / 485.1 MB, free: 11.98 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.0001525/0.1102, allocations: 140.8 kB / 485.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.1103, allocations: 15.84 kB / 485.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.1103, allocations: 12.72 kB / 485.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1103, allocations: 4 kB / 485.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1103, allocations: 3.938 kB / 485.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1103, allocations: 0 / 485.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1106, allocations: 245.4 kB / 485.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1106, allocations: 0 / 485.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1107, allocations: 16 kB / 485.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1107, allocations: 11.88 kB / 485.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1107, allocations: 0 / 485.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1107, allocations: 4 kB / 485.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1108, allocations: 0 / 485.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.111, allocations: 239.5 kB / 485.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1111, allocations: 92.86 kB / 485.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1111, allocations: 4 kB / 485.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.1112, allocations: 3.938 kB / 485.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.1112, allocations: 11.98 kB / 485.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1112, allocations: 64 / 485.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.426e-05/0.1113, allocations: 119.1 kB / 486 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1113, allocations: 0 / 486 MB, free: 10.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1116, allocations: 39.94 kB / 486 MB, free: 10.94 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 8.154e-05/0.1116, allocations: 103.1 kB / 486.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1118, allocations: 83.97 kB / 486.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1118, allocations: 0 / 486.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.742e-05/0.1119, allocations: 40.47 kB / 486.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1122, allocations: 25.19 kB / 486.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.1128, allocations: 374.3 kB / 486.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.1131, allocations: 0.7124 MB / 487.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.1132, allocations: 16.64 kB / 487.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.1132, allocations: 11.44 kB / 487.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1132, allocations: 3.938 kB / 487.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003561/0.1168, allocations: 1.213 MB / 488.6 MB, free: 8.324 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 cvode -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)