Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.42/2.42, allocations: 284.7 MB / 297.2 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 180.8 kB / 365.6 MB, free: 2.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.1 MB / 0.6239 GB, free: 8.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 93.92 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.749e-05, allocations: 8 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7649, allocations: 115.2 MB / 0.9699 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.923/6.688, allocations: 2.064 GB / 3.033 GB, free: 33.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/6.688, allocations: 82.38 kB / 3.034 GB, free: 33.78 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.651/8.339, allocations: 303.7 MB / 3.33 GB, free: 118.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/8.339, allocations: 0 / 3.33 GB, free: 118.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.615e-05/8.339, allocations: 12 kB / 3.33 GB, free: 118.3 MB / 0.948 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.001593/8.34, allocations: 0.7186 MB / 3.331 GB, free: 117.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/8.341, allocations: 8.031 kB / 3.331 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.411e-05/8.341, allocations: 62.53 kB / 3.331 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/8.342, allocations: 127.9 kB / 3.331 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/8.343, allocations: 337.8 kB / 3.331 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.212e-05/8.343, allocations: 58.2 kB / 3.331 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/8.343, allocations: 28 kB / 3.331 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/8.344, allocations: 334.2 kB / 3.332 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/8.344, allocations: 0 / 3.332 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/8.344, allocations: 12 kB / 3.332 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/8.344, allocations: 4 kB / 3.332 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/8.344, allocations: 230.1 kB / 3.332 GB, free: 116.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002188/8.347, allocations: 1.477 MB / 3.333 GB, free: 114.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/8.347, allocations: 166.6 kB / 3.334 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/8.347, allocations: 100.8 kB / 3.334 GB, free: 114.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/8.349, allocations: 0.4975 MB / 3.334 GB, free: 113.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/8.349, allocations: 34.56 kB / 3.334 GB, free: 113.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.876e-06/8.349, allocations: 4 kB / 3.334 GB, free: 113.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0009268/8.35, allocations: 235.3 kB / 3.334 GB, free: 113.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/8.35, allocations: 59.41 kB / 3.335 GB, free: 113.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/8.35, allocations: 270.7 kB / 3.335 GB, free: 113.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/8.35, allocations: 29.7 kB / 3.335 GB, free: 113.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/8.35, allocations: 192 kB / 3.335 GB, free: 112.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/8.35, allocations: 43.3 kB / 3.335 GB, free: 112.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/8.35, allocations: 12 kB / 3.335 GB, free: 112.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/8.35, allocations: 338.8 kB / 3.335 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/8.351, allocations: 67.97 kB / 3.335 GB, free: 112.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/8.351, allocations: 131.7 kB / 3.336 GB, free: 112.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/8.351, allocations: 93.58 kB / 3.336 GB, free: 112.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/8.351, allocations: 4 kB / 3.336 GB, free: 112.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006523/8.352, allocations: 245.1 kB / 3.336 GB, free: 112 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/8.352, allocations: 8.188 kB / 3.336 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/8.352, allocations: 3.984 kB / 3.336 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/8.352, allocations: 4 kB / 3.336 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/8.352, allocations: 47.92 kB / 3.336 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/8.352, allocations: 0 / 3.336 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/8.353, allocations: 51.66 kB / 3.336 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/8.353, allocations: 8 kB / 3.336 GB, free: 111.8 MB / 0.948 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 () * 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 9.986e-05/8.353, allocations: 116.9 kB / 3.336 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/8.353, allocations: 27.72 kB / 3.336 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/8.354, allocations: 284.5 kB / 3.336 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/8.354, allocations: 4 kB / 3.336 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/8.354, allocations: 0 / 3.336 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/8.354, allocations: 0 / 3.336 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/8.356, allocations: 0.7654 MB / 3.337 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/8.356, allocations: 4 kB / 3.337 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/8.356, allocations: 39.91 kB / 3.337 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/8.356, allocations: 4 kB / 3.337 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/8.356, allocations: 8 kB / 3.337 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/8.356, allocations: 4.219 kB / 3.337 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/8.356, allocations: 4 kB / 3.337 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/8.357, allocations: 449 kB / 3.338 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/8.357, allocations: 140.6 kB / 3.338 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/8.357, allocations: 4 kB / 3.338 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/8.357, allocations: 27.98 kB / 3.338 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/8.358, allocations: 23.86 kB / 3.338 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/8.358, allocations: 11.94 kB / 3.338 GB, free: 109.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002835/8.358, allocations: 226.2 kB / 3.338 GB, free: 109.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/8.358, allocations: 0 / 3.338 GB, free: 109.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001161/8.359, allocations: 231.8 kB / 3.338 GB, free: 109.3 MB / 0.948 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 () * 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.003122/8.362, allocations: 2.6 MB / 3.341 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005722/8.363, allocations: 190.2 kB / 3.341 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/8.363, allocations: 0 / 3.341 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/8.363, allocations: 96.39 kB / 3.341 GB, free: 106.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/8.364, allocations: 156.2 kB / 3.341 GB, free: 106.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/8.366, allocations: 0.5154 MB / 3.342 GB, free: 105.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/8.366, allocations: 0.7991 MB / 3.343 GB, free: 104.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000492/8.367, allocations: 78.88 kB / 3.343 GB, free: 104.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/8.367, allocations: 95.41 kB / 3.343 GB, free: 104.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.353e-06/8.367, allocations: 0 / 3.343 GB, free: 104.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09582/8.463, allocations: 31.5 MB / 3.373 GB, free: 73.27 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/8.463, allocations: 190.6 kB / 3.374 GB, free: 73.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.755/12.22, allocations: 0 / 3.374 GB, free: 73.04 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)