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.04959/0.04959, allocations: 11.16 MB / 30.72 MB, free: 4.398 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.0008202/0.0008202, allocations: 102.9 kB / 38.41 MB, free: 7 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.0008515/0.0008515, allocations: 160.5 kB / 46.17 MB, free: 10.32 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 0.8684/0.8684, allocations: 177.2 MB / 231 MB, free: 4.793 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.07887/0.07887, allocations: 17.63 MB / 309.5 MB, free: 8.738 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.874e-06/1.874e-06, allocations: 0 / 391.2 MB, free: 46.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.665e-05, allocations: 4.844 kB / 391.2 MB, free: 46.21 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002014/0.002031, allocations: 2.371 MB / 393.6 MB, free: 43.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.002338, allocations: 147.3 kB / 393.7 MB, free: 43.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.002421, allocations: 7.938 kB / 393.7 MB, free: 43.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.002544, allocations: 20.8 kB / 393.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.00262, allocations: 63.97 kB / 393.8 MB, free: 43.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.002743, allocations: 33.22 kB / 393.9 MB, free: 43.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.002877, allocations: 179 kB / 394 MB, free: 43.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.003005, allocations: 55.06 kB / 394.1 MB, free: 43.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.805e-05/0.003073, allocations: 91.84 kB / 394.2 MB, free: 43.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.00316, allocations: 56.75 kB / 394.2 MB, free: 43.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.00318, allocations: 8 kB / 394.2 MB, free: 43.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.003198, allocations: 12.62 kB / 394.3 MB, free: 43.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.003219, allocations: 31.8 kB / 394.3 MB, free: 43.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.003259, allocations: 56.38 kB / 394.3 MB, free: 43.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.003405, allocations: 112.6 kB / 394.4 MB, free: 43.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003406, allocations: 0 / 394.4 MB, free: 43.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003407, allocations: 0 / 394.4 MB, free: 43.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.003411, allocations: 0.625 kB / 394.4 MB, free: 43.02 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.000341/0.003752, allocations: 478 kB / 394.9 MB, free: 42.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.003785, allocations: 8.031 kB / 394.9 MB, free: 42.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.003827, allocations: 28.84 kB / 395 MB, free: 42.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.003959, allocations: 156.8 kB / 395.1 MB, free: 42.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.003973, allocations: 12.38 kB / 395.1 MB, free: 42.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.003997, allocations: 16.31 kB / 395.1 MB, free: 42.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.004127, allocations: 106.9 kB / 395.2 MB, free: 42.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.004137, allocations: 192 / 395.2 MB, free: 42.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.004148, allocations: 4.375 kB / 395.2 MB, free: 42.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.004155, allocations: 4.375 kB / 395.2 MB, free: 42.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.004223, allocations: 47.84 kB / 395.3 MB, free: 42.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.004608, allocations: 406.6 kB / 395.7 MB, free: 41.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.004732, allocations: 88.44 kB / 395.8 MB, free: 41.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.004773, allocations: 39.72 kB / 395.8 MB, free: 41.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.004782, allocations: 0 / 395.8 MB, free: 41.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.004798, allocations: 45.33 kB / 395.9 MB, free: 41.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.004799, allocations: 0 / 395.9 MB, free: 41.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001761/0.004975, allocations: 109.5 kB / 396 MB, free: 41.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.626e-05/0.004991, allocations: 56.88 kB / 396 MB, free: 41.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.098e-05/0.005062, allocations: 209.1 kB / 396.2 MB, free: 41.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.005069, allocations: 29.7 kB / 396.3 MB, free: 41.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.005112, allocations: 178 kB / 396.4 MB, free: 40.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.005133, allocations: 54.09 kB / 396.5 MB, free: 40.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.005166, allocations: 35.38 kB / 396.5 MB, free: 40.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.005209, allocations: 0.4923 MB / 397 MB, free: 40.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.005237, allocations: 19.98 kB / 397 MB, free: 40.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.005263, allocations: 23.92 kB / 397.1 MB, free: 40.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.00536, allocations: 89.25 kB / 397.1 MB, free: 40.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005362, allocations: 1.469 kB / 397.1 MB, free: 40.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001004/0.005462, allocations: 117.5 kB / 397.3 MB, free: 40.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.005473, allocations: 4 kB / 397.3 MB, free: 40.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005477, allocations: 0 / 397.3 MB, free: 40.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.005491, allocations: 0.8438 kB / 397.3 MB, free: 40.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.005587, allocations: 31.92 kB / 397.3 MB, free: 39.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.005592, allocations: 3.938 kB / 397.3 MB, free: 39.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.005625, allocations: 17.36 kB / 397.3 MB, free: 39.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-06/0.005631, allocations: 4 kB / 397.3 MB, free: 39.96 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.0001027/0.005733, allocations: 170.6 kB / 397.5 MB, free: 39.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.005755, allocations: 19.91 kB / 397.5 MB, free: 39.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.005787, allocations: 16.77 kB / 397.5 MB, free: 39.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005789, allocations: 0 / 397.5 MB, free: 39.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.005793, allocations: 3.938 kB / 397.5 MB, free: 39.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005796, allocations: 3.938 kB / 397.5 MB, free: 39.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.005914, allocations: 164.6 kB / 397.7 MB, free: 39.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005915, allocations: 0.5 kB / 397.7 MB, free: 39.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.005983, allocations: 20.83 kB / 397.7 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.005985, allocations: 0 / 397.7 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.005999, allocations: 5.625 kB / 397.7 MB, free: 39.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006, allocations: 0 / 397.7 MB, free: 39.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006, allocations: 0 / 397.7 MB, free: 39.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.006172, allocations: 275.6 kB / 398 MB, free: 39.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.006188, allocations: 13.77 kB / 398 MB, free: 39.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.006205, allocations: 7.984 kB / 398 MB, free: 39.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.006242, allocations: 0 / 398 MB, free: 39.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.006265, allocations: 7.984 kB / 398 MB, free: 39.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.00627, allocations: 13.91 kB / 398 MB, free: 39.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.006316, allocations: 143.2 kB / 398.2 MB, free: 39.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006316, allocations: 0 / 398.2 MB, free: 39.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.006487, allocations: 39.95 kB / 398.2 MB, free: 39.02 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 6.536e-05/0.006552, allocations: 99.95 kB / 398.3 MB, free: 38.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.006686, allocations: 69.62 kB / 398.4 MB, free: 38.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006687, allocations: 4.469 kB / 398.4 MB, free: 38.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.006721, allocations: 40.45 kB / 398.4 MB, free: 38.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.00696, allocations: 24.41 kB / 398.4 MB, free: 38.78 MB / 330.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.007822, allocations: 351.3 kB / 398.8 MB, free: 38.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.00786, allocations: 75.77 kB / 398.9 MB, free: 38.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.007902, allocations: 12.64 kB / 398.9 MB, free: 38.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.009e-05/0.007942, allocations: 16.5 kB / 398.9 MB, free: 38.31 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.007943, allocations: 0 / 398.9 MB, free: 38.31 MB / 330.7 MB Notification: Performance of Templates: time 0.003052/0.01099, allocations: 1.288 MB / 400.2 MB, free: 37.05 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.837371581699699]