Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.818/2.818, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001573/0.001573, allocations: 180.3 kB / 370.8 MB, free: 10.85 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.157/2.157, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001706/0.001706, allocations: 95.72 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006667/0.0006669, allocations: 13.75 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2141, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.919/7.133, allocations: 2.061 GB / 3.04 GB, free: 213.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/7.134, allocations: 90.3 kB / 3.04 GB, free: 213 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.416/8.55, allocations: 222.8 MB / 3.257 GB, free: 275.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.366e-06/8.55, allocations: 0.7031 kB / 3.257 GB, free: 275.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.659e-05/8.55, allocations: 10.17 kB / 3.257 GB, free: 275.1 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.001746/8.552, allocations: 0.6513 MB / 3.258 GB, free: 274.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/8.552, allocations: 9.469 kB / 3.258 GB, free: 274.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/8.552, allocations: 49.12 kB / 3.258 GB, free: 274.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/8.553, allocations: 78.09 kB / 3.258 GB, free: 274.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/8.554, allocations: 293.2 kB / 3.258 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/8.554, allocations: 16.34 kB / 3.258 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/8.554, allocations: 18.28 kB / 3.258 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/8.555, allocations: 276.9 kB / 3.259 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/8.555, allocations: 1.219 kB / 3.259 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/8.555, allocations: 11.45 kB / 3.259 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/8.555, allocations: 11.83 kB / 3.259 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/8.556, allocations: 203.5 kB / 3.259 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/8.558, allocations: 1.223 MB / 3.26 GB, free: 273.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/8.559, allocations: 179.3 kB / 3.26 GB, free: 273.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/8.56, allocations: 329.9 kB / 3.261 GB, free: 273.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/8.56, allocations: 36.98 kB / 3.261 GB, free: 273.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 3.357e-06/8.56, allocations: 2.25 kB / 3.261 GB, free: 273.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.001474/8.562, allocations: 286.6 kB / 3.261 GB, free: 273.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/8.562, allocations: 158.3 kB / 3.261 GB, free: 272.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/8.562, allocations: 253.3 kB / 3.261 GB, free: 272.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/8.562, allocations: 28.11 kB / 3.261 GB, free: 272.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/8.562, allocations: 150.7 kB / 3.261 GB, free: 272.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/8.562, allocations: 51.44 kB / 3.262 GB, free: 272.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/8.562, allocations: 4.688 kB / 3.262 GB, free: 272.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/8.563, allocations: 332.9 kB / 3.262 GB, free: 272.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/8.563, allocations: 75.78 kB / 3.262 GB, free: 272.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/8.563, allocations: 155.4 kB / 3.262 GB, free: 272.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/8.564, allocations: 92.22 kB / 3.262 GB, free: 272.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.341e-06/8.564, allocations: 3.531 kB / 3.262 GB, free: 272.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001033/8.565, allocations: 249.2 kB / 3.262 GB, free: 272.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/8.565, allocations: 10.89 kB / 3.262 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/8.565, allocations: 2.812 kB / 3.262 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/8.565, allocations: 7.203 kB / 3.262 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/8.565, allocations: 37.39 kB / 3.262 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/8.565, allocations: 9.406 kB / 3.262 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/8.566, allocations: 32.22 kB / 3.263 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/8.566, allocations: 15.02 kB / 3.263 GB, free: 272.2 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 () * Number of clocked 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 0.0002394/8.566, allocations: 148.6 kB / 3.263 GB, free: 272.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/8.566, allocations: 32.19 kB / 3.263 GB, free: 272.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008207/8.567, allocations: 185.2 kB / 3.263 GB, free: 272 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/8.567, allocations: 2.5 kB / 3.263 GB, free: 272 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/8.567, allocations: 1.781 kB / 3.263 GB, free: 272 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/8.567, allocations: 5.938 kB / 3.263 GB, free: 272 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/8.569, allocations: 0.8588 MB / 3.264 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/8.569, allocations: 5.594 kB / 3.264 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/8.569, allocations: 32.42 kB / 3.264 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/8.569, allocations: 2.625 kB / 3.264 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/8.569, allocations: 2.75 kB / 3.264 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/8.569, allocations: 2.656 kB / 3.264 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/8.569, allocations: 3 kB / 3.264 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009779/8.57, allocations: 402.2 kB / 3.264 GB, free: 271.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/8.57, allocations: 121.8 kB / 3.264 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/8.57, allocations: 3.141 kB / 3.264 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/8.571, allocations: 18.61 kB / 3.264 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/8.571, allocations: 11.27 kB / 3.264 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/8.571, allocations: 6.812 kB / 3.264 GB, free: 271 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004451/8.571, allocations: 232.8 kB / 3.265 GB, free: 270.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.91e-07/8.571, allocations: 0 / 3.265 GB, free: 270.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001283/8.573, allocations: 185.1 kB / 3.265 GB, free: 270.9 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 () * Number of clocked 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.00394/8.577, allocations: 2.209 MB / 3.267 GB, free: 269.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009075/8.577, allocations: 152.6 kB / 3.267 GB, free: 269.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/8.578, allocations: 0.5625 kB / 3.267 GB, free: 269.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/8.578, allocations: 64.8 kB / 3.267 GB, free: 269.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/8.579, allocations: 120.8 kB / 3.267 GB, free: 269.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/8.584, allocations: 2.777 MB / 3.27 GB, free: 267.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/8.584, allocations: 0.7639 MB / 3.271 GB, free: 267.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005044/8.585, allocations: 59.45 kB / 3.271 GB, free: 267.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/8.585, allocations: 75.22 kB / 3.271 GB, free: 267.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/8.585, allocations: 0 / 3.271 GB, free: 267.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07607/8.661, allocations: 23.23 MB / 3.293 GB, free: 266.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/8.661, allocations: 221.5 kB / 3.294 GB, free: 266.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.483/12.14, allocations: 0 / 3.294 GB, free: 266.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)