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.0006601/0.0006601, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008122/0.001472, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006875/0.0006875, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008933/0.001581, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.8122/0.8122, allocations: 158.6 MB / 171 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.134/0.9462, allocations: 49.5 MB / 220.5 MB, free: 1.445 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.0303/0.0303, allocations: 6.395 MB / 227.7 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004292/0.0346, allocations: 2.181 MB / 229.8 MB, free: 8.148 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 1.302e-06/1.302e-06, allocations: 0 / 231 MB, free: 6.984 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.944e-05, allocations: 2.312 kB / 231 MB, free: 6.98 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002161/0.00218, allocations: 0.7306 MB / 231.7 MB, free: 6.25 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003821/0.002562, allocations: 175.2 kB / 231.9 MB, free: 6.078 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.002621, allocations: 4 kB / 231.9 MB, free: 6.074 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.327e-05/0.002675, allocations: 23.73 kB / 231.9 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006103/0.008778, allocations: 11.81 kB / 231.9 MB, free: 6.039 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.008955, allocations: 51.92 kB / 232 MB, free: 5.988 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.009151, allocations: 139.7 kB / 232.1 MB, free: 5.852 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.009312, allocations: 54.44 kB / 232.2 MB, free: 5.801 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.00945, allocations: 115.7 kB / 232.3 MB, free: 5.688 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.166e-05/0.009542, allocations: 47.86 kB / 232.3 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.009577, allocations: 16 kB / 232.4 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.398e-05/0.009601, allocations: 20 kB / 232.4 MB, free: 5.605 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.009638, allocations: 31.88 kB / 232.4 MB, free: 5.574 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.009694, allocations: 39.88 kB / 232.5 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.009873, allocations: 95.66 kB / 232.5 MB, free: 5.441 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.009888, allocations: 0 / 232.5 MB, free: 5.441 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.00989, allocations: 0 / 232.5 MB, free: 5.441 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.009905, allocations: 0 / 232.5 MB, free: 5.441 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.0005599/0.01047, allocations: 408.3 kB / 232.9 MB, free: 5.016 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.0105, allocations: 12.03 kB / 233 MB, free: 5.004 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.01056, allocations: 28.91 kB / 233 MB, free: 4.977 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.01075, allocations: 145.5 kB / 233.1 MB, free: 4.809 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.01076, allocations: 12.75 kB / 233.1 MB, free: 4.797 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.0108, allocations: 28.31 kB / 233.2 MB, free: 4.77 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.01102, allocations: 204.3 kB / 233.4 MB, free: 4.547 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01103, allocations: 4.188 kB / 233.4 MB, free: 4.543 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.01104, allocations: 4.375 kB / 233.4 MB, free: 4.539 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.01105, allocations: 4.375 kB / 233.4 MB, free: 4.535 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.01115, allocations: 51.91 kB / 233.4 MB, free: 4.484 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003683/0.01483, allocations: 371.3 kB / 233.8 MB, free: 4.105 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.01501, allocations: 78.53 kB / 233.9 MB, free: 4.02 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.01507, allocations: 40.73 kB / 233.9 MB, free: 3.977 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.01508, allocations: 8 kB / 233.9 MB, free: 3.969 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.01511, allocations: 38.55 kB / 234 MB, free: 3.922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=15): time 3.306e-06/0.01511, allocations: 3.984 kB / 234 MB, free: 3.918 MB / 234.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002054/0.01532, allocations: 102.2 kB / 234.1 MB, free: 3.812 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.01534, allocations: 51.41 kB / 234.1 MB, free: 3.75 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.01543, allocations: 138.6 kB / 234.2 MB, free: 3.602 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.01544, allocations: 25.7 kB / 234.3 MB, free: 3.57 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.0155, allocations: 124.5 kB / 234.4 MB, free: 3.445 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.01555, allocations: 63.47 kB / 234.5 MB, free: 3.383 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.01561, allocations: 33.59 kB / 234.5 MB, free: 3.344 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.0157, allocations: 322.8 kB / 234.8 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.01573, allocations: 16 kB / 234.8 MB, free: 3.004 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.01576, allocations: 16 kB / 234.8 MB, free: 2.988 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.01584, allocations: 57.02 kB / 234.9 MB, free: 2.93 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01585, allocations: 0 / 234.9 MB, free: 2.93 MB / 234.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001283/0.01597, allocations: 93.55 kB / 235 MB, free: 2.832 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01599, allocations: 4 kB / 235 MB, free: 2.828 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01599, allocations: 0 / 235 MB, free: 2.828 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.016, allocations: 4 kB / 235 MB, free: 2.824 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.01618, allocations: 35.97 kB / 235 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.01619, allocations: 4 kB / 235 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.01622, allocations: 11.95 kB / 235 MB, free: 2.773 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.01623, allocations: 4 kB / 235 MB, free: 2.77 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.843e-05/0.01631, allocations: 113.8 kB / 235.2 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.01635, allocations: 19.92 kB / 235.2 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.01639, allocations: 16.44 kB / 235.2 MB, free: 2.609 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01639, allocations: 0 / 235.2 MB, free: 2.609 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01639, allocations: 0 / 235.2 MB, free: 2.609 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.0164, allocations: 3.984 kB / 235.2 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.0166, allocations: 129.7 kB / 235.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01661, allocations: 0 / 235.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.01676, allocations: 43.91 kB / 235.4 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.01678, allocations: 19.83 kB / 235.4 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01678, allocations: 0 / 235.4 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.0168, allocations: 8 kB / 235.4 MB, free: 2.391 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.0168, allocations: 0 / 235.4 MB, free: 2.391 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0168, allocations: 0 / 235.4 MB, free: 2.391 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.01703, allocations: 207.4 kB / 235.6 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01705, allocations: 7.938 kB / 235.6 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.01712, allocations: 4 kB / 235.6 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.01715, allocations: 11.97 kB / 235.6 MB, free: 2.148 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-06/0.01716, allocations: 11.94 kB / 235.6 MB, free: 2.137 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.437e-05/0.01718, allocations: 16.84 kB / 235.6 MB, free: 2.117 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01718, allocations: 0 / 235.6 MB, free: 2.117 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002282/0.01946, allocations: 35.89 kB / 235.7 MB, free: 2.082 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 0.0001125/0.01958, allocations: 85.62 kB / 235.8 MB, free: 1.992 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.01973, allocations: 72.7 kB / 235.8 MB, free: 1.918 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.01974, allocations: 0 / 235.8 MB, free: 1.918 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.01978, allocations: 40.84 kB / 235.9 MB, free: 1.875 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.02006, allocations: 31.92 kB / 235.9 MB, free: 1.844 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.02061, allocations: 345.6 kB / 236.2 MB, free: 1.48 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.509e-05/0.02066, allocations: 79.31 kB / 236.3 MB, free: 1.383 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.02073, allocations: 9.016 kB / 236.3 MB, free: 1.371 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.02083, allocations: 75.36 kB / 236.4 MB, free: 1.297 MB / 234.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02083, allocations: 0 / 236.4 MB, free: 1.297 MB / 234.7 MB Notification: Performance of Templates: time 0.004092/0.02492, allocations: 1.207 MB / 237.6 MB, free: 88 kB / 234.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.269641703926027]