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.05622/0.05622, allocations: 11.15 MB / 31.25 MB, free: 4.926 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.00091/0.00091, allocations: 99.39 kB / 38.88 MB, free: 7.375 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.001332/0.001332, allocations: 156.5 kB / 46.57 MB, free: 10.75 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.013/1.013, allocations: 177.1 MB / 231.3 MB, free: 4.805 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.09864/0.09864, allocations: 17.63 MB / 309.8 MB, free: 8.789 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.994e-06/1.994e-06, allocations: 0 / 391.1 MB, free: 46.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.78e-05, allocations: 5.016 kB / 391.1 MB, free: 46.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002385/0.002413, allocations: 2.372 MB / 393.5 MB, free: 44.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003389/0.002752, allocations: 141.7 kB / 393.6 MB, free: 44.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.089e-05/0.002843, allocations: 4.625 kB / 393.7 MB, free: 44.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.002969, allocations: 28.19 kB / 393.7 MB, free: 44.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.003057, allocations: 60.52 kB / 393.7 MB, free: 43.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.003209, allocations: 33.92 kB / 393.8 MB, free: 43.94 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.003429, allocations: 187 kB / 394 MB, free: 43.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.003617, allocations: 47.75 kB / 394 MB, free: 43.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.003733, allocations: 91.8 kB / 394.1 MB, free: 43.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.003862, allocations: 48.31 kB / 394.1 MB, free: 43.58 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.003898, allocations: 14.22 kB / 394.2 MB, free: 43.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.021e-05/0.003918, allocations: 12 kB / 394.2 MB, free: 43.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.003952, allocations: 31.84 kB / 394.2 MB, free: 43.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.004011, allocations: 47.92 kB / 394.2 MB, free: 43.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.004257, allocations: 123.4 kB / 394.4 MB, free: 43.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.004263, allocations: 3.984 kB / 394.4 MB, free: 43.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.004265, allocations: 1.781 kB / 394.4 MB, free: 43.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.004273, allocations: 0 / 394.4 MB, free: 43.35 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.0004787/0.004752, allocations: 467.9 kB / 394.8 MB, free: 42.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.004803, allocations: 8.031 kB / 394.8 MB, free: 42.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.00487, allocations: 34.02 kB / 394.9 MB, free: 42.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.005065, allocations: 161.1 kB / 395 MB, free: 42.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.005085, allocations: 8.375 kB / 395 MB, free: 42.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.005115, allocations: 12.38 kB / 395 MB, free: 42.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.005297, allocations: 106.9 kB / 395.1 MB, free: 42.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.00531, allocations: 192 / 395.1 MB, free: 42.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.005324, allocations: 4.375 kB / 395.2 MB, free: 42.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.005335, allocations: 10.45 kB / 395.2 MB, free: 42.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.005414, allocations: 47.91 kB / 395.2 MB, free: 42.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.005935, allocations: 399.4 kB / 395.6 MB, free: 42.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.006108, allocations: 91.95 kB / 395.7 MB, free: 41.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.006165, allocations: 41.83 kB / 395.7 MB, free: 41.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.006177, allocations: 4 kB / 395.7 MB, free: 41.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.006197, allocations: 33.39 kB / 395.8 MB, free: 41.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.434e-06/0.006199, allocations: 1.406 kB / 395.8 MB, free: 41.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002504/0.006449, allocations: 113.5 kB / 395.9 MB, free: 41.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.006481, allocations: 61.19 kB / 395.9 MB, free: 41.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.00659, allocations: 213.1 kB / 396.1 MB, free: 41.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.0066, allocations: 25.7 kB / 396.2 MB, free: 41.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.006666, allocations: 178 kB / 396.3 MB, free: 41.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.006695, allocations: 47.58 kB / 396.4 MB, free: 41.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.006747, allocations: 41.39 kB / 396.4 MB, free: 41.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.006861, allocations: 0.4923 MB / 396.9 MB, free: 40.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.0069, allocations: 16 kB / 396.9 MB, free: 40.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.006935, allocations: 19.98 kB / 397 MB, free: 40.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.007075, allocations: 85.44 kB / 397 MB, free: 40.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.007078, allocations: 3.156 kB / 397 MB, free: 40.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000149/0.007227, allocations: 121.4 kB / 397.2 MB, free: 40.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.007249, allocations: 8 kB / 397.2 MB, free: 40.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.007256, allocations: 0 / 397.2 MB, free: 40.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.00728, allocations: 0 / 397.2 MB, free: 40.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.007413, allocations: 35.92 kB / 397.2 MB, free: 40.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.007425, allocations: 3.938 kB / 397.2 MB, free: 40.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.007465, allocations: 11.89 kB / 397.2 MB, free: 40.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.007473, allocations: 3.938 kB / 397.2 MB, free: 40.31 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.0002108/0.007684, allocations: 177 kB / 397.4 MB, free: 40.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.007713, allocations: 15.91 kB / 397.4 MB, free: 40.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.007761, allocations: 12.78 kB / 397.4 MB, free: 40.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.007767, allocations: 6.125 kB / 397.4 MB, free: 40.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.007773, allocations: 3.938 kB / 397.4 MB, free: 40.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.007778, allocations: 0.9688 kB / 397.4 MB, free: 40.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.007921, allocations: 156.6 kB / 397.6 MB, free: 39.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.007924, allocations: 1.406 kB / 397.6 MB, free: 39.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.008008, allocations: 27.92 kB / 397.6 MB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.008014, allocations: 4 kB / 397.6 MB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.008035, allocations: 0 / 397.6 MB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.008037, allocations: 1.812 kB / 397.6 MB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008038, allocations: 0 / 397.6 MB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.008244, allocations: 279.7 kB / 397.9 MB, free: 39.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.008263, allocations: 11.89 kB / 397.9 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.008281, allocations: 0 / 397.9 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.00832, allocations: 4.75 kB / 397.9 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.00834, allocations: 7.984 kB / 397.9 MB, free: 39.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.008345, allocations: 4.656 kB / 397.9 MB, free: 39.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.321e-05/0.008388, allocations: 155.2 kB / 398.1 MB, free: 39.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008388, allocations: 0.7188 kB / 398.1 MB, free: 39.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00016/0.008548, allocations: 39.95 kB / 398.1 MB, free: 39.36 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 8.685e-05/0.008635, allocations: 96.69 kB / 398.2 MB, free: 39.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.008767, allocations: 65.84 kB / 398.3 MB, free: 39.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008769, allocations: 4.969 kB / 398.3 MB, free: 39.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.008801, allocations: 39.61 kB / 398.3 MB, free: 39.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.009046, allocations: 20.86 kB / 398.3 MB, free: 39.13 MB / 330.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.009895, allocations: 361.1 kB / 398.7 MB, free: 38.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.009939, allocations: 71.78 kB / 398.8 MB, free: 38.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.052e-05/0.009979, allocations: 9.25 kB / 398.8 MB, free: 38.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.01001, allocations: 16.5 kB / 398.8 MB, free: 38.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01001, allocations: 0 / 398.8 MB, free: 38.66 MB / 330.7 MB Notification: Performance of Templates: time 0.003105/0.01312, allocations: 1.283 MB / 400.1 MB, free: 37.41 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: 3.357450150884688]