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.001778/0.001778, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.399/1.399, allocations: 194.3 MB / 207.5 MB, free: 3.457 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03656/0.03656, allocations: 7.903 MB / 260.4 MB, free: 13.77 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.001728/0.001728, allocations: 116.4 kB / 307.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.363e-05, allocations: 0 / 361.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2495, allocations: 46.21 MB / 407.5 MB, free: 67.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08475/0.3343, allocations: 71.08 MB / 478.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.3346, allocations: 47.98 kB / 478.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004145/0.3388, allocations: 1.534 MB / 480.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3388, allocations: 0 / 480.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3388, allocations: 0 / 480.2 MB, free: 10.25 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.0004258/0.3393, allocations: 370.4 kB / 480.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3393, allocations: 8.031 kB / 480.6 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.3394, allocations: 42.55 kB / 480.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.3394, allocations: 7.906 kB / 480.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.3396, allocations: 194.8 kB / 480.8 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3397, allocations: 12.12 kB / 480.8 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.3397, allocations: 16 kB / 480.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.3399, allocations: 87.17 kB / 480.9 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.34, allocations: 0 / 480.9 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.34, allocations: 8 kB / 480.9 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.34, allocations: 0 / 480.9 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3401, allocations: 48.56 kB / 481 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.3407, allocations: 409.4 kB / 481.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.3409, allocations: 90.44 kB / 481.5 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.341, allocations: 40.81 kB / 481.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.341, allocations: 0 / 481.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3411, allocations: 30.56 kB / 481.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3411, allocations: 4 kB / 481.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002037/0.3413, allocations: 85.73 kB / 481.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3413, allocations: 51.41 kB / 481.7 MB, free: 8.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.3414, allocations: 104.9 kB / 481.8 MB, free: 8.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3414, allocations: 33.7 kB / 481.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.3415, allocations: 99.97 kB / 481.9 MB, free: 8.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.3415, allocations: 27.56 kB / 481.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.3415, allocations: 0 / 481.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3417, allocations: 322.8 kB / 482.3 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.804e-05/0.3417, allocations: 23.94 kB / 482.3 MB, free: 7.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.3418, allocations: 20 kB / 482.3 MB, free: 7.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.3418, allocations: 23.98 kB / 482.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3418, allocations: 0 / 482.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001219/0.3419, allocations: 89.53 kB / 482.4 MB, free: 7.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.342, allocations: 7.953 kB / 482.4 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.342, allocations: 0 / 482.4 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.342, allocations: 8 kB / 482.4 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3421, allocations: 12 kB / 482.4 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3421, allocations: 4 kB / 482.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.3422, allocations: 8.266 kB / 482.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3422, allocations: 4 kB / 482.5 MB, free: 7.785 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 () * 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 7.123e-05/0.3422, allocations: 108.9 kB / 482.6 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3423, allocations: 7.844 kB / 482.6 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.3423, allocations: 20.58 kB / 482.6 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3423, allocations: 0 / 482.6 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3423, allocations: 0 / 482.6 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3424, allocations: 0 / 482.6 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.3426, allocations: 209.6 kB / 482.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3426, allocations: 0 / 482.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3427, allocations: 15.98 kB / 482.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3427, allocations: 0 / 482.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3427, allocations: 4 kB / 482.8 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3427, allocations: 4.344 kB / 482.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3427, allocations: 0 / 482.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.343, allocations: 207.4 kB / 483 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.343, allocations: 89.02 kB / 483.1 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.343, allocations: 12.02 kB / 483.1 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.3431, allocations: 0 / 483.1 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.3431, allocations: 7.938 kB / 483.1 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.3431, allocations: 4 kB / 483.1 MB, free: 7.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.063e-05/0.3432, allocations: 87.28 kB / 483.2 MB, free: 6.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3432, allocations: 0 / 483.2 MB, free: 6.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.3434, allocations: 16 kB / 483.2 MB, free: 6.918 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.0004398/0.3438, allocations: 0.7397 MB / 484 MB, free: 6.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.344, allocations: 52 kB / 484 MB, free: 6.098 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.344, allocations: 3.938 kB / 484 MB, free: 6.094 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.344, allocations: 31.92 kB / 484.1 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3443, allocations: 19.94 kB / 484.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.3448, allocations: 190.9 kB / 484.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.3451, allocations: 0.7043 MB / 485 MB, free: 5.094 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.3451, allocations: 0 / 485 MB, free: 5.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.3452, allocations: 27.42 kB / 485 MB, free: 5.066 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3452, allocations: 4 kB / 485 MB, free: 5.062 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.3568, allocations: 1.68 MB / 486.7 MB, free: 3.52 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.3571, allocations: 190 kB / 486.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.877, allocations: 4 kB / 486.9 MB, free: 3.289 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)