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.05225/0.05225, allocations: 11.15 MB / 21.05 MB, free: 4.625 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01557/0.06782, allocations: 4.824 MB / 25.88 MB, free: 20 kB / 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.0005713/0.0005713, allocations: 67.08 kB / 26.7 MB, free: 7.781 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009406/0.001512, allocations: 456.8 kB / 27.15 MB, free: 7.531 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.0006966/0.0006966, allocations: 162.9 kB / 28.06 MB, free: 6.844 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009162/0.001613, allocations: 471.1 kB / 28.52 MB, free: 6.477 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.9629/0.9629, allocations: 177.2 MB / 206.5 MB, free: 4.348 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1735/1.136, allocations: 53.65 MB / 260.1 MB, free: 0.918 MB / 250.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.08715/0.08715, allocations: 17.64 MB / 278.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01038/0.09752, allocations: 6.521 MB / 285 MB, free: 8.059 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.683e-06/1.683e-06, allocations: 0 / 286.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.979e-05, allocations: 2.312 kB / 286.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002608/0.002628, allocations: 2.433 MB / 288.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002418/0.00287, allocations: 159.4 kB / 288.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.057e-05/0.00295, allocations: 7.938 kB / 288.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.8e-05/0.003028, allocations: 19.73 kB / 288.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.00311, allocations: 63.48 kB / 289 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.317e-05/0.003193, allocations: 31.95 kB / 289 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.003366, allocations: 190.9 kB / 289.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.00349, allocations: 50.91 kB / 289.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.003605, allocations: 103.7 kB / 289.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.878e-05/0.003704, allocations: 55.81 kB / 289.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.003729, allocations: 12 kB / 289.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.003748, allocations: 12 kB / 289.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.003774, allocations: 15.94 kB / 289.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.003817, allocations: 47.88 kB / 289.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.00398, allocations: 111.6 kB / 289.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.003991, allocations: 0 / 289.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003991, allocations: 0 / 289.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.004002, allocations: 0 / 289.6 MB, free: 3.469 MB / 282.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.0004135/0.004415, allocations: 371.9 kB / 290 MB, free: 3.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.004458, allocations: 11.89 kB / 290 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.004504, allocations: 20.92 kB / 290 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.004686, allocations: 145.5 kB / 290.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.004704, allocations: 12.38 kB / 290.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.004732, allocations: 12.38 kB / 290.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.004872, allocations: 102.8 kB / 290.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.004883, allocations: 4.188 kB / 290.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.004895, allocations: 8.359 kB / 290.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004901, allocations: 4.375 kB / 290.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.004952, allocations: 31.91 kB / 290.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.005347, allocations: 275.8 kB / 290.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.005479, allocations: 74.41 kB / 290.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.005514, allocations: 32.84 kB / 290.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.005526, allocations: 4 kB / 290.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.005543, allocations: 30.56 kB / 290.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.005544, allocations: 0 / 290.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001471/0.005691, allocations: 77.67 kB / 290.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.005723, allocations: 55.41 kB / 290.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.005813, allocations: 155.7 kB / 291 MB, free: 1.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.005826, allocations: 29.7 kB / 291 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.005881, allocations: 115.8 kB / 291.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.00591, allocations: 47.56 kB / 291.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.005951, allocations: 45.64 kB / 291.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.006034, allocations: 330.7 kB / 291.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.006051, allocations: 11.94 kB / 291.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.006073, allocations: 19.98 kB / 291.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.381e-05/0.006157, allocations: 71.72 kB / 291.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006158, allocations: 0 / 291.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.204e-05/0.00624, allocations: 85.56 kB / 291.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.006254, allocations: 8 kB / 291.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006259, allocations: 3.938 kB / 291.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.00627, allocations: 0 / 291.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.006386, allocations: 35.98 kB / 291.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006389, allocations: 0 / 291.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/0.006421, allocations: 15.89 kB / 291.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.006425, allocations: 0 / 291.8 MB, free: 1.105 MB / 282.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.0001271/0.006552, allocations: 130.2 kB / 291.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.006568, allocations: 4 kB / 291.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.006603, allocations: 20.77 kB / 292 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006605, allocations: 0 / 292 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.006606, allocations: 8 kB / 292 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.00661, allocations: 0 / 292 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.00673, allocations: 109.7 kB / 292.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.006732, allocations: 4 kB / 292.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.006804, allocations: 23.98 kB / 292.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.006819, allocations: 11.91 kB / 292.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.006822, allocations: 3.984 kB / 292.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.006831, allocations: 4 kB / 292.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006832, allocations: 0 / 292.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.006833, allocations: 0 / 292.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.006992, allocations: 207.7 kB / 292.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.007004, allocations: 4 kB / 292.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.00704, allocations: 0 / 292.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.007055, allocations: 11.98 kB / 292.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-06/0.007058, allocations: 0 / 292.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.771e-05/0.007086, allocations: 34.66 kB / 292.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.007086, allocations: 0 / 292.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000134/0.00722, allocations: 43.89 kB / 292.4 MB, free: 460 kB / 282.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.61e-05/0.007286, allocations: 76.41 kB / 292.5 MB, free: 376 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.007374, allocations: 61.5 kB / 292.5 MB, free: 312 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.00738, allocations: 8.031 kB / 292.6 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.007419, allocations: 32.84 kB / 292.6 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.007612, allocations: 153.6 kB / 292.7 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.01002, allocations: 305.5 kB / 293 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.01006, allocations: 71.83 kB / 293.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.819e-05/0.0101, allocations: 16.42 kB / 293.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.01016, allocations: 67.38 kB / 293.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01016, allocations: 0 / 293.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003094/0.01326, allocations: 1.476 MB / 294.7 MB, free: 14.16 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.78807613812387]