Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.0009003/0.0009003, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001052/0.001052, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9563/0.9563, allocations: 158.6 MB / 185.2 MB, free: 2.777 MB / 170.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.03024/0.03024, allocations: 6.419 MB / 244 MB, free: 8.613 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.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 262.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.704e-05, allocations: 6.312 kB / 262.1 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001131/0.001148, allocations: 0.5869 MB / 262.7 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000249/0.001397, allocations: 127.4 kB / 262.9 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.001431, allocations: 4 kB / 262.9 MB, free: 5.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.001462, allocations: 7.875 kB / 262.9 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.001526, allocations: 7.938 kB / 262.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.001636, allocations: 27.91 kB / 262.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.001748, allocations: 79.77 kB / 263 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.001841, allocations: 27.97 kB / 263 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.001893, allocations: 43.89 kB / 263 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.001953, allocations: 31.89 kB / 263.1 MB, free: 5.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.001969, allocations: 8 kB / 263.1 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.001981, allocations: 8 kB / 263.1 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.002002, allocations: 15.94 kB / 263.1 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.002033, allocations: 27.91 kB / 263.1 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.791e-05/0.002131, allocations: 59.8 kB / 263.2 MB, free: 5.379 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.002134, allocations: 4 kB / 263.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002134, allocations: 0 / 263.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.002137, allocations: 0 / 263.2 MB, free: 5.375 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002513/0.002389, allocations: 276.9 kB / 263.5 MB, free: 5.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.636e-05/0.002415, allocations: 15.98 kB / 263.5 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.002444, allocations: 12.94 kB / 263.5 MB, free: 5.051 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.002547, allocations: 125.6 kB / 263.6 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.002556, allocations: 8.562 kB / 263.6 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.002577, allocations: 16.36 kB / 263.6 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.002685, allocations: 134.1 kB / 263.8 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.002693, allocations: 0 / 263.8 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.0027, allocations: 7.938 kB / 263.8 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.002706, allocations: 4 kB / 263.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.472e-05/0.00274, allocations: 19.98 kB / 263.8 MB, free: 4.699 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.003053, allocations: 244 kB / 264 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.003143, allocations: 70.64 kB / 264.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.003166, allocations: 16.86 kB / 264.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-06/0.003174, allocations: 0 / 264.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.003193, allocations: 38.5 kB / 264.2 MB, free: 4.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.003194, allocations: 4 kB / 264.2 MB, free: 4.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001059/0.0033, allocations: 65.67 kB / 264.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.003322, allocations: 55.34 kB / 264.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.564e-05/0.003368, allocations: 115.1 kB / 264.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.003378, allocations: 25.7 kB / 264.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.00341, allocations: 112 kB / 264.5 MB, free: 3.891 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.003432, allocations: 23.75 kB / 264.6 MB, free: 3.867 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.003458, allocations: 29.69 kB / 264.6 MB, free: 3.832 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.003534, allocations: 318.8 kB / 264.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.003544, allocations: 4 kB / 264.9 MB, free: 3.508 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.003558, allocations: 23.86 kB / 264.9 MB, free: 3.484 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.003597, allocations: 32.84 kB / 265 MB, free: 3.449 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003599, allocations: 0 / 265 MB, free: 3.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.34e-05/0.003662, allocations: 65.55 kB / 265 MB, free: 3.379 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.003671, allocations: 4 kB / 265 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.003675, allocations: 4 kB / 265 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.003684, allocations: 0 / 265 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.003765, allocations: 16 kB / 265 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.003768, allocations: 3.984 kB / 265 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.003784, allocations: 11.89 kB / 265.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.003788, allocations: 4 kB / 265.1 MB, free: 3.336 MB / 250.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 (10): * Single equations (assignments): 10 * 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 4.866e-05/0.003836, allocations: 109.8 kB / 265.2 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.003856, allocations: 11.94 kB / 265.2 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.003879, allocations: 8.438 kB / 265.2 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.003881, allocations: 7.938 kB / 265.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.003884, allocations: 3.984 kB / 265.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.003887, allocations: 0 / 265.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.821e-05/0.003985, allocations: 93.86 kB / 265.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.003986, allocations: 0 / 265.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.004037, allocations: 15.98 kB / 265.3 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.004039, allocations: 7.938 kB / 265.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.004048, allocations: 0 / 265.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.004049, allocations: 0 / 265.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00405, allocations: 4 kB / 265.3 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.00416, allocations: 167.5 kB / 265.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.004168, allocations: 11.94 kB / 265.5 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.004177, allocations: 3.938 kB / 265.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/0.00421, allocations: 7.938 kB / 265.5 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.004221, allocations: 4 kB / 265.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.004224, allocations: 0 / 265.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.286e-05/0.004237, allocations: 20.88 kB / 265.5 MB, free: 2.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004237, allocations: 0 / 265.5 MB, free: 2.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001242/0.004361, allocations: 23.89 kB / 265.6 MB, free: 2.797 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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 5.647e-05/0.004418, allocations: 76.42 kB / 265.6 MB, free: 2.715 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.247e-05/0.00448, allocations: 44.77 kB / 265.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.004482, allocations: 0 / 265.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.004502, allocations: 20.84 kB / 265.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.004637, allocations: 12 kB / 265.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.004874, allocations: 204.4 kB / 265.9 MB, free: 2.406 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.004906, allocations: 63.34 kB / 266 MB, free: 2.324 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.875e-05/0.004935, allocations: 11.64 kB / 266 MB, free: 2.312 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.004987, allocations: 63.36 kB / 266 MB, free: 2.25 MB / 250.7 MB Notification: Performance of SimCode: time 4.1e-07/0.004987, allocations: 0 / 266 MB, free: 2.25 MB / 250.7 MB Notification: Performance of Templates: time 0.0021/0.007087, allocations: 0.78 MB / 266.8 MB, free: 1.473 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4311543949879706]