Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_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.006262/0.006262, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7729/0.7729, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.2 MB / 406.8 MB, free: 3.168 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.0008994/0.0008993, allocations: 85.95 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003497, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4835, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.579/5.062, allocations: 1.832 GB / 2.481 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/5.063, allocations: 87.95 kB / 2.482 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.062/6.124, allocations: 306.8 MB / 2.781 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/6.124, allocations: 0 / 2.781 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.189e-05/6.124, allocations: 12 kB / 2.781 GB, free: 105.4 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.001648/6.126, allocations: 0.7626 MB / 2.782 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/6.126, allocations: 8.031 kB / 2.782 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/6.126, allocations: 58.55 kB / 2.782 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/6.127, allocations: 127.4 kB / 2.782 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/6.128, allocations: 343.5 kB / 2.782 GB, free: 104 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/6.128, allocations: 50.27 kB / 2.782 GB, free: 104 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/6.128, allocations: 35.95 kB / 2.782 GB, free: 104 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/6.129, allocations: 354.2 kB / 2.783 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/6.129, allocations: 3.938 kB / 2.783 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/6.129, allocations: 12 kB / 2.783 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/6.129, allocations: 8 kB / 2.783 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/6.129, allocations: 266 kB / 2.783 GB, free: 103.3 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.001526/6.131, allocations: 1.47 MB / 2.785 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/6.131, allocations: 198.5 kB / 2.785 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007724/6.132, allocations: 0.4936 MB / 2.785 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/6.132, allocations: 34.56 kB / 2.785 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/6.132, allocations: 0 / 2.785 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0008837/6.133, allocations: 360 kB / 2.786 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/6.133, allocations: 63.34 kB / 2.786 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/6.133, allocations: 271.7 kB / 2.786 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/6.133, allocations: 33.7 kB / 2.786 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/6.133, allocations: 184.1 kB / 2.786 GB, free: 99.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/6.133, allocations: 47.3 kB / 2.786 GB, free: 99.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/6.133, allocations: 4 kB / 2.786 GB, free: 99.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/6.133, allocations: 346.8 kB / 2.786 GB, free: 99.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/6.133, allocations: 87.94 kB / 2.787 GB, free: 99.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/6.134, allocations: 155.6 kB / 2.787 GB, free: 99.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/6.134, allocations: 103.9 kB / 2.787 GB, free: 99.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/6.134, allocations: 0 / 2.787 GB, free: 99.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005029/6.134, allocations: 287.8 kB / 2.787 GB, free: 98.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/6.134, allocations: 8 kB / 2.787 GB, free: 98.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/6.134, allocations: 0 / 2.787 GB, free: 98.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/6.134, allocations: 4 kB / 2.787 GB, free: 98.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/6.135, allocations: 52.09 kB / 2.787 GB, free: 98.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/6.135, allocations: 7.953 kB / 2.787 GB, free: 98.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/6.135, allocations: 35.72 kB / 2.787 GB, free: 98.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/6.135, allocations: 16 kB / 2.787 GB, free: 98.78 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.0001375/6.135, allocations: 149.7 kB / 2.787 GB, free: 98.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/6.135, allocations: 35.62 kB / 2.787 GB, free: 98.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/6.136, allocations: 304.4 kB / 2.788 GB, free: 98.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/6.136, allocations: 4 kB / 2.788 GB, free: 98.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/6.136, allocations: 3.938 kB / 2.788 GB, free: 98.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/6.136, allocations: 7.938 kB / 2.788 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/6.137, allocations: 0.7968 MB / 2.788 GB, free: 97.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/6.137, allocations: 4.031 kB / 2.788 GB, free: 97.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/6.137, allocations: 43.88 kB / 2.788 GB, free: 97.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/6.137, allocations: 96 / 2.788 GB, free: 97.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/6.137, allocations: 15.92 kB / 2.789 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/6.137, allocations: 4 kB / 2.789 GB, free: 97.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/6.137, allocations: 4 kB / 2.789 GB, free: 97.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/6.138, allocations: 487 kB / 2.789 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/6.138, allocations: 132.7 kB / 2.789 GB, free: 96.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/6.138, allocations: 11.98 kB / 2.789 GB, free: 96.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/6.138, allocations: 23.98 kB / 2.789 GB, free: 96.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/6.138, allocations: 12.05 kB / 2.789 GB, free: 96.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/6.138, allocations: 19.98 kB / 2.789 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001811/6.139, allocations: 231 kB / 2.789 GB, free: 96.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/6.139, allocations: 0 / 2.789 GB, free: 96.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009676/6.14, allocations: 227.8 kB / 2.79 GB, free: 96.09 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.00252/6.142, allocations: 2.623 MB / 2.792 GB, free: 93.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004609/6.143, allocations: 217.7 kB / 2.792 GB, free: 93.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/6.143, allocations: 4.312 kB / 2.792 GB, free: 93.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/6.143, allocations: 123.8 kB / 2.792 GB, free: 93.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/6.144, allocations: 159.5 kB / 2.793 GB, free: 92.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/6.145, allocations: 1.929 MB / 2.795 GB, free: 90.86 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/6.145, allocations: 0.7991 MB / 2.795 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00033/6.146, allocations: 82.86 kB / 2.795 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/6.146, allocations: 95.41 kB / 2.795 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/6.146, allocations: 0 / 2.795 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/6.2, allocations: 28.06 MB / 2.823 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/6.2, allocations: 200.3 kB / 2.823 GB, free: 61.74 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/9.034, allocations: 2.625 kB / 2.823 GB, free: 61.74 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)