Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.conf.json 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.001108/0.001108, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002679, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007866/0.0007866, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001866, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.061/1.061, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2052/1.267, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.02835/0.02835, allocations: 6.416 MB / 227.8 MB, free: 10.21 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006455/0.0348, allocations: 2.165 MB / 230 MB, free: 8.043 MB / 234.7 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 231.2 MB, free: 6.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.51e-05/3.773e-05, allocations: 6.25 kB / 231.2 MB, free: 6.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001579/0.001617, allocations: 0.7423 MB / 231.9 MB, free: 6.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002918/0.001909, allocations: 175.3 kB / 232.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.001966, allocations: 4 kB / 232.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.483e-05/0.002021, allocations: 23.73 kB / 232.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.002089, allocations: 19.75 kB / 232.1 MB, free: 5.879 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.002217, allocations: 51.92 kB / 232.2 MB, free: 5.828 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.002388, allocations: 139.7 kB / 232.3 MB, free: 5.691 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.002545, allocations: 54.44 kB / 232.4 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.002662, allocations: 107.7 kB / 232.5 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.002755, allocations: 55.78 kB / 232.5 MB, free: 5.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.002799, allocations: 16 kB / 232.6 MB, free: 5.465 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.002821, allocations: 20 kB / 232.6 MB, free: 5.445 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.002855, allocations: 31.88 kB / 232.6 MB, free: 5.414 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.002894, allocations: 35.94 kB / 232.6 MB, free: 5.379 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.003058, allocations: 99.61 kB / 232.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.003071, allocations: 0 / 232.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003072, allocations: 0 / 232.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.003084, allocations: 0 / 232.7 MB, free: 5.281 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005463/0.00363, allocations: 404.3 kB / 233.1 MB, free: 4.855 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.003667, allocations: 12.03 kB / 233.2 MB, free: 4.844 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.003728, allocations: 32.91 kB / 233.2 MB, free: 4.812 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.003903, allocations: 133.6 kB / 233.3 MB, free: 4.656 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.003919, allocations: 12.75 kB / 233.3 MB, free: 4.645 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.003958, allocations: 24.33 kB / 233.4 MB, free: 4.621 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.004149, allocations: 202 kB / 233.5 MB, free: 4.402 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.004161, allocations: 8.188 kB / 233.6 MB, free: 4.395 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.004175, allocations: 8.375 kB / 233.6 MB, free: 4.387 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.004183, allocations: 4.375 kB / 233.6 MB, free: 4.383 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.004253, allocations: 51.66 kB / 233.6 MB, free: 4.332 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.004778, allocations: 363.6 kB / 234 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.004925, allocations: 90.41 kB / 234.1 MB, free: 3.863 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.004968, allocations: 44.75 kB / 234.1 MB, free: 3.816 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.00498, allocations: 8 kB / 234.1 MB, free: 3.809 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.005012, allocations: 34.56 kB / 234.1 MB, free: 3.766 MB / 234.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.005013, allocations: 0 / 234.1 MB, free: 3.766 MB / 234.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001887/0.005202, allocations: 98.31 kB / 234.2 MB, free: 3.664 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.005236, allocations: 55.39 kB / 234.3 MB, free: 3.598 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.005315, allocations: 130.8 kB / 234.4 MB, free: 3.457 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.005328, allocations: 25.7 kB / 234.5 MB, free: 3.426 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.00539, allocations: 124.5 kB / 234.6 MB, free: 3.301 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.005436, allocations: 67.39 kB / 234.6 MB, free: 3.234 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.005478, allocations: 33.61 kB / 234.7 MB, free: 3.195 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.005583, allocations: 326.8 kB / 235 MB, free: 2.867 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.005605, allocations: 16 kB / 235 MB, free: 2.852 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/0.005633, allocations: 19.98 kB / 235 MB, free: 2.832 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.074e-05/0.005704, allocations: 53.03 kB / 235.1 MB, free: 2.777 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.005707, allocations: 0 / 235.1 MB, free: 2.777 MB / 234.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.101e-05/0.005798, allocations: 89.61 kB / 235.2 MB, free: 2.684 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.005809, allocations: 4 kB / 235.2 MB, free: 2.68 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.005815, allocations: 3.984 kB / 235.2 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.005831, allocations: 4 kB / 235.2 MB, free: 2.672 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.005978, allocations: 39.92 kB / 235.2 MB, free: 2.633 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.005983, allocations: 4 kB / 235.2 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.006005, allocations: 7.953 kB / 235.2 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.006012, allocations: 4 kB / 235.2 MB, free: 2.617 MB / 234.7 MB 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 7.377e-05/0.006085, allocations: 113.8 kB / 235.3 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.006109, allocations: 19.86 kB / 235.4 MB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.006154, allocations: 20.44 kB / 235.4 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.006157, allocations: 3.984 kB / 235.4 MB, free: 2.445 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.00616, allocations: 0 / 235.4 MB, free: 2.445 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.006164, allocations: 0 / 235.4 MB, free: 2.445 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.006303, allocations: 121.7 kB / 235.5 MB, free: 2.309 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.006305, allocations: 0 / 235.5 MB, free: 2.309 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.00641, allocations: 47.91 kB / 235.6 MB, free: 2.262 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.006423, allocations: 19.81 kB / 235.6 MB, free: 2.242 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.006424, allocations: 0 / 235.6 MB, free: 2.242 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.006439, allocations: 4 kB / 235.6 MB, free: 2.238 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006441, allocations: 0 / 235.6 MB, free: 2.238 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006442, allocations: 0 / 235.6 MB, free: 2.238 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.006627, allocations: 211.3 kB / 235.8 MB, free: 2.016 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.006641, allocations: 3.938 kB / 235.8 MB, free: 2.012 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.461e-05/0.006686, allocations: 11.98 kB / 235.8 MB, free: 2 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.006705, allocations: 7.984 kB / 235.8 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.006711, allocations: 8 kB / 235.8 MB, free: 1.984 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.424e-05/0.006735, allocations: 24.83 kB / 235.8 MB, free: 1.957 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006735, allocations: 0 / 235.8 MB, free: 1.957 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.006877, allocations: 35.89 kB / 235.9 MB, free: 1.922 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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 9.041e-05/0.006968, allocations: 76.42 kB / 235.9 MB, free: 1.84 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.007076, allocations: 72.66 kB / 236 MB, free: 1.766 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.007084, allocations: 7.984 kB / 236 MB, free: 1.758 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.007128, allocations: 45.95 kB / 236.1 MB, free: 1.711 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.007339, allocations: 109.1 kB / 236.2 MB, free: 1.586 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.007775, allocations: 341.9 kB / 236.5 MB, free: 1.227 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.641e-05/0.007832, allocations: 75.33 kB / 236.6 MB, free: 1.133 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.259e-05/0.007884, allocations: 12.97 kB / 236.6 MB, free: 1.117 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.007973, allocations: 71.36 kB / 236.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007974, allocations: 0 / 236.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of Templates: time 0.003514/0.01149, allocations: 1.22 MB / 237.9 MB, free: 15.82 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8893350940197706]