Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 285.4 MB / 298 MB, free: 5.949 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.001091/0.001091, allocations: 176.8 kB / 366.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008974/0.0008973, allocations: 93.41 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.702e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.724/0.7241, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.902/5.626, allocations: 2.062 GB / 3.033 GB, free: 78.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/5.627, allocations: 83.95 kB / 3.033 GB, free: 77.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.071/6.698, allocations: 222.5 MB / 3.25 GB, free: 240 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.423e-06/6.698, allocations: 0 / 3.25 GB, free: 240 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.151e-05/6.698, allocations: 4 kB / 3.25 GB, free: 240 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001046/6.699, allocations: 0.6111 MB / 3.251 GB, free: 239.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/6.699, allocations: 12.03 kB / 3.251 GB, free: 239.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/6.699, allocations: 54.55 kB / 3.251 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006367/6.7, allocations: 75.64 kB / 3.251 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/6.7, allocations: 285.3 kB / 3.251 GB, free: 238.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/6.7, allocations: 16 kB / 3.251 GB, free: 238.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/6.7, allocations: 20.52 kB / 3.251 GB, free: 238.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/6.701, allocations: 264.2 kB / 3.251 GB, free: 238.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/6.701, allocations: 3.984 kB / 3.251 GB, free: 238.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/6.701, allocations: 12 kB / 3.251 GB, free: 238.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/6.701, allocations: 7.938 kB / 3.251 GB, free: 238.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/6.701, allocations: 160.5 kB / 3.251 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/6.702, allocations: 1.234 MB / 3.253 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/6.702, allocations: 157 kB / 3.253 GB, free: 236.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/6.702, allocations: 96.39 kB / 3.253 GB, free: 236.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005614/6.703, allocations: 327.2 kB / 3.253 GB, free: 236.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/6.703, allocations: 38.56 kB / 3.253 GB, free: 236.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/6.703, allocations: 0 / 3.253 GB, free: 236.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004367/6.703, allocations: 177.2 kB / 3.253 GB, free: 236.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/6.704, allocations: 166.2 kB / 3.254 GB, free: 236 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/6.704, allocations: 247.5 kB / 3.254 GB, free: 235.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/6.704, allocations: 33.8 kB / 3.254 GB, free: 235.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/6.704, allocations: 160.2 kB / 3.254 GB, free: 235.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/6.704, allocations: 47.28 kB / 3.254 GB, free: 235.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/6.704, allocations: 4 kB / 3.254 GB, free: 235.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/6.704, allocations: 338.8 kB / 3.254 GB, free: 235.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/6.704, allocations: 47.98 kB / 3.254 GB, free: 235.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/6.704, allocations: 138.3 kB / 3.254 GB, free: 234.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/6.704, allocations: 75.89 kB / 3.255 GB, free: 234.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/6.704, allocations: 0 / 3.255 GB, free: 234.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003088/6.705, allocations: 205.1 kB / 3.255 GB, free: 234.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/6.705, allocations: 9.094 kB / 3.255 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/6.705, allocations: 0 / 3.255 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/6.705, allocations: 4 kB / 3.255 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/6.705, allocations: 48.23 kB / 3.255 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/6.705, allocations: 11.98 kB / 3.255 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/6.705, allocations: 31.73 kB / 3.255 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/6.705, allocations: 12 kB / 3.255 GB, free: 234.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.07e-05/6.705, allocations: 120.8 kB / 3.255 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/6.705, allocations: 23.72 kB / 3.255 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/6.706, allocations: 164.4 kB / 3.255 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/6.706, allocations: 4 kB / 3.255 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/6.706, allocations: 3.938 kB / 3.255 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/6.706, allocations: 3.984 kB / 3.255 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000638/6.706, allocations: 0.8199 MB / 3.256 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/6.706, allocations: 4 kB / 3.256 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/6.707, allocations: 31.91 kB / 3.256 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/6.707, allocations: 0 / 3.256 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/6.707, allocations: 4 kB / 3.256 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/6.707, allocations: 0 / 3.256 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/6.707, allocations: 7.953 kB / 3.256 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/6.707, allocations: 352.1 kB / 3.256 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/6.707, allocations: 116.8 kB / 3.256 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/6.707, allocations: 4 kB / 3.256 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/6.707, allocations: 15.98 kB / 3.256 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/6.707, allocations: 11.89 kB / 3.257 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/6.707, allocations: 8.125 kB / 3.257 GB, free: 232.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001737/6.707, allocations: 239.1 kB / 3.257 GB, free: 232.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/6.707, allocations: 0 / 3.257 GB, free: 232.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000794/6.708, allocations: 187.9 kB / 3.257 GB, free: 232.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001972/6.71, allocations: 2.148 MB / 3.259 GB, free: 230.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002447/6.711, allocations: 111.8 kB / 3.259 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/6.711, allocations: 0 / 3.259 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/6.711, allocations: 47.92 kB / 3.259 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006858/6.711, allocations: 124.2 kB / 3.259 GB, free: 229.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/6.712, allocations: 476.4 kB / 3.26 GB, free: 229.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/6.712, allocations: 0.7599 MB / 3.26 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001965/6.713, allocations: 61.34 kB / 3.261 GB, free: 228.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/6.713, allocations: 75.41 kB / 3.261 GB, free: 228.4 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/6.713, allocations: 0 / 3.261 GB, free: 228.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/6.757, allocations: 25.97 MB / 3.286 GB, free: 202.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/6.757, allocations: 193.6 kB / 3.286 GB, free: 202.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/9.37, allocations: 0 / 3.286 GB, free: 202.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)