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: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0067/0.0067, allocations: 175 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.212/1.212, allocations: 194.5 MB / 210.3 MB, free: 8.594 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03665/0.03665, allocations: 8.081 MB / 263.6 MB, free: 3.211 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.001535/0.001535, allocations: 116.6 kB / 310.6 MB, free: 27.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 12 kB / 367.4 MB, free: 2.324 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 46.19 MB / 413.5 MB, free: 47.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08647/0.3099, allocations: 71.18 MB / 484.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.3101, allocations: 44.67 kB / 484.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003965/0.3141, allocations: 1.543 MB / 486.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3141, allocations: 0 / 486.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.3141, allocations: 4 kB / 486.3 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.0003773/0.3145, allocations: 375.2 kB / 486.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3146, allocations: 8.031 kB / 486.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.3146, allocations: 46.55 kB / 486.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3147, allocations: 10.31 kB / 486.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3148, allocations: 183 kB / 486.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3149, allocations: 8.188 kB / 486.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.3149, allocations: 15.94 kB / 486.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3151, allocations: 91.16 kB / 487 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3151, allocations: 0 / 487 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3151, allocations: 8 kB / 487 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3152, allocations: 0 / 487 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3153, allocations: 52.53 kB / 487.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.3159, allocations: 413.2 kB / 487.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.3161, allocations: 86.5 kB / 487.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.3161, allocations: 7.953 kB / 487.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3161, allocations: 34.56 kB / 487.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3161, allocations: 0 / 487.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002444/0.3164, allocations: 93.67 kB / 487.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3164, allocations: 55.41 kB / 487.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.3165, allocations: 105 kB / 487.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3165, allocations: 29.64 kB / 487.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.3166, allocations: 111.8 kB / 488 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3166, allocations: 27.5 kB / 488 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.3166, allocations: 4 kB / 488 MB, free: 11.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3168, allocations: 318.8 kB / 488.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.3168, allocations: 16 kB / 488.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.3169, allocations: 23.98 kB / 488.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.3169, allocations: 24 kB / 488.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3169, allocations: 4 kB / 488.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001324/0.3171, allocations: 89.62 kB / 488.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3171, allocations: 9.359 kB / 488.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.3171, allocations: 0 / 488.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3171, allocations: 0 / 488.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3172, allocations: 19.98 kB / 488.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3172, allocations: 0.625 kB / 488.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.3173, allocations: 3.906 kB / 488.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3173, allocations: 4 kB / 488.5 MB, free: 10.59 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 9.139e-05/0.3174, allocations: 125.8 kB / 488.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.3174, allocations: 4 kB / 488.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.3175, allocations: 12.33 kB / 488.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3175, allocations: 0 / 488.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3175, allocations: 0 / 488.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3175, allocations: 7.984 kB / 488.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.3177, allocations: 205.7 kB / 488.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3177, allocations: 4 kB / 488.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.3178, allocations: 15.98 kB / 488.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3179, allocations: 0 / 488.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3179, allocations: 8.281 kB / 488.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3179, allocations: 3.953 kB / 488.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3179, allocations: 0 / 488.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3181, allocations: 215.3 kB / 489.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.3182, allocations: 81.05 kB / 489.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3182, allocations: 4 kB / 489.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.3183, allocations: 4.031 kB / 489.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.3183, allocations: 7.938 kB / 489.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3183, allocations: 8.062 kB / 489.2 MB, free: 9.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.3184, allocations: 87.27 kB / 489.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3184, allocations: 3.938 kB / 489.3 MB, free: 9.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.3186, allocations: 19.91 kB / 489.3 MB, free: 9.695 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 0.0004842/0.3191, allocations: 0.7397 MB / 490.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.3192, allocations: 52.05 kB / 490.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3192, allocations: 0 / 490.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.3193, allocations: 35.92 kB / 490.2 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.3195, allocations: 15.95 kB / 490.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/0.3204, allocations: 0.5661 MB / 490.8 MB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3207, allocations: 0.7004 MB / 491.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.3208, allocations: 9.234 kB / 491.5 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.3208, allocations: 31.48 kB / 491.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3208, allocations: 0 / 491.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.3338, allocations: 1.659 MB / 493.2 MB, free: 5.938 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.334, allocations: 212.6 kB / 493.4 MB, free: 5.695 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.817, allocations: 4 kB / 493.4 MB, free: 5.691 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)