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.09021/0.09021, allocations: 11.15 MB / 30.51 MB, free: 4.938 MB / 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.001404/0.001404, allocations: 96.36 kB / 38.14 MB, free: 7.199 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.001599/0.001599, allocations: 164.5 kB / 45.85 MB, free: 10.6 MB / 44.04 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 1.403/1.403, allocations: 177.2 MB / 230.6 MB, free: 4.766 MB / 202.7 MB " [Timeout remaining time 178] 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.1501/0.1501, allocations: 17.63 MB / 309.1 MB, free: 8.785 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 1.704e-06/1.704e-06, allocations: 0.9844 kB / 390.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.28e-05, allocations: 2.312 kB / 390.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002589/0.002612, allocations: 2.274 MB / 392.7 MB, free: 44.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003589/0.002971, allocations: 142.3 kB / 392.8 MB, free: 44.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.003067, allocations: 4.719 kB / 392.8 MB, free: 44.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.003187, allocations: 19.73 kB / 392.8 MB, free: 44.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.789e-05/0.003285, allocations: 64.73 kB / 392.9 MB, free: 44.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.003414, allocations: 40.75 kB / 393 MB, free: 44.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.003576, allocations: 179.9 kB / 393.1 MB, free: 43.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.0037, allocations: 50.77 kB / 393.2 MB, free: 43.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.003793, allocations: 89.75 kB / 393.3 MB, free: 43.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.014e-05/0.003883, allocations: 47.81 kB / 393.3 MB, free: 43.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.003905, allocations: 12 kB / 393.3 MB, free: 43.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.309e-05/0.003929, allocations: 12 kB / 393.3 MB, free: 43.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.00395, allocations: 27.91 kB / 393.4 MB, free: 43.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.004001, allocations: 56.34 kB / 393.4 MB, free: 43.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.004169, allocations: 159.4 kB / 393.6 MB, free: 43.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004171, allocations: 2.625 kB / 393.6 MB, free: 43.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004172, allocations: 0 / 393.6 MB, free: 43.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.004176, allocations: 0 / 393.6 MB, free: 43.44 MB / 330.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.0004053/0.004582, allocations: 369.6 kB / 393.9 MB, free: 43.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.004612, allocations: 8.031 kB / 393.9 MB, free: 43.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.004668, allocations: 28.5 kB / 394 MB, free: 43.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.004846, allocations: 164.4 kB / 394.1 MB, free: 42.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.004863, allocations: 8.375 kB / 394.1 MB, free: 42.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.004891, allocations: 12.38 kB / 394.2 MB, free: 42.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.005076, allocations: 118.1 kB / 394.3 MB, free: 42.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.005089, allocations: 192 / 394.3 MB, free: 42.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.005104, allocations: 9.922 kB / 394.3 MB, free: 42.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005108, allocations: 384 / 394.3 MB, free: 42.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.005236, allocations: 75.91 kB / 394.4 MB, free: 42.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.005719, allocations: 355.9 kB / 394.7 MB, free: 42.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.005891, allocations: 110.6 kB / 394.8 MB, free: 42.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.005953, allocations: 44.84 kB / 394.9 MB, free: 42.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.005962, allocations: 0 / 394.9 MB, free: 42.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.00598, allocations: 34.56 kB / 394.9 MB, free: 42.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.00598, allocations: 0 / 394.9 MB, free: 42.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002672/0.006248, allocations: 142.5 kB / 395 MB, free: 41.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.006266, allocations: 55.34 kB / 395.1 MB, free: 41.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.006363, allocations: 155.5 kB / 395.2 MB, free: 41.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.006374, allocations: 29.7 kB / 395.3 MB, free: 41.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.006417, allocations: 131.2 kB / 395.4 MB, free: 41.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.006441, allocations: 39.64 kB / 395.4 MB, free: 41.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.006483, allocations: 33.72 kB / 395.5 MB, free: 41.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.006524, allocations: 328.4 kB / 395.8 MB, free: 41.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.006574, allocations: 28 kB / 395.8 MB, free: 41.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.006618, allocations: 27.98 kB / 395.8 MB, free: 41.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.006965, allocations: 162.8 kB / 396 MB, free: 40.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006966, allocations: 2.031 kB / 396 MB, free: 40.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001764/0.007143, allocations: 145.5 kB / 396.1 MB, free: 40.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.007154, allocations: 4 kB / 396.1 MB, free: 40.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.007158, allocations: 4 kB / 396.1 MB, free: 40.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.007176, allocations: 0 / 396.1 MB, free: 40.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.007307, allocations: 28.48 kB / 396.2 MB, free: 40.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.007313, allocations: 8.625 kB / 396.2 MB, free: 40.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.007373, allocations: 11.95 kB / 396.2 MB, free: 40.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.00738, allocations: 5.781 kB / 396.2 MB, free: 40.67 MB / 330.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 0.0001125/0.007493, allocations: 131.9 kB / 396.3 MB, free: 40.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.007526, allocations: 13.27 kB / 396.3 MB, free: 40.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.00756, allocations: 16.78 kB / 396.4 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007562, allocations: 0 / 396.4 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.007567, allocations: 4.781 kB / 396.4 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.007569, allocations: 0 / 396.4 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.007721, allocations: 173.2 kB / 396.5 MB, free: 40.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007722, allocations: 1.125 kB / 396.5 MB, free: 40.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.007834, allocations: 23.92 kB / 396.6 MB, free: 40.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007836, allocations: 0.8438 kB / 396.6 MB, free: 40.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.007845, allocations: 0 / 396.6 MB, free: 40.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007847, allocations: 0 / 396.6 MB, free: 40.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007847, allocations: 0.9688 kB / 396.6 MB, free: 40.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.008073, allocations: 258.1 kB / 396.8 MB, free: 40.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.008094, allocations: 4.828 kB / 396.8 MB, free: 40.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.008113, allocations: 5.5 kB / 396.8 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.008198, allocations: 4 kB / 396.8 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.008217, allocations: 12.52 kB / 396.8 MB, free: 39.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.008222, allocations: 5.219 kB / 396.8 MB, free: 39.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.008271, allocations: 118.5 kB / 397 MB, free: 39.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008271, allocations: 0 / 397 MB, free: 39.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.008518, allocations: 43.89 kB / 397 MB, free: 39.83 MB / 330.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.827e-05/0.008576, allocations: 96.53 kB / 397.1 MB, free: 39.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.008721, allocations: 83.91 kB / 397.2 MB, free: 39.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008722, allocations: 1.5 kB / 397.2 MB, free: 39.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.008767, allocations: 35.98 kB / 397.2 MB, free: 39.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.009066, allocations: 27.53 kB / 397.2 MB, free: 39.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.009536, allocations: 334.3 kB / 397.6 MB, free: 39.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.009591, allocations: 110 kB / 397.7 MB, free: 39.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.458e-05/0.009636, allocations: 8.641 kB / 397.7 MB, free: 39.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.009674, allocations: 16.5 kB / 397.7 MB, free: 39.11 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.009675, allocations: 0 / 397.7 MB, free: 39.11 MB / 330.7 MB Notification: Performance of Templates: time 0.00357/0.01324, allocations: 1.283 MB / 399 MB, free: 37.85 MB / 330.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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.533230080967769]