Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01458/0.01458, allocations: 170.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.29/1.29, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.951/2.951, allocations: 223.2 MB / 406.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 97.77 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007831/0.0007836, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9477/0.9485, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.746/9.695, allocations: 1.832 GB / 2.481 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005571/9.695, allocations: 95.88 kB / 2.482 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.757/11.45, allocations: 306.8 MB / 2.781 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.609e-06/11.45, allocations: 0 / 2.781 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.786e-05/11.45, allocations: 11.98 kB / 2.781 GB, free: 104.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002306/11.45, allocations: 0.7601 MB / 2.782 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.076e-05/11.45, allocations: 12.03 kB / 2.782 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/11.46, allocations: 62.55 kB / 2.782 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/11.46, allocations: 127.4 kB / 2.782 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/11.46, allocations: 335.6 kB / 2.782 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/11.46, allocations: 54.25 kB / 2.782 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/11.46, allocations: 31.95 kB / 2.782 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009719/11.46, allocations: 354.2 kB / 2.783 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/11.46, allocations: 11.86 kB / 2.783 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/11.46, allocations: 12 kB / 2.783 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/11.46, allocations: 12 kB / 2.783 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006986/11.46, allocations: 254 kB / 2.783 GB, free: 102.6 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/11.46, allocations: 1.478 MB / 2.785 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/11.46, allocations: 194.5 kB / 2.785 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/11.46, allocations: 0.4975 MB / 2.785 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/11.46, allocations: 30.56 kB / 2.785 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 5.25e-06/11.46, allocations: 0 / 2.785 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.00133/11.47, allocations: 350.9 kB / 2.786 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/11.47, allocations: 59.39 kB / 2.786 GB, free: 99.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/11.47, allocations: 283.6 kB / 2.786 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/11.47, allocations: 37.64 kB / 2.786 GB, free: 99.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/11.47, allocations: 184.1 kB / 2.786 GB, free: 99.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/11.47, allocations: 51.3 kB / 2.786 GB, free: 99.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/11.47, allocations: 4 kB / 2.786 GB, free: 99.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000121/11.47, allocations: 342.8 kB / 2.786 GB, free: 98.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/11.47, allocations: 83.92 kB / 2.787 GB, free: 98.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/11.47, allocations: 153.9 kB / 2.787 GB, free: 98.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/11.47, allocations: 110.9 kB / 2.787 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/11.47, allocations: 0 / 2.787 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007696/11.47, allocations: 289 kB / 2.787 GB, free: 98.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/11.47, allocations: 5.094 kB / 2.787 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/11.47, allocations: 4 kB / 2.787 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/11.47, allocations: 0 / 2.787 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/11.47, allocations: 47.91 kB / 2.787 GB, free: 98.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/11.47, allocations: 4.141 kB / 2.787 GB, free: 98.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/11.47, allocations: 43.73 kB / 2.787 GB, free: 98.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/11.47, allocations: 11.98 kB / 2.787 GB, free: 98.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 0.000248/11.47, allocations: 157.7 kB / 2.787 GB, free: 97.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/11.47, allocations: 35.56 kB / 2.787 GB, free: 97.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009534/11.47, allocations: 306.7 kB / 2.788 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/11.47, allocations: 4 kB / 2.788 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/11.47, allocations: 0 / 2.788 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/11.47, allocations: 3.953 kB / 2.788 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/11.47, allocations: 0.7965 MB / 2.788 GB, free: 96.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/11.47, allocations: 4 kB / 2.788 GB, free: 96.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/11.47, allocations: 52.08 kB / 2.788 GB, free: 96.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/11.47, allocations: 8.047 kB / 2.789 GB, free: 96.63 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/11.47, allocations: 8 kB / 2.789 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/11.47, allocations: 4 kB / 2.789 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/11.47, allocations: 0 / 2.789 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/11.47, allocations: 488.9 kB / 2.789 GB, free: 96.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/11.47, allocations: 136.7 kB / 2.789 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/11.47, allocations: 8 kB / 2.789 GB, free: 95.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/11.47, allocations: 27.97 kB / 2.789 GB, free: 95.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/11.47, allocations: 15.98 kB / 2.789 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/11.47, allocations: 11.98 kB / 2.789 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003442/11.47, allocations: 219.1 kB / 2.789 GB, free: 95.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/11.47, allocations: 4 kB / 2.789 GB, free: 95.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001687/11.48, allocations: 227.8 kB / 2.79 GB, free: 95.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.00455/11.48, allocations: 2.629 MB / 2.792 GB, free: 92.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008116/11.48, allocations: 222.3 kB / 2.792 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/11.48, allocations: 0 / 2.792 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/11.48, allocations: 120.4 kB / 2.792 GB, free: 92.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/11.48, allocations: 157.1 kB / 2.793 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/11.49, allocations: 1.933 MB / 2.795 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/11.49, allocations: 0.7991 MB / 2.795 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005128/11.49, allocations: 78.88 kB / 2.795 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/11.49, allocations: 99.41 kB / 2.795 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of SimCode: time 1.923e-06/11.49, allocations: 0 / 2.795 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07716/11.56, allocations: 28.05 MB / 2.823 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/11.56, allocations: 223.2 kB / 2.823 GB, free: 61.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.066/16.63, allocations: 3.25 kB / 2.823 GB, free: 61.04 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)