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.0811/0.0811, allocations: 11.15 MB / 31.01 MB, free: 4.297 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.0008338/0.0008338, allocations: 93 kB / 38.74 MB, free: 6.703 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.0009216/0.0009216, allocations: 166.3 kB / 42.15 MB, free: 3.383 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.9208/0.9208, allocations: 177.2 MB / 222.6 MB, free: 6.281 MB / 202.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.1889/0.1889, allocations: 17.62 MB / 296.7 MB, free: 1.211 MB / 266.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 2.766e-06/2.766e-06, allocations: 3.984 kB / 320.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.557e-05, allocations: 7.297 kB / 320.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003262/0.003287, allocations: 2.368 MB / 323.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004554/0.003742, allocations: 167.3 kB / 323.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.003838, allocations: 0 / 323.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.003967, allocations: 23.73 kB / 323.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.004083, allocations: 63.48 kB / 323.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.004216, allocations: 31.95 kB / 323.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.004418, allocations: 186.9 kB / 323.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.004557, allocations: 54.84 kB / 323.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.004664, allocations: 87.84 kB / 323.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.00477, allocations: 51.83 kB / 323.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.004796, allocations: 12 kB / 323.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.185e-05/0.004818, allocations: 12 kB / 323.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.004847, allocations: 27.84 kB / 323.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.0049, allocations: 51.84 kB / 324 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.005086, allocations: 115.6 kB / 324.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005088, allocations: 4 kB / 324.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005089, allocations: 0 / 324.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.005093, allocations: 0 / 324.1 MB, free: 10.93 MB / 298.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.0003822/0.005475, allocations: 352.7 kB / 324.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.005509, allocations: 8.031 kB / 324.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.005552, allocations: 20.92 kB / 324.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.005716, allocations: 137.6 kB / 324.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.005732, allocations: 8.375 kB / 324.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.00576, allocations: 20.31 kB / 324.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.005907, allocations: 102.9 kB / 324.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.005918, allocations: 4.188 kB / 324.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.005929, allocations: 4.375 kB / 324.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.005937, allocations: 4.375 kB / 324.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.005993, allocations: 31.92 kB / 324.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.006415, allocations: 267.8 kB / 325 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.006543, allocations: 74.47 kB / 325.1 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.006577, allocations: 24.84 kB / 325.1 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.006589, allocations: 11.94 kB / 325.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.006611, allocations: 34.56 kB / 325.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.006612, allocations: 0 / 325.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.000161/0.006773, allocations: 74.88 kB / 325.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.006805, allocations: 55.41 kB / 325.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.006904, allocations: 162.5 kB / 325.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.006916, allocations: 25.7 kB / 325.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.006973, allocations: 123.8 kB / 325.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.007002, allocations: 39.64 kB / 325.7 MB, free: 9.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.007054, allocations: 33.66 kB / 325.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.007148, allocations: 334.7 kB / 326 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.007172, allocations: 12 kB / 326 MB, free: 8.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.007197, allocations: 20.98 kB / 326.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.007302, allocations: 66.83 kB / 326.1 MB, free: 8.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007304, allocations: 3.938 kB / 326.1 MB, free: 8.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001181/0.007422, allocations: 92.16 kB / 326.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.007434, allocations: 4 kB / 326.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007439, allocations: 0 / 326.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.007451, allocations: 4 kB / 326.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.007559, allocations: 27.98 kB / 326.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.007562, allocations: 0 / 326.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.007606, allocations: 19.83 kB / 326.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.007613, allocations: 4 kB / 326.3 MB, free: 8.617 MB / 298.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.0001168/0.00773, allocations: 130.2 kB / 326.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.007761, allocations: 12 kB / 326.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.007792, allocations: 16.77 kB / 326.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.007795, allocations: 4 kB / 326.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.007797, allocations: 0 / 326.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.0078, allocations: 4 kB / 326.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.007968, allocations: 113.7 kB / 326.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007969, allocations: 0 / 326.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.008051, allocations: 19.98 kB / 326.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008053, allocations: 0 / 326.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.008065, allocations: 4 kB / 326.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008066, allocations: 0 / 326.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008067, allocations: 4 kB / 326.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.00825, allocations: 192.6 kB / 326.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.008272, allocations: 11.91 kB / 326.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.00829, allocations: 3.984 kB / 326.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.00835, allocations: 12.03 kB / 326.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.008365, allocations: 3.984 kB / 326.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.008372, allocations: 4 kB / 326.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.008407, allocations: 33.7 kB / 326.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008407, allocations: 0 / 326.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.008629, allocations: 43.89 kB / 326.9 MB, free: 7.977 MB / 298.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 7.817e-05/0.008707, allocations: 76.42 kB / 326.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.008809, allocations: 56.77 kB / 327 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.008814, allocations: 0.75 kB / 327 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.008848, allocations: 36.78 kB / 327 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.00906, allocations: 27.67 kB / 327.1 MB, free: 7.773 MB / 298.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000772/0.009832, allocations: 333.6 kB / 327.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.009885, allocations: 67.84 kB / 327.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.009932, allocations: 8.641 kB / 327.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.01001, allocations: 71.36 kB / 327.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01001, allocations: 0 / 327.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of Templates: time 0.003617/0.01362, allocations: 1.38 MB / 328.9 MB, free: 5.906 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.767479862086475]