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.001018/0.001018, allocations: 184.1 kB / 7.654 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.497/1.497, allocations: 194.4 MB / 202.4 MB, free: 12.95 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03789/0.03789, allocations: 7.898 MB / 255.2 MB, free: 8.184 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.00177/0.00177, allocations: 122.7 kB / 301.9 MB, free: 32.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.048e-05, allocations: 4 kB / 354.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2724, allocations: 46.19 MB / 400.6 MB, free: 46.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09333/0.3658, allocations: 70.42 MB / 471 MB, free: 4.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.366, allocations: 45.2 kB / 471 MB, free: 4.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003759/0.3698, allocations: 1.532 MB / 472.6 MB, free: 2.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3698, allocations: 0 / 472.6 MB, free: 2.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3698, allocations: 0 / 472.6 MB, free: 2.871 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003677/0.3702, allocations: 367.3 kB / 472.9 MB, free: 2.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3702, allocations: 8.031 kB / 472.9 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3703, allocations: 15.12 kB / 472.9 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3705, allocations: 201.7 kB / 473.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3705, allocations: 6.734 kB / 473.2 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3705, allocations: 4.656 kB / 473.2 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001206/0.3707, allocations: 44.38 kB / 473.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3708, allocations: 78.14 kB / 473.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3709, allocations: 3.938 kB / 473.3 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3709, allocations: 0 / 473.3 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3709, allocations: 4 kB / 473.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.3714, allocations: 370.9 kB / 473.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3716, allocations: 84.23 kB / 473.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.3717, allocations: 36.86 kB / 473.8 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3717, allocations: 1.844 kB / 473.8 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3717, allocations: 34.52 kB / 473.8 MB, free: 1.508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3717, allocations: 0 / 473.8 MB, free: 1.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000183/0.3719, allocations: 77.53 kB / 473.9 MB, free: 1.426 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.372, allocations: 52 kB / 473.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.3721, allocations: 102.8 kB / 474 MB, free: 1.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3721, allocations: 30.48 kB / 474.1 MB, free: 1.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.3722, allocations: 99.98 kB / 474.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.3722, allocations: 28.52 kB / 474.2 MB, free: 1.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.3722, allocations: 4 kB / 474.2 MB, free: 1.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3724, allocations: 315.4 kB / 474.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.3724, allocations: 16.72 kB / 474.5 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.3724, allocations: 20.84 kB / 474.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/0.3725, allocations: 20.75 kB / 474.5 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3725, allocations: 0.75 kB / 474.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000119/0.3726, allocations: 92.09 kB / 474.6 MB, free: 0.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3727, allocations: 4.562 kB / 474.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3727, allocations: 0 / 474.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3727, allocations: 5.016 kB / 474.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3728, allocations: 19.98 kB / 474.7 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3728, allocations: 2.75 kB / 474.7 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.3729, allocations: 3.938 kB / 474.7 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3729, allocations: 4.844 kB / 474.7 MB, free: 0.5898 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 () * 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 8.364e-05/0.373, allocations: 105.7 kB / 474.8 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001133/0.3731, allocations: 74.61 kB / 474.9 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.3731, allocations: 8.547 kB / 474.9 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.3732, allocations: 12.61 kB / 474.9 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3732, allocations: 4.5 kB / 474.9 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3732, allocations: 0.6562 kB / 474.9 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3732, allocations: 1.875 kB / 474.9 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3734, allocations: 178.9 kB / 475.1 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3734, allocations: 4.656 kB / 475.1 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.3735, allocations: 19.92 kB / 475.1 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3735, allocations: 0.5938 kB / 475.1 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3735, allocations: 0.5625 kB / 475.1 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3735, allocations: 3.953 kB / 475.1 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3736, allocations: 3.469 kB / 475.1 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3738, allocations: 193.8 kB / 475.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3738, allocations: 85.08 kB / 475.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3739, allocations: 4.547 kB / 475.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.3739, allocations: 0.7812 kB / 475.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.374, allocations: 11.95 kB / 475.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.374, allocations: 0.9062 kB / 475.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.374, allocations: 89.39 kB / 475.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.374, allocations: 0.5 kB / 475.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.3742, allocations: 16.73 kB / 475.5 MB, free: 15.72 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 () * 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.0004518/0.3747, allocations: 0.7311 MB / 476.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.3749, allocations: 49.72 kB / 476.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3749, allocations: 4 kB / 476.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.375, allocations: 27.98 kB / 476.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.3752, allocations: 23.88 kB / 476.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.3757, allocations: 179.9 kB / 476.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.376, allocations: 0.7022 MB / 477.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.3761, allocations: 4.562 kB / 477.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.3761, allocations: 27.42 kB / 477.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3761, allocations: 0.7812 kB / 477.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.397, allocations: 1.364 MB / 478.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.3973, allocations: 167.2 kB / 478.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.433/1.831, allocations: 2.719 kB / 478.8 MB, free: 12.42 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)