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.001345/0.001345, allocations: 80.94 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.001666/0.001666, 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.8745/0.8745, allocations: 158.6 MB / 185.2 MB, free: 2.738 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.02708/0.02708, allocations: 6.418 MB / 244 MB, free: 8.609 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.363e-06/1.363e-06, allocations: 0 / 262.1 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.846e-05, allocations: 10.25 kB / 262.1 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001198/0.001216, allocations: 0.672 MB / 262.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003256/0.001542, allocations: 175.3 kB / 263 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.001586, allocations: 7.938 kB / 263 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.001627, allocations: 23.8 kB / 263 MB, free: 5.578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.001703, allocations: 15.75 kB / 263 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.001842, allocations: 59.86 kB / 263.1 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.001983, allocations: 139.7 kB / 263.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.0021, allocations: 62.28 kB / 263.3 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/0.002179, allocations: 95.8 kB / 263.4 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.002248, allocations: 47.8 kB / 263.4 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.002274, allocations: 19.94 kB / 263.4 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.002291, allocations: 20 kB / 263.4 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.002321, allocations: 39.89 kB / 263.5 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.479e-05/0.002356, allocations: 55.83 kB / 263.5 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.002478, allocations: 111.6 kB / 263.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.00248, allocations: 0 / 263.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00248, allocations: 0 / 263.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.002484, allocations: 4 kB / 263.6 MB, free: 4.922 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0003468/0.002831, allocations: 364.6 kB / 264 MB, free: 4.535 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.00286, allocations: 11.98 kB / 264 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.002903, allocations: 36.91 kB / 264 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.003028, allocations: 137.5 kB / 264.2 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.003039, allocations: 12.75 kB / 264.2 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.003074, allocations: 40.27 kB / 264.2 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.003224, allocations: 190.3 kB / 264.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.003234, allocations: 192 / 264.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.003247, allocations: 12.38 kB / 264.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.003252, allocations: 4.375 kB / 264.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.003554, allocations: 51.41 kB / 264.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.003992, allocations: 371.6 kB / 264.9 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.00411, allocations: 86.47 kB / 264.9 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.004146, allocations: 32.8 kB / 265 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.004155, allocations: 4 kB / 265 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.004175, allocations: 38.55 kB / 265 MB, free: 3.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.004176, allocations: 3.938 kB / 265 MB, free: 3.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001371/0.004314, allocations: 93.89 kB / 265.1 MB, free: 3.344 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.004336, allocations: 59.34 kB / 265.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.004394, allocations: 130.7 kB / 265.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.004406, allocations: 29.7 kB / 265.3 MB, free: 3.098 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.004448, allocations: 128.4 kB / 265.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.004481, allocations: 59.52 kB / 265.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.004516, allocations: 37.59 kB / 265.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.00459, allocations: 322.8 kB / 265.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.00461, allocations: 16 kB / 265.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.004632, allocations: 16 kB / 265.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.851e-05/0.004691, allocations: 61.02 kB / 265.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004692, allocations: 0 / 265.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.382e-05/0.004786, allocations: 85.55 kB / 266 MB, free: 2.359 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.004799, allocations: 12 kB / 266 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.004803, allocations: 0 / 266 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.004814, allocations: 0 / 266 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.004922, allocations: 39.95 kB / 266.1 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.004926, allocations: 4 kB / 266.1 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.004949, allocations: 11.89 kB / 266.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.004954, allocations: 4 kB / 266.1 MB, free: 2.289 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 (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 5.813e-05/0.005012, allocations: 113.8 kB / 266.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.005035, allocations: 19.92 kB / 266.2 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.005067, allocations: 16.44 kB / 266.2 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005068, allocations: 4 kB / 266.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.00507, allocations: 0 / 266.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005073, allocations: 0 / 266.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.005208, allocations: 129.8 kB / 266.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.005209, allocations: 0 / 266.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.005319, allocations: 31.98 kB / 266.4 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.005321, allocations: 0 / 266.4 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.005337, allocations: 7.938 kB / 266.4 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.005339, allocations: 0 / 266.4 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00534, allocations: 0 / 266.4 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.00557, allocations: 228.4 kB / 266.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.005581, allocations: 7.953 kB / 266.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.005592, allocations: 7.875 kB / 266.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.005634, allocations: 4 kB / 266.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.005648, allocations: 7.984 kB / 266.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.005653, allocations: 4 kB / 266.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.005676, allocations: 28.86 kB / 266.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005676, allocations: 4 kB / 266.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.005812, allocations: 35.84 kB / 266.7 MB, free: 1.602 MB / 250.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 6.796e-05/0.00588, allocations: 84.36 kB / 266.8 MB, free: 1.512 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.239e-05/0.005972, allocations: 68.81 kB / 266.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.005975, allocations: 0 / 266.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.006005, allocations: 36.78 kB / 266.9 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.006151, allocations: 24.45 kB / 266.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.006514, allocations: 300.7 kB / 267.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.889e-05/0.006553, allocations: 75.33 kB / 267.3 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.46e-05/0.006597, allocations: 12.97 kB / 267.3 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.006668, allocations: 79.36 kB / 267.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.006668, allocations: 4 kB / 267.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of Templates: time 0.002836/0.009504, allocations: 1.168 MB / 268.6 MB, free: 15.7 MB / 266.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.4416866791434586]