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.001007/0.001007, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001119/0.001119, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9997/0.9997, allocations: 158.6 MB / 186 MB, free: 2.801 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.02897/0.02897, allocations: 6.409 MB / 244.7 MB, free: 8.551 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.543e-06/1.543e-06, allocations: 0 / 312 MB, free: 51.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.576e-05, allocations: 5.094 kB / 312 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001402/0.001418, allocations: 0.6818 MB / 312.6 MB, free: 51.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.001802, allocations: 166.3 kB / 312.8 MB, free: 51.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.001883, allocations: 3.438 kB / 312.8 MB, free: 51.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.001935, allocations: 20.14 kB / 312.8 MB, free: 51.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.582e-05/0.002031, allocations: 18.55 kB / 312.8 MB, free: 51.26 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.002256, allocations: 55.69 kB / 312.9 MB, free: 51.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.002463, allocations: 143.6 kB / 313 MB, free: 51.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.002622, allocations: 55.77 kB / 313.1 MB, free: 51.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.002717, allocations: 93.5 kB / 313.2 MB, free: 51.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.002812, allocations: 50.72 kB / 313.2 MB, free: 51.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.002847, allocations: 19.38 kB / 313.3 MB, free: 51.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.153e-05/0.002869, allocations: 17.66 kB / 313.3 MB, free: 51.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.002904, allocations: 46.33 kB / 313.3 MB, free: 51.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.00295, allocations: 53.09 kB / 313.4 MB, free: 51.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.003112, allocations: 108.3 kB / 313.5 MB, free: 50.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003114, allocations: 0 / 313.5 MB, free: 50.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003115, allocations: 1.719 kB / 313.5 MB, free: 50.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.00312, allocations: 1.219 kB / 313.5 MB, free: 50.95 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.0004921/0.003612, allocations: 0.4928 MB / 314 MB, free: 50.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.00365, allocations: 12.98 kB / 314 MB, free: 50.49 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.003707, allocations: 38.08 kB / 314 MB, free: 50.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.003855, allocations: 157.9 kB / 314.2 MB, free: 50.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.003871, allocations: 11.88 kB / 314.2 MB, free: 50.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.003905, allocations: 22.91 kB / 314.2 MB, free: 50.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.004099, allocations: 188.7 kB / 314.4 MB, free: 50.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.004115, allocations: 6.234 kB / 314.4 MB, free: 50.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.00413, allocations: 9.625 kB / 314.4 MB, free: 50.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.004139, allocations: 10.78 kB / 314.4 MB, free: 50.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.004246, allocations: 63.52 kB / 314.5 MB, free: 50.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.004849, allocations: 484.5 kB / 315 MB, free: 49.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.005007, allocations: 96.48 kB / 315 MB, free: 49.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.005059, allocations: 54.22 kB / 315.1 MB, free: 49.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.00507, allocations: 6.75 kB / 315.1 MB, free: 49.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.005089, allocations: 39.33 kB / 315.1 MB, free: 49.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.00509, allocations: 0 / 315.1 MB, free: 49.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002128/0.005303, allocations: 120.9 kB / 315.3 MB, free: 49.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.005327, allocations: 53.3 kB / 315.3 MB, free: 49.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.005396, allocations: 188.2 kB / 315.5 MB, free: 49.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.005406, allocations: 27.08 kB / 315.5 MB, free: 49.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.005455, allocations: 174.5 kB / 315.7 MB, free: 49.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.005495, allocations: 57.02 kB / 315.7 MB, free: 49.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.005538, allocations: 40.61 kB / 315.8 MB, free: 49.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.0056, allocations: 0.495 MB / 316.3 MB, free: 48.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.005635, allocations: 25.16 kB / 316.3 MB, free: 48.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.005675, allocations: 17.73 kB / 316.3 MB, free: 48.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.004e-05/0.005765, allocations: 55.53 kB / 316.4 MB, free: 48.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005767, allocations: 0 / 316.4 MB, free: 48.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001243/0.005892, allocations: 118.6 kB / 316.5 MB, free: 48.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.005906, allocations: 5.25 kB / 316.5 MB, free: 48.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.005911, allocations: 0 / 316.5 MB, free: 48.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005922, allocations: 1.281 kB / 316.5 MB, free: 48.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.006047, allocations: 37.5 kB / 316.5 MB, free: 48.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.006051, allocations: 1.125 kB / 316.5 MB, free: 48.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.006073, allocations: 9.562 kB / 316.5 MB, free: 48.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.006079, allocations: 2.344 kB / 316.6 MB, free: 48.5 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 6.067e-05/0.006139, allocations: 163.6 kB / 316.7 MB, free: 48.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.006167, allocations: 24.09 kB / 316.7 MB, free: 48.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.0062, allocations: 15.28 kB / 316.7 MB, free: 48.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006203, allocations: 12.97 kB / 316.8 MB, free: 48.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.006205, allocations: 0 / 316.8 MB, free: 48.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.00621, allocations: 1.438 kB / 316.8 MB, free: 48.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.006341, allocations: 156.2 kB / 316.9 MB, free: 48.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.006342, allocations: 4 kB / 316.9 MB, free: 48.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.006427, allocations: 31.56 kB / 317 MB, free: 48.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006429, allocations: 3.938 kB / 317 MB, free: 48.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.006442, allocations: 4 kB / 317 MB, free: 48.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.006443, allocations: 4 kB / 317 MB, free: 48.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006444, allocations: 0 / 317 MB, free: 48.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.006617, allocations: 288.3 kB / 317.2 MB, free: 47.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.006626, allocations: 8.75 kB / 317.3 MB, free: 47.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.006639, allocations: 5.109 kB / 317.3 MB, free: 47.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.006678, allocations: 4 kB / 317.3 MB, free: 47.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.006697, allocations: 14.05 kB / 317.3 MB, free: 47.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.006703, allocations: 4 kB / 317.3 MB, free: 47.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.975e-05/0.006733, allocations: 143.1 kB / 317.4 MB, free: 47.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006733, allocations: 0 / 317.4 MB, free: 47.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000149/0.006882, allocations: 39.89 kB / 317.5 MB, free: 47.63 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 7.079e-05/0.006952, allocations: 96.66 kB / 317.6 MB, free: 47.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.007065, allocations: 77.27 kB / 317.6 MB, free: 47.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007067, allocations: 0 / 317.6 MB, free: 47.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.0071, allocations: 41.25 kB / 317.7 MB, free: 47.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.007309, allocations: 28.92 kB / 317.7 MB, free: 47.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.007679, allocations: 317.9 kB / 318 MB, free: 47.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.007722, allocations: 72.91 kB / 318.1 MB, free: 46.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.74e-05/0.00777, allocations: 12.27 kB / 318.1 MB, free: 46.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.00785, allocations: 89.67 kB / 318.2 MB, free: 46.89 MB / 282.7 MB Notification: Performance of SimCode: time 9.51e-07/0.007851, allocations: 0 / 318.2 MB, free: 46.89 MB / 282.7 MB Notification: Performance of Templates: time 0.00312/0.01097, allocations: 1.203 MB / 319.4 MB, free: 45.86 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: 2.9363287119194865]