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.001347/0.001347, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001716/0.001716, allocations: 169 kB / 23.27 MB, free: 1.223 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.9232/0.9232, allocations: 158.6 MB / 185.2 MB, free: 2.805 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.02711/0.02711, allocations: 6.414 MB / 244 MB, free: 8.555 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.663e-06/1.663e-06, allocations: 0 / 311.2 MB, free: 51.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.27e-05, allocations: 4 kB / 311.2 MB, free: 51.76 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001216/0.001229, allocations: 0.6809 MB / 311.8 MB, free: 51.37 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.001566, allocations: 174 kB / 312 MB, free: 51.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.001625, allocations: 4.656 kB / 312 MB, free: 51.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.613e-05/0.001671, allocations: 19.12 kB / 312 MB, free: 51.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.71e-05/0.001758, allocations: 13.61 kB / 312.1 MB, free: 51.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.001936, allocations: 56.5 kB / 312.1 MB, free: 51.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.002112, allocations: 140.8 kB / 312.2 MB, free: 51.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.002269, allocations: 57.94 kB / 312.3 MB, free: 51.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.00236, allocations: 98.12 kB / 312.4 MB, free: 51.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.002439, allocations: 51.48 kB / 312.4 MB, free: 51.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.002464, allocations: 18.66 kB / 312.5 MB, free: 51.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.888e-05/0.002483, allocations: 18.53 kB / 312.5 MB, free: 51.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.002513, allocations: 45.23 kB / 312.5 MB, free: 51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.002551, allocations: 50.31 kB / 312.6 MB, free: 50.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.002685, allocations: 111.8 kB / 312.7 MB, free: 50.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002687, allocations: 3.062 kB / 312.7 MB, free: 50.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.002687, allocations: 0 / 312.7 MB, free: 50.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.002691, allocations: 0 / 312.7 MB, free: 50.91 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.0003653/0.003056, allocations: 490.8 kB / 313.2 MB, free: 50.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.003092, allocations: 15.33 kB / 313.2 MB, free: 50.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.003137, allocations: 40.7 kB / 313.2 MB, free: 50.44 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.003255, allocations: 163.6 kB / 313.4 MB, free: 50.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.003268, allocations: 13.56 kB / 313.4 MB, free: 50.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.003297, allocations: 24 kB / 313.4 MB, free: 50.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.003462, allocations: 193.2 kB / 313.6 MB, free: 50.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.003474, allocations: 0.7969 kB / 313.6 MB, free: 50.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.003487, allocations: 15.12 kB / 313.6 MB, free: 50.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.003494, allocations: 4.5 kB / 313.6 MB, free: 50.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.003571, allocations: 59.73 kB / 313.7 MB, free: 50.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.00408, allocations: 483.7 kB / 314.2 MB, free: 49.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.00422, allocations: 100.8 kB / 314.3 MB, free: 49.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.004267, allocations: 45.91 kB / 314.3 MB, free: 49.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.004278, allocations: 3.828 kB / 314.3 MB, free: 49.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.004293, allocations: 34.77 kB / 314.3 MB, free: 49.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.004294, allocations: 5.375 kB / 314.3 MB, free: 49.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001749/0.004469, allocations: 127.1 kB / 314.5 MB, free: 49.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.549e-05/0.004484, allocations: 53.44 kB / 314.5 MB, free: 49.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.004548, allocations: 183.8 kB / 314.7 MB, free: 49.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.00456, allocations: 31.08 kB / 314.7 MB, free: 49.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.00461, allocations: 174.6 kB / 314.9 MB, free: 49.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.004651, allocations: 61.34 kB / 315 MB, free: 49.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.004691, allocations: 32.77 kB / 315 MB, free: 49.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.004754, allocations: 0.4947 MB / 315.5 MB, free: 48.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.004781, allocations: 17.02 kB / 315.5 MB, free: 48.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.004806, allocations: 23.41 kB / 315.5 MB, free: 48.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.866e-05/0.004875, allocations: 64.55 kB / 315.6 MB, free: 48.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.004877, allocations: 0 / 315.6 MB, free: 48.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001124/0.004989, allocations: 119.5 kB / 315.7 MB, free: 48.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.005002, allocations: 5.594 kB / 315.7 MB, free: 48.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005007, allocations: 0 / 315.7 MB, free: 48.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005017, allocations: 1.406 kB / 315.7 MB, free: 48.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.005123, allocations: 32.38 kB / 315.7 MB, free: 48.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.005126, allocations: 1.031 kB / 315.7 MB, free: 48.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.005147, allocations: 6.062 kB / 315.8 MB, free: 48.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.005153, allocations: 5.656 kB / 315.8 MB, free: 48.46 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.293e-05/0.005206, allocations: 167.6 kB / 315.9 MB, free: 48.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.005232, allocations: 27.36 kB / 315.9 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.00526, allocations: 17.88 kB / 316 MB, free: 48.26 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.005263, allocations: 2.844 kB / 316 MB, free: 48.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.005266, allocations: 0 / 316 MB, free: 48.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005269, allocations: 0 / 316 MB, free: 48.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.005407, allocations: 156.5 kB / 316.1 MB, free: 48.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.00541, allocations: 4 kB / 316.1 MB, free: 48.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.005497, allocations: 32.78 kB / 316.2 MB, free: 48.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.005499, allocations: 7.938 kB / 316.2 MB, free: 48.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.005512, allocations: 8.562 kB / 316.2 MB, free: 48.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005513, allocations: 0 / 316.2 MB, free: 48.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.005515, allocations: 0.75 kB / 316.2 MB, free: 48.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.005678, allocations: 277.8 kB / 316.4 MB, free: 47.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.005686, allocations: 8.656 kB / 316.5 MB, free: 47.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.005697, allocations: 8.828 kB / 316.5 MB, free: 47.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.005736, allocations: 4 kB / 316.5 MB, free: 47.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.005751, allocations: 9.109 kB / 316.5 MB, free: 47.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.005756, allocations: 4 kB / 316.5 MB, free: 47.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.501e-05/0.005781, allocations: 147.7 kB / 316.6 MB, free: 47.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.005781, allocations: 0 / 316.6 MB, free: 47.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.00593, allocations: 35.89 kB / 316.7 MB, free: 47.62 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 5.725e-05/0.005987, allocations: 104.4 kB / 316.8 MB, free: 47.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.872e-05/0.006076, allocations: 72.98 kB / 316.8 MB, free: 47.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.006077, allocations: 0 / 316.8 MB, free: 47.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.006108, allocations: 48.69 kB / 316.9 MB, free: 47.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.006299, allocations: 18.67 kB / 316.9 MB, free: 47.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.006598, allocations: 320 kB / 317.2 MB, free: 47.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.152e-05/0.00669, allocations: 77 kB / 317.3 MB, free: 46.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.006732, allocations: 10.02 kB / 317.3 MB, free: 46.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.006795, allocations: 94.7 kB / 317.4 MB, free: 46.88 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.006796, allocations: 0 / 317.4 MB, free: 46.88 MB / 282.7 MB Notification: Performance of Templates: time 0.002515/0.009311, allocations: 1.182 MB / 318.6 MB, free: 45.87 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.716667135246098]