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.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.0685/0.0685, allocations: 11.15 MB / 20.98 MB, free: 4.668 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008088/0.07659, allocations: 4.805 MB / 25.78 MB, free: 64 kB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008511/0.0008511, allocations: 78.5 kB / 26.61 MB, free: 8.109 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002253, allocations: 443.2 kB / 27.05 MB, free: 7.871 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006992/0.0006992, allocations: 152.4 kB / 27.94 MB, free: 7.27 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009238/0.001623, allocations: 482.3 kB / 28.41 MB, free: 6.918 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8932/0.8932, allocations: 177.2 MB / 206.3 MB, free: 4.426 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1613/1.054, allocations: 53.65 MB / 259.9 MB, free: 1.027 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1038/0.1038, allocations: 17.61 MB / 278.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01825/0.122, allocations: 6.514 MB / 284.8 MB, free: 8.215 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.92e-07/7.92e-07, allocations: 0 / 286.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.478e-05, allocations: 5.828 kB / 286.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002335/0.002349, allocations: 2.421 MB / 288.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.002534, allocations: 159.3 kB / 288.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.002585, allocations: 0 / 288.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.197e-05/0.002647, allocations: 23.73 kB / 288.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.002714, allocations: 63.48 kB / 288.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.131e-05/0.002776, allocations: 31.95 kB / 288.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.002912, allocations: 190.9 kB / 289 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.003004, allocations: 54.91 kB / 289 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.003094, allocations: 103.7 kB / 289.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.003166, allocations: 51.88 kB / 289.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.003187, allocations: 11.94 kB / 289.2 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.003201, allocations: 12 kB / 289.2 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.003218, allocations: 19.94 kB / 289.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.003257, allocations: 47.94 kB / 289.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003381, allocations: 107.5 kB / 289.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.003392, allocations: 4 kB / 289.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003392, allocations: 0 / 289.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.003404, allocations: 0 / 289.4 MB, free: 3.645 MB / 282.7 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.0003801/0.003784, allocations: 371.9 kB / 289.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/0.003809, allocations: 15.89 kB / 289.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.003844, allocations: 24.86 kB / 289.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.003974, allocations: 145.6 kB / 289.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.003988, allocations: 12.36 kB / 289.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.004005, allocations: 12.38 kB / 289.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.004243, allocations: 102.8 kB / 290 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.004251, allocations: 192 / 290 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.00426, allocations: 8.375 kB / 290 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.004265, allocations: 384 / 290 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.004309, allocations: 31.92 kB / 290.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.004626, allocations: 279.8 kB / 290.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.00472, allocations: 78.47 kB / 290.4 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.004746, allocations: 20.86 kB / 290.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.004752, allocations: 0 / 290.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.004772, allocations: 46.48 kB / 290.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.01e-07/0.004773, allocations: 0 / 290.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001111/0.004885, allocations: 73.67 kB / 290.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.004908, allocations: 51.41 kB / 290.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.004982, allocations: 165.1 kB / 290.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.004992, allocations: 29.64 kB / 290.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.005036, allocations: 119.8 kB / 290.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.005062, allocations: 47.62 kB / 291 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.005096, allocations: 37.64 kB / 291 MB, free: 1.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.005166, allocations: 326.7 kB / 291.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.005181, allocations: 12 kB / 291.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.005196, allocations: 12 kB / 291.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.977e-05/0.005266, allocations: 70.83 kB / 291.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005267, allocations: 0 / 291.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 7.361e-05/0.005341, allocations: 85.52 kB / 291.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.005351, allocations: 11.92 kB / 291.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.005355, allocations: 0 / 291.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.005363, allocations: 0 / 291.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.005471, allocations: 32 kB / 291.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.005479, allocations: 3.984 kB / 291.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.005511, allocations: 19.83 kB / 291.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.005515, allocations: 0 / 291.6 MB, free: 1.285 MB / 282.7 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 9.873e-05/0.005614, allocations: 128.8 kB / 291.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.005632, allocations: 15.98 kB / 291.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.005658, allocations: 12.78 kB / 291.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.005661, allocations: 8 kB / 291.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.005666, allocations: 7.969 kB / 291.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005669, allocations: 0 / 291.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.005778, allocations: 113.7 kB / 291.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.005779, allocations: 0 / 291.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.00585, allocations: 16 kB / 291.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.005866, allocations: 15.89 kB / 291.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.005868, allocations: 4 kB / 291.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.005876, allocations: 0 / 291.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005878, allocations: 4 kB / 291.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005879, allocations: 0 / 291.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.006012, allocations: 203.3 kB / 292.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.006024, allocations: 0 / 292.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.006062, allocations: 0 / 292.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.006075, allocations: 11.98 kB / 292.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.006077, allocations: 0 / 292.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.006103, allocations: 39.86 kB / 292.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006103, allocations: 0 / 292.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001297/0.006232, allocations: 43.89 kB / 292.2 MB, free: 0.6289 MB / 282.7 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 5.212e-05/0.006284, allocations: 72.42 kB / 292.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.367e-05/0.006358, allocations: 56.8 kB / 292.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.006364, allocations: 8 kB / 292.3 MB, free: 496 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.006387, allocations: 28.8 kB / 292.3 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.006529, allocations: 36.17 kB / 292.4 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.008868, allocations: 301.4 kB / 292.7 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.008905, allocations: 71.83 kB / 292.7 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.008951, allocations: 9.016 kB / 292.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.009011, allocations: 75.36 kB / 292.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.009012, allocations: 0 / 292.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of Templates: time 0.00324/0.01225, allocations: 1.479 MB / 294.3 MB, free: 14.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile [Timeout 660] (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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.697245347313583]