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.084/0.084, allocations: 15.28 MB / 31.45 MB, free: 4.203 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.001072/0.001072, allocations: 103.1 kB / 36.44 MB, free: 3.23 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.001208/0.001208, allocations: 193 kB / 41.55 MB, free: 7.223 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.425/1.425, allocations: 222.9 MB / 269.4 MB, free: 6.855 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1374/0.1374, allocations: 23.35 MB / 347.1 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 107.8 kB / 418.9 MB, free: 30.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.1019, allocations: 59.36 MB / 478.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003893/0.1059, allocations: 2.31 MB / 480.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004092/0.1063, allocations: 151.5 kB / 480.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1064, allocations: 3.938 kB / 480.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1066, allocations: 27.72 kB / 480.7 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1068, allocations: 47.55 kB / 480.8 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.107, allocations: 39.95 kB / 480.8 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1072, allocations: 179.1 kB / 481 MB, free: 208 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1074, allocations: 65.95 kB / 481 MB, free: 144 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.1075, allocations: 59.77 kB / 481.1 MB, free: 84 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1076, allocations: 71.64 kB / 481.2 MB, free: 12 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-05/0.1077, allocations: 12 kB / 481.2 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.577e-05/0.1078, allocations: 12.05 kB / 481.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.1078, allocations: 23.88 kB / 481.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.1079, allocations: 75.61 kB / 481.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1081, allocations: 155.7 kB / 481.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1081, allocations: 0 / 481.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1081, allocations: 0 / 481.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1081, allocations: 0 / 481.5 MB, free: 15.74 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.0006102/0.1087, allocations: 443 kB / 481.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1088, allocations: 15.97 kB / 481.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.1088, allocations: 16.75 kB / 481.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1091, allocations: 208 kB / 482.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1091, allocations: 12.38 kB / 482.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.1091, allocations: 12.38 kB / 482.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.1094, allocations: 118.1 kB / 482.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1094, allocations: 4.188 kB / 482.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1094, allocations: 7.938 kB / 482.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1094, allocations: 4 kB / 482.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.1096, allocations: 71.97 kB / 482.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.1103, allocations: 444.3 kB / 482.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.1105, allocations: 118.6 kB / 482.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.1106, allocations: 56.77 kB / 482.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1107, allocations: 0 / 482.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1107, allocations: 34.5 kB / 483 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.1107, allocations: 0 / 483 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002927/0.111, allocations: 137.4 kB / 483.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.111, allocations: 59.41 kB / 483.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1112, allocations: 153.7 kB / 483.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1112, allocations: 29.69 kB / 483.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.1113, allocations: 123.7 kB / 483.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.1113, allocations: 43.36 kB / 483.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.1114, allocations: 29.72 kB / 483.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1116, allocations: 322.8 kB / 483.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.1116, allocations: 28 kB / 483.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.1117, allocations: 42.64 kB / 483.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.1121, allocations: 152.7 kB / 484.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1121, allocations: 4 kB / 484.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000219/0.1124, allocations: 143.9 kB / 484.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.1124, allocations: 7.938 kB / 484.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1124, allocations: 0 / 484.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1124, allocations: 0 / 484.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1126, allocations: 35.98 kB / 484.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1126, allocations: 3.984 kB / 484.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.1127, allocations: 7.906 kB / 484.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1127, allocations: 8 kB / 484.3 MB, free: 12.68 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.0002018/0.1129, allocations: 137.1 kB / 484.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1129, allocations: 11.84 kB / 484.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.113, allocations: 20.72 kB / 484.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.113, allocations: 0 / 484.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.113, allocations: 0 / 484.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.113, allocations: 4 kB / 484.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.1133, allocations: 241.4 kB / 484.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1133, allocations: 0 / 484.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1135, allocations: 16 kB / 484.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1135, allocations: 3.938 kB / 484.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1135, allocations: 4 kB / 484.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1135, allocations: 4 kB / 484.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1135, allocations: 7.984 kB / 484.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1138, allocations: 242.9 kB / 485 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.1139, allocations: 92.89 kB / 485.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.1139, allocations: 4 kB / 485.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.114, allocations: 3.938 kB / 485.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.114, allocations: 7.984 kB / 485.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.114, allocations: 4 kB / 485.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.1141, allocations: 123.2 kB / 485.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1141, allocations: 0 / 485.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1144, allocations: 39.94 kB / 485.2 MB, free: 11.63 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 9.086e-05/0.1145, allocations: 99.19 kB / 485.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1147, allocations: 91.91 kB / 485.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1147, allocations: 0 / 485.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/0.1148, allocations: 43.86 kB / 485.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.1151, allocations: 16 kB / 485.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.1158, allocations: 415.7 kB / 485.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1161, allocations: 0.7124 MB / 486.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.1162, allocations: 15.44 kB / 486.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1162, allocations: 4 kB / 486.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Templates: time 0.00333/0.1195, allocations: 1.613 MB / 488.2 MB, free: 8.578 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 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)