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.004069/0.004069, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.013/1.013, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03541/0.03541, allocations: 8.092 MB / 263.6 MB, free: 2.145 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.001504/0.001504, allocations: 128.5 kB / 310.6 MB, free: 27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002948, allocations: 12 kB / 367.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1738, allocations: 46.19 MB / 413.4 MB, free: 47.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06977/0.2436, allocations: 71.24 MB / 484.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001222/0.2438, allocations: 52.61 kB / 484.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006711/0.2505, allocations: 2.877 MB / 487.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2506, allocations: 4 kB / 487.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2506, allocations: 4 kB / 487.6 MB, free: 11.62 MB / 330.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.0004732/0.2511, allocations: 437.8 kB / 488.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2511, allocations: 8.031 kB / 488.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.2512, allocations: 19.72 kB / 488.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.2514, allocations: 222.7 kB / 488.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2514, allocations: 16.38 kB / 488.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.2515, allocations: 20 kB / 488.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.2518, allocations: 164.4 kB / 488.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2518, allocations: 4 kB / 488.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.2518, allocations: 8 kB / 488.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.2518, allocations: 4 kB / 488.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.252, allocations: 115.6 kB / 488.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.2528, allocations: 0.578 MB / 489.2 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.2531, allocations: 118.5 kB / 489.3 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2531, allocations: 8 kB / 489.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.2531, allocations: 38.5 kB / 489.4 MB, free: 9.723 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.2531, allocations: 3.938 kB / 489.4 MB, free: 9.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003138/0.2535, allocations: 175.9 kB / 489.5 MB, free: 9.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2535, allocations: 55.36 kB / 489.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.2536, allocations: 113.5 kB / 489.7 MB, free: 9.359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2536, allocations: 33.7 kB / 489.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.2537, allocations: 136.2 kB / 489.9 MB, free: 9.184 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.2537, allocations: 47.2 kB / 489.9 MB, free: 9.137 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.2537, allocations: 4 kB / 489.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2539, allocations: 322.8 kB / 490.2 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.2539, allocations: 39.98 kB / 490.3 MB, free: 8.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.254, allocations: 49.27 kB / 490.3 MB, free: 8.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.96e-05/0.2541, allocations: 51.91 kB / 490.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2541, allocations: 0 / 490.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001953/0.2543, allocations: 148.1 kB / 490.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2543, allocations: 4 kB / 490.5 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2543, allocations: 8 kB / 490.5 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2544, allocations: 0 / 490.5 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2545, allocations: 31.92 kB / 490.6 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2545, allocations: 3.984 kB / 490.6 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.2546, allocations: 11.95 kB / 490.6 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.2546, allocations: 4 kB / 490.6 MB, free: 8.461 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.856e-05/0.2547, allocations: 125.8 kB / 490.7 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.2547, allocations: 7.906 kB / 490.7 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.2548, allocations: 16.5 kB / 490.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2548, allocations: 4 kB / 490.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2548, allocations: 0 / 490.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2548, allocations: 0 / 490.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.2551, allocations: 281.3 kB / 491 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2551, allocations: 0 / 491 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.2553, allocations: 31.92 kB / 491 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2553, allocations: 4 kB / 491 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2553, allocations: 4 kB / 491 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2553, allocations: 0 / 491 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2553, allocations: 4 kB / 491 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.2556, allocations: 296.2 kB / 491.3 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.2557, allocations: 85.02 kB / 491.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.2557, allocations: 11.94 kB / 491.4 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.2558, allocations: 0 / 491.4 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.2558, allocations: 16.06 kB / 491.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.2558, allocations: 4 kB / 491.4 MB, free: 7.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.2559, allocations: 100.8 kB / 491.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2559, allocations: 3.938 kB / 491.5 MB, free: 7.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.2561, allocations: 35.78 kB / 491.6 MB, free: 7.359 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001011/0.2562, allocations: 103.2 kB / 491.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.2564, allocations: 107.9 kB / 491.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2564, allocations: 0 / 491.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.2565, allocations: 57.19 kB / 491.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2568, allocations: 27.92 kB / 491.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.2573, allocations: 398.2 kB / 492.3 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.2576, allocations: 0.7318 MB / 493 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.732e-05/0.2576, allocations: 7.188 kB / 493 MB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.2577, allocations: 23.38 kB / 493 MB, free: 5.848 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2577, allocations: 0 / 493 MB, free: 5.848 MB / 330.7 MB Notification: Performance of Templates: time 0.00284/0.2605, allocations: 1.008 MB / 494 MB, free: 4.863 MB / 330.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)