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.05387/0.05387, allocations: 11.14 MB / 31.73 MB, free: 4.816 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.0009985/0.0009985, allocations: 90.64 kB / 39.44 MB, free: 6.918 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.001333/0.001333, allocations: 160.6 kB / 47.24 MB, free: 10.2 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.8678/0.8678, allocations: 177.2 MB / 232.1 MB, free: 4.656 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.0822/0.0822, allocations: 17.64 MB / 310.7 MB, free: 8.582 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.713e-06/1.713e-06, allocations: 3.938 kB / 392.5 MB, free: 45.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.24e-05, allocations: 2.875 kB / 392.5 MB, free: 45.92 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.001979/0.001992, allocations: 2.377 MB / 394.9 MB, free: 43.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002317/0.002224, allocations: 141.3 kB / 395 MB, free: 43.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.002296, allocations: 3.938 kB / 395 MB, free: 43.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.789e-05/0.002394, allocations: 20.52 kB / 395 MB, free: 43.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.002463, allocations: 62.77 kB / 395.1 MB, free: 43.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.002566, allocations: 31.95 kB / 395.1 MB, free: 43.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.002694, allocations: 194.9 kB / 395.3 MB, free: 43.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.002807, allocations: 51.73 kB / 395.4 MB, free: 43.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.002874, allocations: 83.81 kB / 395.5 MB, free: 43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.002957, allocations: 51.88 kB / 395.5 MB, free: 42.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.002978, allocations: 13.69 kB / 395.5 MB, free: 42.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.002993, allocations: 12 kB / 395.5 MB, free: 42.92 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.003015, allocations: 23.86 kB / 395.6 MB, free: 42.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.003052, allocations: 59.83 kB / 395.6 MB, free: 42.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003188, allocations: 116.5 kB / 395.7 MB, free: 42.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.00319, allocations: 0 / 395.7 MB, free: 42.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00319, allocations: 0 / 395.7 MB, free: 42.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.003194, allocations: 0.7188 kB / 395.7 MB, free: 42.73 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.0003016/0.003496, allocations: 476.5 kB / 396.2 MB, free: 42.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.003523, allocations: 8.562 kB / 396.2 MB, free: 42.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.003556, allocations: 29.41 kB / 396.2 MB, free: 42.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.003673, allocations: 161 kB / 396.4 MB, free: 42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.003685, allocations: 9.156 kB / 396.4 MB, free: 42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.003702, allocations: 16.36 kB / 396.4 MB, free: 41.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.259e-05/0.003794, allocations: 100.7 kB / 396.5 MB, free: 41.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003802, allocations: 192 / 396.5 MB, free: 41.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.003812, allocations: 8.375 kB / 396.5 MB, free: 41.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003817, allocations: 8.312 kB / 396.5 MB, free: 41.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.169e-05/0.003858, allocations: 31.91 kB / 396.6 MB, free: 41.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.004175, allocations: 374.6 kB / 396.9 MB, free: 41.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.004276, allocations: 87.11 kB / 397 MB, free: 41.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.004302, allocations: 28.95 kB / 397 MB, free: 41.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-06/0.00431, allocations: 4 kB / 397 MB, free: 41.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.193e-05/0.004322, allocations: 37.39 kB / 397.1 MB, free: 41.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.004323, allocations: 0.625 kB / 397.1 MB, free: 41.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001395/0.004462, allocations: 98.48 kB / 397.2 MB, free: 41.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.677e-05/0.004479, allocations: 55.41 kB / 397.2 MB, free: 41.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.004542, allocations: 212.5 kB / 397.4 MB, free: 40.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.842e-06/0.004549, allocations: 31.14 kB / 397.5 MB, free: 40.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.00459, allocations: 178 kB / 397.6 MB, free: 40.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.00461, allocations: 47.58 kB / 397.7 MB, free: 40.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.004642, allocations: 43.23 kB / 397.7 MB, free: 40.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.004685, allocations: 0.4986 MB / 398.2 MB, free: 40.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.004702, allocations: 15.98 kB / 398.2 MB, free: 40.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.00472, allocations: 15.98 kB / 398.3 MB, free: 40.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.00479, allocations: 70.62 kB / 398.3 MB, free: 39.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004792, allocations: 0 / 398.3 MB, free: 39.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.318e-05/0.004875, allocations: 105.5 kB / 398.4 MB, free: 39.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.004884, allocations: 4.594 kB / 398.4 MB, free: 39.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.004888, allocations: 0 / 398.4 MB, free: 39.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.004895, allocations: 9.031 kB / 398.4 MB, free: 39.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.004978, allocations: 27.98 kB / 398.5 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.00498, allocations: 0 / 398.5 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.005014, allocations: 19.83 kB / 398.5 MB, free: 39.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.00502, allocations: 4 kB / 398.5 MB, free: 39.78 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 9.616e-05/0.005116, allocations: 170.8 kB / 398.7 MB, free: 39.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.005138, allocations: 19.91 kB / 398.7 MB, free: 39.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.005164, allocations: 14.31 kB / 398.7 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005165, allocations: 0 / 398.7 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.005168, allocations: 3.984 kB / 398.7 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005171, allocations: 3.938 kB / 398.7 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.005279, allocations: 145.7 kB / 398.8 MB, free: 39.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.00528, allocations: 0 / 398.8 MB, free: 39.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.00534, allocations: 17.31 kB / 398.9 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005341, allocations: 0 / 398.9 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.005351, allocations: 0 / 398.9 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005352, allocations: 1.5 kB / 398.9 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005353, allocations: 7.984 kB / 398.9 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.005483, allocations: 263.6 kB / 399.1 MB, free: 39.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.005498, allocations: 11.89 kB / 399.1 MB, free: 39.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.00551, allocations: 4.625 kB / 399.1 MB, free: 39.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.00555, allocations: 0 / 399.1 MB, free: 39.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.005563, allocations: 8.922 kB / 399.2 MB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.005566, allocations: 0 / 399.2 MB, free: 39.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.2e-05/0.005598, allocations: 155.2 kB / 399.3 MB, free: 38.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005598, allocations: 0 / 399.3 MB, free: 38.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.005753, allocations: 39.95 kB / 399.3 MB, free: 38.89 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 4.617e-05/0.005799, allocations: 93.06 kB / 399.4 MB, free: 38.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.005883, allocations: 77.8 kB / 399.5 MB, free: 38.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.005884, allocations: 0 / 399.5 MB, free: 38.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.005908, allocations: 36.55 kB / 399.6 MB, free: 38.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.006101, allocations: 18.7 kB / 399.6 MB, free: 38.66 MB / 330.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.006694, allocations: 345.7 kB / 399.9 MB, free: 38.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.805e-05/0.006722, allocations: 71.77 kB / 400 MB, free: 38.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.006756, allocations: 9.219 kB / 400 MB, free: 38.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.006811, allocations: 90.19 kB / 400.1 MB, free: 38.13 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006811, allocations: 0 / 400.1 MB, free: 38.13 MB / 330.7 MB Notification: Performance of Templates: time 0.002587/0.009398, allocations: 1.422 MB / 401.5 MB, free: 36.75 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.8343359362334013]