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.001013/0.001013, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009829/0.0009829, allocations: 173 kB / 23.49 MB, free: 1.062 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.8853/0.8853, allocations: 158.6 MB / 185.3 MB, free: 2.934 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.02731/0.02731, allocations: 6.407 MB / 244 MB, free: 8.801 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 2.615e-06/2.615e-06, allocations: 0 / 310.7 MB, free: 52.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.496e-05, allocations: 8.922 kB / 310.7 MB, free: 52.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001975/0.00201, allocations: 0.5444 MB / 311.3 MB, free: 52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000388/0.002398, allocations: 115.6 kB / 311.4 MB, free: 51.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.002454, allocations: 1.125 kB / 311.4 MB, free: 51.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.002499, allocations: 9.031 kB / 311.4 MB, free: 51.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.002585, allocations: 10.47 kB / 311.4 MB, free: 51.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.002765, allocations: 35.58 kB / 311.4 MB, free: 51.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.002937, allocations: 67.2 kB / 311.5 MB, free: 51.85 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.003088, allocations: 29.47 kB / 311.5 MB, free: 51.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.00317, allocations: 47.86 kB / 311.6 MB, free: 51.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.003255, allocations: 25.45 kB / 311.6 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.003286, allocations: 10.94 kB / 311.6 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.003303, allocations: 8.938 kB / 311.6 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.003332, allocations: 17.97 kB / 311.6 MB, free: 51.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.003371, allocations: 27.53 kB / 311.7 MB, free: 51.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.003514, allocations: 56.83 kB / 311.7 MB, free: 51.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.003518, allocations: 0.75 kB / 311.7 MB, free: 51.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003519, allocations: 1.125 kB / 311.7 MB, free: 51.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.003524, allocations: 1.062 kB / 311.7 MB, free: 51.75 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004104/0.003934, allocations: 417.6 kB / 312.1 MB, free: 51.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.003978, allocations: 13.95 kB / 312.1 MB, free: 51.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.004043, allocations: 16 kB / 312.2 MB, free: 51.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.004214, allocations: 140 kB / 312.3 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.00423, allocations: 9.188 kB / 312.3 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.004265, allocations: 16.03 kB / 312.3 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.004461, allocations: 138.5 kB / 312.5 MB, free: 51.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.004473, allocations: 0 / 312.5 MB, free: 51.06 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.00449, allocations: 1.312 kB / 312.5 MB, free: 51.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.004502, allocations: 3.219 kB / 312.5 MB, free: 51.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.004602, allocations: 31.22 kB / 312.5 MB, free: 51.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.005144, allocations: 376.8 kB / 312.9 MB, free: 50.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.005314, allocations: 80.38 kB / 312.9 MB, free: 50.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.005369, allocations: 27.42 kB / 313 MB, free: 50.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.005381, allocations: 6.062 kB / 313 MB, free: 50.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.005407, allocations: 40.52 kB / 313 MB, free: 50.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.405e-06/0.005409, allocations: 2.062 kB / 313 MB, free: 50.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002329/0.005642, allocations: 74.59 kB / 313.1 MB, free: 50.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.005666, allocations: 53.33 kB / 313.1 MB, free: 50.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.005735, allocations: 171.2 kB / 313.3 MB, free: 50.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.005747, allocations: 35.64 kB / 313.3 MB, free: 50.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.005789, allocations: 150.2 kB / 313.5 MB, free: 50.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.005819, allocations: 29.88 kB / 313.5 MB, free: 50.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.005861, allocations: 27.83 kB / 313.5 MB, free: 50.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.00592, allocations: 0.4925 MB / 314 MB, free: 49.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.005956, allocations: 13.11 kB / 314.1 MB, free: 49.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.005988, allocations: 10.86 kB / 314.1 MB, free: 49.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.006069, allocations: 43.03 kB / 314.1 MB, free: 49.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.006072, allocations: 0 / 314.1 MB, free: 49.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000132/0.006204, allocations: 82.34 kB / 314.2 MB, free: 49.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.006222, allocations: 5.5 kB / 314.2 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.006228, allocations: 6.078 kB / 314.2 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.006242, allocations: 0 / 314.2 MB, free: 49.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.006359, allocations: 20.41 kB / 314.2 MB, free: 49.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.006365, allocations: 1.375 kB / 314.2 MB, free: 49.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.006388, allocations: 1.375 kB / 314.2 MB, free: 49.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.006395, allocations: 1.984 kB / 314.2 MB, free: 49.52 MB / 282.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 6.518e-05/0.00646, allocations: 164 kB / 314.4 MB, free: 49.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.006492, allocations: 9.453 kB / 314.4 MB, free: 49.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.006527, allocations: 14.52 kB / 314.4 MB, free: 49.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.00653, allocations: 4.609 kB / 314.4 MB, free: 49.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.006535, allocations: 1.375 kB / 314.4 MB, free: 49.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.006539, allocations: 0.7031 kB / 314.4 MB, free: 49.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.006698, allocations: 144.8 kB / 314.6 MB, free: 49.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.0067, allocations: 0 / 314.6 MB, free: 49.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.006796, allocations: 15.75 kB / 314.6 MB, free: 49.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.006798, allocations: 0 / 314.6 MB, free: 49.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.006816, allocations: 2.359 kB / 314.6 MB, free: 49.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.006817, allocations: 0 / 314.6 MB, free: 49.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.006819, allocations: 0 / 314.6 MB, free: 49.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.007036, allocations: 249.1 kB / 314.8 MB, free: 48.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.007048, allocations: 15.31 kB / 314.8 MB, free: 48.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.007067, allocations: 5.031 kB / 314.8 MB, free: 48.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.007135, allocations: 1.406 kB / 314.8 MB, free: 48.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.007158, allocations: 4.219 kB / 314.8 MB, free: 48.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.007166, allocations: 3.016 kB / 314.8 MB, free: 48.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.289e-05/0.007199, allocations: 132.9 kB / 315 MB, free: 48.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007199, allocations: 0 / 315 MB, free: 48.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.007481, allocations: 19.52 kB / 315 MB, free: 48.83 MB / 282.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 8.82e-05/0.00757, allocations: 104.8 kB / 315.1 MB, free: 48.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.007699, allocations: 49.47 kB / 315.1 MB, free: 48.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.007702, allocations: 1.344 kB / 315.1 MB, free: 48.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.007742, allocations: 33.69 kB / 315.2 MB, free: 48.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.008059, allocations: 21.97 kB / 315.2 MB, free: 48.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.008448, allocations: 197.5 kB / 315.4 MB, free: 48.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.008488, allocations: 65.91 kB / 315.5 MB, free: 48.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.46e-05/0.008533, allocations: 6.594 kB / 315.5 MB, free: 48.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.008563, allocations: 12.59 kB / 315.5 MB, free: 48.44 MB / 282.7 MB Notification: Performance of SimCode: time 9.31e-07/0.008564, allocations: 0 / 315.5 MB, free: 48.44 MB / 282.7 MB Notification: Performance of Templates: time 0.003466/0.01203, allocations: 0.709 MB / 316.2 MB, free: 48.37 MB / 282.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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.740904361009598]