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.1332/0.1332, 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.002437/0.002437, allocations: 100.6 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.002075/0.002075, allocations: 156.5 kB / 45.85 MB, free: 10.59 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.592/1.592, allocations: 177.1 MB / 230.6 MB, free: 4.785 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.1491/0.1491, allocations: 17.63 MB / 309.1 MB, free: 8.809 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.383e-06/1.383e-06, allocations: 0 / 390.4 MB, free: 46.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.789e-05, allocations: 4.656 kB / 390.4 MB, free: 46.59 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.00275/0.002778, allocations: 2.342 MB / 392.7 MB, free: 44.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.003077, allocations: 141.5 kB / 392.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.003179, allocations: 7.938 kB / 392.9 MB, free: 44.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.003315, allocations: 28.84 kB / 392.9 MB, free: 44.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.439e-05/0.003409, allocations: 57.14 kB / 393 MB, free: 44.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.003535, allocations: 27.97 kB / 393 MB, free: 44.01 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.003697, allocations: 184.1 kB / 393.2 MB, free: 43.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.003847, allocations: 61.11 kB / 393.2 MB, free: 43.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.003939, allocations: 87.8 kB / 393.3 MB, free: 43.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.004045, allocations: 58.47 kB / 393.4 MB, free: 43.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.004068, allocations: 8 kB / 393.4 MB, free: 43.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.571e-05/0.004094, allocations: 12 kB / 393.4 MB, free: 43.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.004118, allocations: 31.84 kB / 393.4 MB, free: 43.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.004171, allocations: 51.86 kB / 393.5 MB, free: 43.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.004349, allocations: 159.5 kB / 393.6 MB, free: 43.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.004352, allocations: 0 / 393.6 MB, free: 43.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004353, allocations: 1.375 kB / 393.6 MB, free: 43.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.004359, allocations: 0 / 393.6 MB, free: 43.38 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.0004778/0.004837, allocations: 478.5 kB / 394.1 MB, free: 42.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.004872, allocations: 12.03 kB / 394.1 MB, free: 42.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.004928, allocations: 24.84 kB / 394.1 MB, free: 42.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.005095, allocations: 161.9 kB / 394.3 MB, free: 42.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.005113, allocations: 12.36 kB / 394.3 MB, free: 42.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.005137, allocations: 12.38 kB / 394.3 MB, free: 42.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.005315, allocations: 110.2 kB / 394.4 MB, free: 42.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.00533, allocations: 1.375 kB / 394.4 MB, free: 42.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.005343, allocations: 8.375 kB / 394.4 MB, free: 42.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.005347, allocations: 384 / 394.4 MB, free: 42.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.005473, allocations: 76.69 kB / 394.5 MB, free: 42.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.006003, allocations: 433.1 kB / 394.9 MB, free: 41.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.006183, allocations: 119.9 kB / 395.1 MB, free: 41.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.006247, allocations: 47.7 kB / 395.1 MB, free: 41.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.006263, allocations: 4 kB / 395.1 MB, free: 41.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.006275, allocations: 34.7 kB / 395.1 MB, free: 41.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.006276, allocations: 0 / 395.1 MB, free: 41.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002551/0.006531, allocations: 138.4 kB / 395.3 MB, free: 41.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.006551, allocations: 57.31 kB / 395.3 MB, free: 41.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.006673, allocations: 224.5 kB / 395.6 MB, free: 41.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.006683, allocations: 29.7 kB / 395.6 MB, free: 41.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.006743, allocations: 186 kB / 395.8 MB, free: 41.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.006769, allocations: 43.64 kB / 395.8 MB, free: 41.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.006816, allocations: 39.38 kB / 395.8 MB, free: 41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.00689, allocations: 0.5007 MB / 396.3 MB, free: 40.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.006942, allocations: 34.02 kB / 396.4 MB, free: 40.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/0.006988, allocations: 34.8 kB / 396.4 MB, free: 40.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.007144, allocations: 123.6 kB / 396.5 MB, free: 40.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007145, allocations: 3.938 kB / 396.5 MB, free: 40.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001591/0.007304, allocations: 148.3 kB / 396.7 MB, free: 40.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.007316, allocations: 4 kB / 396.7 MB, free: 40.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.007322, allocations: 5.859 kB / 396.7 MB, free: 40.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.007338, allocations: 6.719 kB / 396.7 MB, free: 40.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.007478, allocations: 27.92 kB / 396.7 MB, free: 40.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.007485, allocations: 7.938 kB / 396.7 MB, free: 40.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.007558, allocations: 7.953 kB / 396.7 MB, free: 40.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.007566, allocations: 4 kB / 396.7 MB, free: 40.09 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.0001327/0.007698, allocations: 179.6 kB / 396.9 MB, free: 39.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.007733, allocations: 23.84 kB / 396.9 MB, free: 39.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.007773, allocations: 14 kB / 397 MB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007775, allocations: 0 / 397 MB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.00778, allocations: 3.938 kB / 397 MB, free: 39.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.007784, allocations: 8.25 kB / 397 MB, free: 39.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.007948, allocations: 180.6 kB / 397.1 MB, free: 39.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007949, allocations: 0 / 397.1 MB, free: 39.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.008061, allocations: 23.98 kB / 397.2 MB, free: 39.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.008063, allocations: 0 / 397.2 MB, free: 39.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.008074, allocations: 4 kB / 397.2 MB, free: 39.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008075, allocations: 0 / 397.2 MB, free: 39.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008076, allocations: 0 / 397.2 MB, free: 39.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.008306, allocations: 306 kB / 397.5 MB, free: 39.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.008329, allocations: 15.94 kB / 397.5 MB, free: 39.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.00835, allocations: 0 / 397.5 MB, free: 39.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.00844, allocations: 4 kB / 397.5 MB, free: 39.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.008466, allocations: 7.984 kB / 397.5 MB, free: 39.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.008472, allocations: 8.75 kB / 397.5 MB, free: 39.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.963e-05/0.008531, allocations: 162.4 kB / 397.7 MB, free: 39.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008531, allocations: 0.6875 kB / 397.7 MB, free: 39.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000233/0.008764, allocations: 43.89 kB / 397.7 MB, free: 39.08 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.581e-05/0.00883, allocations: 93.06 kB / 397.8 MB, free: 38.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.008997, allocations: 99.09 kB / 397.9 MB, free: 38.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008998, allocations: 0 / 397.9 MB, free: 38.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.009051, allocations: 56.3 kB / 398 MB, free: 38.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.00933, allocations: 30.81 kB / 398 MB, free: 38.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.00985, allocations: 336.5 kB / 398.3 MB, free: 38.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.611e-05/0.009906, allocations: 110 kB / 398.4 MB, free: 38.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.374e-05/0.00995, allocations: 12.64 kB / 398.4 MB, free: 38.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.009982, allocations: 16.5 kB / 398.4 MB, free: 38.3 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009983, allocations: 0 / 398.4 MB, free: 38.3 MB / 330.7 MB Notification: Performance of Templates: time 0.004023/0.01401, allocations: 1.281 MB / 399.7 MB, free: 37.06 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: 5.155707561061718]