Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.578/1.578, allocations: 249.3 MB / 261.8 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009355/0.0009355, allocations: 99.09 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.607e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1982, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.55/5.748, allocations: 2.18 GB / 3.072 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/5.749, allocations: 83.92 kB / 3.072 GB, free: 190 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9167/6.665, allocations: 215.7 MB / 3.282 GB, free: 248 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.465e-06/6.665, allocations: 0.9688 kB / 3.282 GB, free: 248 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.717e-05/6.665, allocations: 7.219 kB / 3.282 GB, free: 248 MB / 0.8698 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.001183/6.667, allocations: 0.6159 MB / 3.283 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/6.667, allocations: 9.812 kB / 3.283 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/6.667, allocations: 52.34 kB / 3.283 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006889/6.667, allocations: 73.3 kB / 3.283 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/6.668, allocations: 292.8 kB / 3.283 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/6.668, allocations: 13.86 kB / 3.283 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/6.668, allocations: 27.81 kB / 3.283 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/6.668, allocations: 261.1 kB / 3.284 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/6.668, allocations: 5 kB / 3.284 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/6.668, allocations: 7.5 kB / 3.284 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/6.668, allocations: 5.531 kB / 3.284 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/6.669, allocations: 167 kB / 3.284 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/6.67, allocations: 1.231 MB / 3.285 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/6.67, allocations: 155.9 kB / 3.285 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/6.671, allocations: 95.86 kB / 3.285 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006294/6.671, allocations: 326.7 kB / 3.285 GB, free: 246 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/6.671, allocations: 44.41 kB / 3.286 GB, free: 246 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/6.671, allocations: 0 / 3.286 GB, free: 246 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0004931/6.672, allocations: 179 kB / 3.286 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/6.672, allocations: 159.7 kB / 3.286 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/6.672, allocations: 249.1 kB / 3.286 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/6.672, allocations: 27.08 kB / 3.286 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/6.672, allocations: 151 kB / 3.286 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/6.672, allocations: 47.12 kB / 3.286 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/6.672, allocations: 4.844 kB / 3.286 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/6.672, allocations: 331.9 kB / 3.287 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/6.672, allocations: 52.11 kB / 3.287 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/6.673, allocations: 133.9 kB / 3.287 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/6.673, allocations: 68.69 kB / 3.287 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/6.673, allocations: 1.5 kB / 3.287 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003639/6.673, allocations: 214 kB / 3.287 GB, free: 245 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/6.673, allocations: 5.75 kB / 3.287 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/6.673, allocations: 2.562 kB / 3.287 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/6.673, allocations: 2.844 kB / 3.287 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/6.673, allocations: 48.19 kB / 3.287 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/6.673, allocations: 9.969 kB / 3.287 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/6.674, allocations: 34.52 kB / 3.287 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/6.674, allocations: 10.91 kB / 3.287 GB, free: 245 MB / 0.8698 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.713e-05/6.674, allocations: 116.7 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/6.674, allocations: 35.33 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/6.674, allocations: 149.5 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/6.674, allocations: 2.344 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/6.674, allocations: 1 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/6.674, allocations: 2.719 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/6.675, allocations: 0.8234 MB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/6.675, allocations: 1.406 kB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/6.675, allocations: 29.97 kB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/6.675, allocations: 2.562 kB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/6.675, allocations: 2.281 kB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/6.675, allocations: 2.188 kB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/6.675, allocations: 1.188 kB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/6.676, allocations: 361.9 kB / 3.289 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/6.676, allocations: 122.4 kB / 3.289 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/6.676, allocations: 2.688 kB / 3.289 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/6.676, allocations: 20.5 kB / 3.289 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/6.676, allocations: 8.688 kB / 3.289 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/6.676, allocations: 6.438 kB / 3.289 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002719/6.676, allocations: 230.9 kB / 3.289 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.676, allocations: 0 / 3.289 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009957/6.677, allocations: 183.5 kB / 3.289 GB, free: 243.7 MB / 0.8698 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.002282/6.68, allocations: 2.153 MB / 3.291 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002981/6.68, allocations: 119.2 kB / 3.291 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/6.68, allocations: 0 / 3.291 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/6.68, allocations: 46.3 kB / 3.291 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/6.681, allocations: 125.4 kB / 3.292 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/6.682, allocations: 456.7 kB / 3.292 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/6.682, allocations: 0.7672 MB / 3.293 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002294/6.682, allocations: 55.56 kB / 3.293 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/6.682, allocations: 70.86 kB / 3.293 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.474e-06/6.682, allocations: 0 / 3.293 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05504/6.737, allocations: 25.85 MB / 3.318 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/6.738, allocations: 195.6 kB / 3.318 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/9.488, allocations: 0 / 3.318 GB, free: 240.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)