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.001138/0.001138, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001198/0.001198, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8157/0.8157, allocations: 158.6 MB / 185 MB, free: 2.688 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.02354/0.02354, allocations: 6.408 MB / 243.6 MB, free: 8.961 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.222e-06/1.222e-06, allocations: 0 / 361.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.725e-05, allocations: 2.281 kB / 361.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.0009686/0.0009858, allocations: 0.6689 MB / 361.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002942/0.00128, allocations: 163.4 kB / 361.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.001329, allocations: 4 kB / 361.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.001369, allocations: 23.73 kB / 361.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.001437, allocations: 11.81 kB / 361.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.001574, allocations: 55.86 kB / 362 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.00171, allocations: 147.7 kB / 362.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.001843, allocations: 57.75 kB / 362.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.001901, allocations: 91.8 kB / 362.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.001961, allocations: 51.78 kB / 362.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.001986, allocations: 20 kB / 362.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.002, allocations: 20 kB / 362.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.002022, allocations: 35.84 kB / 362.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.002052, allocations: 59.83 kB / 362.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.002176, allocations: 183.5 kB / 362.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.002177, allocations: 0 / 362.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.002178, allocations: 4 kB / 362.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.002182, allocations: 0 / 362.6 MB, free: 2.301 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.0003462/0.002528, allocations: 394 kB / 363 MB, free: 1.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.002559, allocations: 11.98 kB / 363 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.002599, allocations: 24.8 kB / 363.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.002722, allocations: 163.2 kB / 363.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.002732, allocations: 12.75 kB / 363.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.00276, allocations: 24.38 kB / 363.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.002952, allocations: 242.3 kB / 363.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.002964, allocations: 4.188 kB / 363.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.002979, allocations: 4.375 kB / 363.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.002984, allocations: 8.312 kB / 363.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.003101, allocations: 123.6 kB / 363.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.003557, allocations: 463.8 kB / 364.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.003703, allocations: 122.5 kB / 364.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.003762, allocations: 68.84 kB / 364.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.003773, allocations: 4 kB / 364.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.003788, allocations: 38.5 kB / 364.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 8.92e-07/0.003789, allocations: 0 / 364.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002097/0.003998, allocations: 169.6 kB / 364.5 MB, free: 332 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.682e-05/0.004015, allocations: 55.41 kB / 364.5 MB, free: 264 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.757e-05/0.004063, allocations: 129.9 kB / 364.7 MB, free: 128 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.004071, allocations: 33.69 kB / 364.7 MB, free: 88 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.004126, allocations: 128.5 kB / 364.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.004162, allocations: 51.55 kB / 364.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.0042, allocations: 37.7 kB / 364.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.004278, allocations: 326.8 kB / 365.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.855e-05/0.004326, allocations: 35.98 kB / 365.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.004371, allocations: 39.98 kB / 365.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.004484, allocations: 115.2 kB / 365.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.004486, allocations: 0 / 365.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001483/0.004634, allocations: 157.6 kB / 365.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.004645, allocations: 4 kB / 365.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.004649, allocations: 0 / 365.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.004659, allocations: 0 / 365.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.004776, allocations: 39.92 kB / 365.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.004781, allocations: 0 / 365.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.004803, allocations: 11.98 kB / 365.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.004808, allocations: 3.938 kB / 365.6 MB, free: 15.12 MB / 298.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 6.778e-05/0.004876, allocations: 125.8 kB / 365.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.004895, allocations: 15.91 kB / 365.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.004923, allocations: 16.44 kB / 365.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.004925, allocations: 0 / 365.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.004931, allocations: 8 kB / 365.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.004934, allocations: 0 / 365.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.005101, allocations: 193 kB / 366 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005101, allocations: 0 / 366 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.005184, allocations: 31.92 kB / 366 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.005185, allocations: 0 / 366 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.005196, allocations: 8 kB / 366 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005197, allocations: 3.938 kB / 366 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005198, allocations: 0 / 366 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.00546, allocations: 295.3 kB / 366.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.005473, allocations: 11.95 kB / 366.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.005485, allocations: 4 kB / 366.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-05/0.005529, allocations: 4 kB / 366.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.005548, allocations: 15.92 kB / 366.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.005553, allocations: 4 kB / 366.3 MB, free: 14.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.005592, allocations: 103.3 kB / 366.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005592, allocations: 0 / 366.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.005749, allocations: 31.89 kB / 366.5 MB, free: 14.22 MB / 298.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.892e-05/0.005818, allocations: 95.25 kB / 366.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.005966, allocations: 119.4 kB / 366.7 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.005967, allocations: 0 / 366.7 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.054e-05/0.006018, allocations: 59.92 kB / 366.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.006236, allocations: 30.2 kB / 366.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.006624, allocations: 339.8 kB / 367.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.006758, allocations: 111.6 kB / 367.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.006794, allocations: 16.5 kB / 367.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006795, allocations: 0 / 367.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Templates: time 0.002213/0.009008, allocations: 1.787 MB / 369 MB, free: 11.62 MB / 298.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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.018876485526562] Failed to read output from testmodel.py, exit status != 0: 0.012854773551225662 0.021193944000000003 0.017454294000000002 Calling exit ...