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.001735/0.001735, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001972/0.001972, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.316/1.316, allocations: 158.6 MB / 184.6 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.05958/0.05958, allocations: 6.415 MB / 243.3 MB, free: 8.781 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.175e-06/2.175e-06, allocations: 0 / 310 MB, free: 52.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.061e-05, allocations: 3.188 kB / 310 MB, free: 52.26 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001699/0.00173, allocations: 0.5551 MB / 310.5 MB, free: 51.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003231/0.002053, allocations: 115.8 kB / 310.7 MB, free: 51.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.002104, allocations: 1.281 kB / 310.7 MB, free: 51.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.939e-05/0.002143, allocations: 10.48 kB / 310.7 MB, free: 51.87 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.002224, allocations: 8.844 kB / 310.7 MB, free: 51.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.002392, allocations: 33.44 kB / 310.7 MB, free: 51.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.002551, allocations: 72.89 kB / 310.8 MB, free: 51.81 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.002682, allocations: 25.45 kB / 310.8 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.002762, allocations: 47.69 kB / 310.9 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.002837, allocations: 24.06 kB / 310.9 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.002863, allocations: 9.5 kB / 310.9 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.151e-05/0.002885, allocations: 8.344 kB / 310.9 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.002911, allocations: 26.44 kB / 310.9 MB, free: 51.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.002945, allocations: 23.72 kB / 310.9 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.003112, allocations: 92.64 kB / 311 MB, free: 51.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003114, allocations: 1.062 kB / 311 MB, free: 51.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003115, allocations: 0.5625 kB / 311 MB, free: 51.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.003119, allocations: 0 / 311 MB, free: 51.7 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.0004614/0.003581, allocations: 424.7 kB / 311.4 MB, free: 51.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.003621, allocations: 13.17 kB / 311.5 MB, free: 51.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.003681, allocations: 25.11 kB / 311.5 MB, free: 51.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.003824, allocations: 133 kB / 311.6 MB, free: 51.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.003841, allocations: 9.938 kB / 311.6 MB, free: 51.13 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.003872, allocations: 12.3 kB / 311.6 MB, free: 51.12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.004076, allocations: 147 kB / 311.8 MB, free: 51.01 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.00409, allocations: 4.75 kB / 311.8 MB, free: 51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.004106, allocations: 6.094 kB / 311.8 MB, free: 51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.004112, allocations: 4.906 kB / 311.8 MB, free: 51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.004231, allocations: 46.3 kB / 311.8 MB, free: 50.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.004785, allocations: 397.6 kB / 312.2 MB, free: 50.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.004971, allocations: 88.17 kB / 312.3 MB, free: 50.6 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.005033, allocations: 36.45 kB / 312.4 MB, free: 50.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.005051, allocations: 5.688 kB / 312.4 MB, free: 50.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.005069, allocations: 40.22 kB / 312.4 MB, free: 50.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.00507, allocations: 0 / 312.4 MB, free: 50.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002477/0.005318, allocations: 103.1 kB / 312.5 MB, free: 50.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.00534, allocations: 57.38 kB / 312.6 MB, free: 50.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.00542, allocations: 169.1 kB / 312.7 MB, free: 50.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.005432, allocations: 31.02 kB / 312.7 MB, free: 50.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.005475, allocations: 150.8 kB / 312.9 MB, free: 50.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.005504, allocations: 31.59 kB / 312.9 MB, free: 50.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.005546, allocations: 32.03 kB / 313 MB, free: 50.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.005632, allocations: 0.4977 MB / 313.5 MB, free: 49.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.005677, allocations: 25.06 kB / 313.5 MB, free: 49.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.005713, allocations: 26.02 kB / 313.5 MB, free: 49.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.005801, allocations: 58.64 kB / 313.6 MB, free: 49.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005803, allocations: 0.875 kB / 313.6 MB, free: 49.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001298/0.005933, allocations: 96.5 kB / 313.7 MB, free: 49.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.005947, allocations: 6.406 kB / 313.7 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005951, allocations: 0 / 313.7 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.005967, allocations: 0 / 313.7 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.006079, allocations: 17.36 kB / 313.7 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.006085, allocations: 1.344 kB / 313.7 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.006109, allocations: 5.781 kB / 313.7 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.006117, allocations: 6.016 kB / 313.7 MB, free: 49.39 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.183e-05/0.006178, allocations: 173.4 kB / 313.9 MB, free: 49.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.00621, allocations: 9.453 kB / 313.9 MB, free: 49.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.006246, allocations: 11.09 kB / 313.9 MB, free: 49.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006248, allocations: 0 / 313.9 MB, free: 49.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.006251, allocations: 1.969 kB / 313.9 MB, free: 49.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.006257, allocations: 1.594 kB / 313.9 MB, free: 49.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.006417, allocations: 161.8 kB / 314 MB, free: 49.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006418, allocations: 1.656 kB / 314 MB, free: 49.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.006515, allocations: 19.03 kB / 314.1 MB, free: 49.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006517, allocations: 0 / 314.1 MB, free: 49.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.00653, allocations: 5.969 kB / 314.1 MB, free: 49.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.006532, allocations: 0.7031 kB / 314.1 MB, free: 49.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.006533, allocations: 0 / 314.1 MB, free: 49.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.006744, allocations: 262.6 kB / 314.3 MB, free: 48.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.006756, allocations: 7.328 kB / 314.3 MB, free: 48.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.006772, allocations: 2.281 kB / 314.3 MB, free: 48.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.006834, allocations: 4 kB / 314.3 MB, free: 48.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.006859, allocations: 5.656 kB / 314.3 MB, free: 48.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.006866, allocations: 6.547 kB / 314.4 MB, free: 48.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.063e-05/0.006907, allocations: 133.3 kB / 314.5 MB, free: 48.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006907, allocations: 0 / 314.5 MB, free: 48.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.007125, allocations: 23.27 kB / 314.5 MB, free: 48.67 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 7.975e-05/0.007205, allocations: 98.72 kB / 314.6 MB, free: 48.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.007354, allocations: 64.16 kB / 314.7 MB, free: 48.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.007356, allocations: 0 / 314.7 MB, free: 48.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.0074, allocations: 39.61 kB / 314.7 MB, free: 48.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.007691, allocations: 17.77 kB / 314.7 MB, free: 48.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.008056, allocations: 223.7 kB / 314.9 MB, free: 48.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.008125, allocations: 82.67 kB / 315 MB, free: 48.26 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.008174, allocations: 4.984 kB / 315 MB, free: 48.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.008203, allocations: 12.62 kB / 315 MB, free: 48.25 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008203, allocations: 0 / 315 MB, free: 48.25 MB / 282.7 MB Notification: Performance of Templates: time 0.003914/0.01212, allocations: 0.7162 MB / 315.8 MB, free: 48.18 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: 4.249703894951381]