Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003917/0.003917, allocations: 174.8 kB / 15.12 MB, free: 6.039 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.026/1.026, allocations: 194.5 MB / 210.3 MB, free: 7.625 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03534/0.03534, allocations: 8.092 MB / 263.6 MB, free: 2.23 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.001553/0.001553, allocations: 120.5 kB / 310.6 MB, free: 27.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 11.98 kB / 367.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1687, allocations: 46.19 MB / 413.4 MB, free: 47.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06651/0.2352, allocations: 71.18 MB / 484.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001198/0.2354, allocations: 44.64 kB / 484.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003254/0.2387, allocations: 1.533 MB / 486.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2387, allocations: 0 / 486.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.2387, allocations: 7.938 kB / 486.2 MB, free: 13.04 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003039/0.239, allocations: 370.5 kB / 486.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.239, allocations: 8.031 kB / 486.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.2391, allocations: 7.906 kB / 486.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.2392, allocations: 190.9 kB / 486.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2393, allocations: 16.11 kB / 486.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.2393, allocations: 12 kB / 486.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2394, allocations: 83.17 kB / 486.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2395, allocations: 4 kB / 486.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2395, allocations: 5.344 kB / 486.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.2395, allocations: 0 / 486.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.2396, allocations: 52.53 kB / 486.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.24, allocations: 410.5 kB / 487.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2402, allocations: 82.5 kB / 487.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.2402, allocations: 4 kB / 487.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.2402, allocations: 42.5 kB / 487.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2403, allocations: 0 / 487.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001876/0.2404, allocations: 109.7 kB / 487.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.2405, allocations: 51.41 kB / 487.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.236e-05/0.2405, allocations: 104.9 kB / 487.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2406, allocations: 29.7 kB / 487.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.2406, allocations: 107.9 kB / 487.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.2406, allocations: 23.56 kB / 487.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.2406, allocations: 7.938 kB / 487.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.2407, allocations: 318.8 kB / 488.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/0.2408, allocations: 24 kB / 488.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.2408, allocations: 15.98 kB / 488.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.2408, allocations: 28.12 kB / 488.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2408, allocations: 0 / 488.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001076/0.241, allocations: 89.62 kB / 488.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.241, allocations: 4 kB / 488.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.241, allocations: 3.953 kB / 488.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.241, allocations: 0 / 488.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.2411, allocations: 19.98 kB / 488.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2411, allocations: 0 / 488.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.2411, allocations: 11.91 kB / 488.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2412, allocations: 4 kB / 488.4 MB, free: 10.63 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 (10): * Single equations (assignments): 10 * 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 6.513e-05/0.2412, allocations: 118.3 kB / 488.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.2412, allocations: 4 kB / 488.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.2413, allocations: 16.36 kB / 488.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2413, allocations: 3.953 kB / 488.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2413, allocations: 4 kB / 488.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2413, allocations: 0 / 488.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.2415, allocations: 205.5 kB / 488.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2415, allocations: 8 kB / 488.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/0.2416, allocations: 12 kB / 488.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2416, allocations: 0 / 488.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2416, allocations: 0 / 488.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2416, allocations: 0 / 488.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2416, allocations: 3.953 kB / 488.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.2418, allocations: 211.4 kB / 489 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.2419, allocations: 81.11 kB / 489.1 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2419, allocations: 7.984 kB / 489.1 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-05/0.2419, allocations: 4.031 kB / 489.1 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.242, allocations: 7.953 kB / 489.1 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.242, allocations: 4 kB / 489.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.005e-05/0.242, allocations: 83.27 kB / 489.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.242, allocations: 96 / 489.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.2422, allocations: 23.84 kB / 489.2 MB, free: 9.758 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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 7.967e-05/0.2423, allocations: 107.2 kB / 489.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.2424, allocations: 59.92 kB / 489.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2424, allocations: 0 / 489.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.2425, allocations: 27.98 kB / 489.4 MB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.2427, allocations: 16.98 kB / 489.4 MB, free: 9.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.243, allocations: 250 kB / 489.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.2432, allocations: 0.7004 MB / 490.3 MB, free: 8.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.2432, allocations: 8.828 kB / 490.3 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.2432, allocations: 11.44 kB / 490.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2432, allocations: 0 / 490.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of Templates: time 0.00211/0.2454, allocations: 0.6344 MB / 491 MB, free: 7.922 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)