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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001186/0.001186, allocations: 184.8 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.35/1.35, allocations: 194.2 MB / 210.9 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03884/0.03884, allocations: 8.116 MB / 263.3 MB, free: 12.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002383/0.002382, allocations: 128.1 kB / 309.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.89 kB / 365.4 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2461, allocations: 45.26 MB / 410.7 MB, free: 66.83 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001959/0.2481, allocations: 0.7651 MB / 411.4 MB, free: 66.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003671/0.2485, allocations: 179.3 kB / 411.6 MB, free: 65.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.2486, allocations: 4 kB / 411.6 MB, free: 65.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.718e-05/0.2487, allocations: 15.8 kB / 411.6 MB, free: 65.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.282e-05/0.2488, allocations: 7.938 kB / 411.6 MB, free: 65.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.249, allocations: 39.97 kB / 411.7 MB, free: 65.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.2491, allocations: 127.8 kB / 411.8 MB, free: 65.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.2493, allocations: 74.05 kB / 411.9 MB, free: 65.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.2494, allocations: 55.72 kB / 411.9 MB, free: 65.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.2495, allocations: 75.61 kB / 412 MB, free: 65.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.2495, allocations: 12 kB / 412 MB, free: 65.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.2495, allocations: 16 kB / 412 MB, free: 65.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.2496, allocations: 35.84 kB / 412.1 MB, free: 65.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.2496, allocations: 75.59 kB / 412.1 MB, free: 65.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.2498, allocations: 175.4 kB / 412.3 MB, free: 65.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2498, allocations: 0 / 412.3 MB, free: 65.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2498, allocations: 0 / 412.3 MB, free: 65.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.2498, allocations: 0 / 412.3 MB, free: 65.19 MB / 314.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.0005214/0.2503, allocations: 473.5 kB / 412.8 MB, free: 64.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2504, allocations: 8.031 kB / 412.8 MB, free: 64.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.2505, allocations: 20.75 kB / 412.8 MB, free: 64.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.2507, allocations: 216 kB / 413 MB, free: 64.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2507, allocations: 12.75 kB / 413 MB, free: 64.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.2507, allocations: 24.36 kB / 413 MB, free: 64.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.251, allocations: 168.9 kB / 413.2 MB, free: 64.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.251, allocations: 4.188 kB / 413.2 MB, free: 64.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.251, allocations: 11.94 kB / 413.2 MB, free: 64.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.251, allocations: 7.938 kB / 413.2 MB, free: 64.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.2512, allocations: 119.6 kB / 413.3 MB, free: 64.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.2519, allocations: 0.578 MB / 413.9 MB, free: 63.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.2522, allocations: 122.5 kB / 414 MB, free: 63.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.2523, allocations: 76.84 kB / 414.1 MB, free: 63.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.2523, allocations: 7.938 kB / 414.1 MB, free: 63.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2523, allocations: 34.56 kB / 414.2 MB, free: 63.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.502e-06/0.2523, allocations: 0 / 414.2 MB, free: 63.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003405/0.2527, allocations: 182.4 kB / 414.3 MB, free: 62.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.2527, allocations: 51.41 kB / 414.4 MB, free: 62.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.2528, allocations: 125.8 kB / 414.5 MB, free: 62.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2528, allocations: 29.7 kB / 414.5 MB, free: 62.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.2529, allocations: 124.2 kB / 414.7 MB, free: 62.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.2529, allocations: 63.19 kB / 414.7 MB, free: 62.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.253, allocations: 29.72 kB / 414.8 MB, free: 62.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.253, allocations: 326.8 kB / 415.1 MB, free: 62.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.2531, allocations: 43.98 kB / 415.1 MB, free: 62.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.2531, allocations: 47.92 kB / 415.2 MB, free: 62.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.2533, allocations: 105.5 kB / 415.3 MB, free: 62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2533, allocations: 0 / 415.3 MB, free: 62 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001721/0.2535, allocations: 143.7 kB / 415.4 MB, free: 61.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2535, allocations: 4 kB / 415.4 MB, free: 61.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2535, allocations: 4 kB / 415.4 MB, free: 61.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2535, allocations: 4 kB / 415.4 MB, free: 61.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.2537, allocations: 35.91 kB / 415.4 MB, free: 61.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2537, allocations: 0 / 415.4 MB, free: 61.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.2538, allocations: 15.88 kB / 415.5 MB, free: 61.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2538, allocations: 4 kB / 415.5 MB, free: 61.79 MB / 314.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 9.99e-05/0.2539, allocations: 121.8 kB / 415.6 MB, free: 61.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.2539, allocations: 15.81 kB / 415.6 MB, free: 61.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.254, allocations: 20.44 kB / 415.6 MB, free: 61.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.254, allocations: 4 kB / 415.6 MB, free: 61.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.254, allocations: 3.984 kB / 415.6 MB, free: 61.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.254, allocations: 3.938 kB / 415.6 MB, free: 61.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.2542, allocations: 265.6 kB / 415.9 MB, free: 61.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2542, allocations: 0 / 415.9 MB, free: 61.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.2544, allocations: 27.92 kB / 415.9 MB, free: 61.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2544, allocations: 4 kB / 415.9 MB, free: 61.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2544, allocations: 7.984 kB / 415.9 MB, free: 61.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2544, allocations: 3.938 kB / 415.9 MB, free: 61.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2544, allocations: 4 kB / 415.9 MB, free: 61.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.2563, allocations: 1.801 MB / 417.7 MB, free: 59.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.2563, allocations: 84.95 kB / 417.8 MB, free: 59.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2563, allocations: 7.938 kB / 417.8 MB, free: 59.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.2564, allocations: 8 kB / 417.8 MB, free: 59.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.2565, allocations: 11.97 kB / 417.9 MB, free: 59.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.2565, allocations: 7.938 kB / 417.9 MB, free: 59.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.386e-05/0.2565, allocations: 99.27 kB / 418 MB, free: 59.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2565, allocations: 0 / 418 MB, free: 59.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.2569, allocations: 39.84 kB / 418 MB, free: 59.05 MB / 314.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 9.226e-05/0.257, allocations: 103.2 kB / 418.1 MB, free: 58.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.2572, allocations: 111.8 kB / 418.2 MB, free: 58.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2572, allocations: 0 / 418.2 MB, free: 58.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.802e-05/0.2572, allocations: 67.91 kB / 418.3 MB, free: 58.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.2576, allocations: 19.09 kB / 418.3 MB, free: 58.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.2583, allocations: 0.5514 MB / 418.8 MB, free: 58.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.2585, allocations: 0.7399 MB / 419.6 MB, free: 57.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.601e-05/0.2585, allocations: 8.875 kB / 419.6 MB, free: 57.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.2586, allocations: 15.44 kB / 419.6 MB, free: 57.37 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2586, allocations: 0 / 419.6 MB, free: 57.37 MB / 314.7 MB Notification: Performance of Templates: time 0.00384/0.2624, allocations: 1.538 MB / 421.1 MB, free: 55.85 MB / 314.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile (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)