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.0009781/0.0009781, allocations: 92.22 kB / 19.65 MB, free: 276 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.001159/0.001159, allocations: 169 kB / 23.02 MB, free: 1.547 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.9702/0.9702, allocations: 158.6 MB / 184.9 MB, free: 2.922 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.02841/0.02841, allocations: 6.411 MB / 243.6 MB, free: 8.723 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.953e-06/1.953e-06, allocations: 0 / 310.7 MB, free: 52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.183e-05, allocations: 4.141 kB / 310.7 MB, free: 52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001639/0.001671, allocations: 0.6892 MB / 311.4 MB, free: 51.61 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.002145, allocations: 183.6 kB / 311.6 MB, free: 51.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.002219, allocations: 2.844 kB / 311.6 MB, free: 51.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.251e-05/0.002281, allocations: 18.88 kB / 311.6 MB, free: 51.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.002397, allocations: 12.56 kB / 311.6 MB, free: 51.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.002619, allocations: 51.36 kB / 311.7 MB, free: 51.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.002823, allocations: 153.3 kB / 311.8 MB, free: 51.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.002983, allocations: 52.55 kB / 311.9 MB, free: 51.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.003073, allocations: 94.5 kB / 312 MB, free: 51.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.288e-05/0.003166, allocations: 54.67 kB / 312 MB, free: 51.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.003196, allocations: 18.94 kB / 312 MB, free: 51.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/0.003216, allocations: 19.25 kB / 312.1 MB, free: 51.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.003248, allocations: 44.88 kB / 312.1 MB, free: 51.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.003291, allocations: 47.33 kB / 312.1 MB, free: 51.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.003453, allocations: 111.1 kB / 312.3 MB, free: 51.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003455, allocations: 0 / 312.3 MB, free: 51.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.003457, allocations: 1.547 kB / 312.3 MB, free: 51.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.003462, allocations: 1.281 kB / 312.3 MB, free: 51.14 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0004491/0.003911, allocations: 496.8 kB / 312.7 MB, free: 50.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.003953, allocations: 14.2 kB / 312.8 MB, free: 50.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.00402, allocations: 35.12 kB / 312.8 MB, free: 50.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.004189, allocations: 164 kB / 313 MB, free: 50.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.004207, allocations: 12.09 kB / 313 MB, free: 50.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.004252, allocations: 22.66 kB / 313 MB, free: 50.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.004505, allocations: 208.3 kB / 313.2 MB, free: 50.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.004519, allocations: 2.156 kB / 313.2 MB, free: 50.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.004538, allocations: 7.188 kB / 313.2 MB, free: 50.35 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.004549, allocations: 4.469 kB / 313.2 MB, free: 50.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.004689, allocations: 75 kB / 313.3 MB, free: 50.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.005305, allocations: 0.5157 MB / 313.8 MB, free: 49.94 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.005481, allocations: 106.6 kB / 313.9 MB, free: 49.89 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/0.005551, allocations: 50.47 kB / 313.9 MB, free: 49.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.005562, allocations: 3 kB / 313.9 MB, free: 49.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.005581, allocations: 39.59 kB / 314 MB, free: 49.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.005582, allocations: 1.344 kB / 314 MB, free: 49.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002445/0.005827, allocations: 137.6 kB / 314.1 MB, free: 49.76 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/0.005843, allocations: 54.16 kB / 314.2 MB, free: 49.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.005911, allocations: 183.6 kB / 314.4 MB, free: 49.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.005922, allocations: 31.08 kB / 314.4 MB, free: 49.49 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.00597, allocations: 174.8 kB / 314.6 MB, free: 49.33 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.006006, allocations: 59.06 kB / 314.6 MB, free: 49.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.006048, allocations: 39.16 kB / 314.7 MB, free: 49.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.006099, allocations: 0.4908 MB / 315.1 MB, free: 48.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.006141, allocations: 23.92 kB / 315.2 MB, free: 48.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.006181, allocations: 25.58 kB / 315.2 MB, free: 48.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.006287, allocations: 72.83 kB / 315.3 MB, free: 48.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.00629, allocations: 0 / 315.3 MB, free: 48.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001433/0.006433, allocations: 128 kB / 315.4 MB, free: 48.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.006447, allocations: 4.125 kB / 315.4 MB, free: 48.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.006452, allocations: 1.938 kB / 315.4 MB, free: 48.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.006466, allocations: 4 kB / 315.4 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.006591, allocations: 36.5 kB / 315.4 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.006597, allocations: 1.375 kB / 315.4 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.006624, allocations: 2.75 kB / 315.4 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.006632, allocations: 13.97 kB / 315.4 MB, free: 48.63 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 (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.399e-05/0.006686, allocations: 167.2 kB / 315.6 MB, free: 48.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.006712, allocations: 16.81 kB / 315.6 MB, free: 48.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.006746, allocations: 21.95 kB / 315.6 MB, free: 48.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.006749, allocations: 1.375 kB / 315.7 MB, free: 48.44 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.006755, allocations: 8 kB / 315.7 MB, free: 48.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006758, allocations: 0 / 315.7 MB, free: 48.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.006902, allocations: 184.1 kB / 315.8 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006903, allocations: 0 / 315.8 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.007006, allocations: 37.88 kB / 315.9 MB, free: 48.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007009, allocations: 3.938 kB / 315.9 MB, free: 48.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.007024, allocations: 1.375 kB / 315.9 MB, free: 48.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.007027, allocations: 1.375 kB / 315.9 MB, free: 48.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.007028, allocations: 0 / 315.9 MB, free: 48.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.007269, allocations: 302 kB / 316.2 MB, free: 48.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.007281, allocations: 12.75 kB / 316.2 MB, free: 48.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.007299, allocations: 6.297 kB / 316.2 MB, free: 48.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.643e-05/0.007345, allocations: 1.406 kB / 316.2 MB, free: 48.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.00737, allocations: 11.31 kB / 316.2 MB, free: 48.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.00738, allocations: 7.734 kB / 316.2 MB, free: 48.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.318e-05/0.007414, allocations: 141.9 kB / 316.4 MB, free: 47.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007414, allocations: 0 / 316.4 MB, free: 47.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.007585, allocations: 35.89 kB / 316.4 MB, free: 47.84 MB / 282.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.927e-05/0.007654, allocations: 105.2 kB / 316.5 MB, free: 47.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.007795, allocations: 88.31 kB / 316.6 MB, free: 47.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.007797, allocations: 0 / 316.6 MB, free: 47.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.00784, allocations: 46.2 kB / 316.6 MB, free: 47.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.008071, allocations: 32.42 kB / 316.7 MB, free: 47.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.008478, allocations: 310.6 kB / 317 MB, free: 47.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.00853, allocations: 73.72 kB / 317 MB, free: 47.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.199e-05/0.008582, allocations: 10.38 kB / 317 MB, free: 47.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.008617, allocations: 16.5 kB / 317.1 MB, free: 47.16 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008618, allocations: 4 kB / 317.1 MB, free: 47.16 MB / 282.7 MB Notification: Performance of Templates: time 0.002896/0.01151, allocations: 1.083 MB / 318.1 MB, free: 46.25 MB / 282.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: 3.0020119128748775]