Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.594/1.594, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001547/0.001547, allocations: 184.4 kB / 361.4 MB, free: 6.816 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.671/1.671, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008952/0.0008951, allocations: 94.42 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.264e-05, allocations: 8 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7255, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.77/5.496, allocations: 2.06 GB / 3.025 GB, free: 54.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/5.496, allocations: 88.67 kB / 3.025 GB, free: 54.72 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9279/6.424, allocations: 205.5 MB / 3.225 GB, free: 242 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.513e-06/6.424, allocations: 0 / 3.225 GB, free: 242 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.586e-05/6.424, allocations: 7.984 kB / 3.225 GB, free: 242 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00103/6.425, allocations: 0.5617 MB / 3.226 GB, free: 241.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/6.425, allocations: 16.02 kB / 3.226 GB, free: 241.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/6.425, allocations: 27.72 kB / 3.226 GB, free: 241.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/6.426, allocations: 285.4 kB / 3.226 GB, free: 241 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/6.426, allocations: 4 kB / 3.226 GB, free: 241 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/6.426, allocations: 15.95 kB / 3.226 GB, free: 241 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001853/6.426, allocations: 95.77 kB / 3.226 GB, free: 240.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/6.426, allocations: 218.2 kB / 3.227 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/6.426, allocations: 0 / 3.227 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/6.426, allocations: 4 kB / 3.227 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/6.426, allocations: 4 kB / 3.227 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/6.427, allocations: 1.291 MB / 3.228 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/6.427, allocations: 151.7 kB / 3.228 GB, free: 239.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/6.427, allocations: 81.27 kB / 3.228 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/6.427, allocations: 113 kB / 3.228 GB, free: 238.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/6.428, allocations: 42.55 kB / 3.228 GB, free: 238.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/6.428, allocations: 0 / 3.228 GB, free: 238.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0003902/6.428, allocations: 137.3 kB / 3.228 GB, free: 238.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/6.428, allocations: 179.9 kB / 3.228 GB, free: 238.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/6.428, allocations: 174 kB / 3.229 GB, free: 238.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/6.428, allocations: 33.86 kB / 3.229 GB, free: 238.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/6.428, allocations: 156 kB / 3.229 GB, free: 238.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/6.428, allocations: 31.55 kB / 3.229 GB, free: 238 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/6.428, allocations: 0 / 3.229 GB, free: 238 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.97e-05/6.428, allocations: 330.8 kB / 3.229 GB, free: 237.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/6.428, allocations: 31.98 kB / 3.229 GB, free: 237.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/6.428, allocations: 107.5 kB / 3.229 GB, free: 237.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/6.429, allocations: 59.94 kB / 3.229 GB, free: 237.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/6.429, allocations: 4 kB / 3.229 GB, free: 237.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002535/6.429, allocations: 153.3 kB / 3.23 GB, free: 237.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/6.429, allocations: 4 kB / 3.23 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/6.429, allocations: 4 kB / 3.23 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/6.429, allocations: 7.984 kB / 3.23 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/6.429, allocations: 35.86 kB / 3.23 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/6.429, allocations: 4.219 kB / 3.23 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/6.429, allocations: 27.83 kB / 3.23 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/6.429, allocations: 12 kB / 3.23 GB, free: 237.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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 6.544e-05/6.429, allocations: 108.9 kB / 3.23 GB, free: 237.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000308/6.43, allocations: 141.3 kB / 3.23 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/6.43, allocations: 23.88 kB / 3.23 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/6.43, allocations: 111.5 kB / 3.23 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/6.43, allocations: 0 / 3.23 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/6.43, allocations: 4 kB / 3.23 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/6.43, allocations: 0 / 3.23 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/6.431, allocations: 0.7305 MB / 3.231 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/6.431, allocations: 4 kB / 3.231 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/6.431, allocations: 31.92 kB / 3.231 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/6.431, allocations: 0 / 3.231 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/6.431, allocations: 4 kB / 3.231 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/6.431, allocations: 7.953 kB / 3.231 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/6.431, allocations: 0 / 3.231 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/6.431, allocations: 352.2 kB / 3.231 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/6.431, allocations: 104.9 kB / 3.231 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/6.431, allocations: 7.984 kB / 3.231 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/6.431, allocations: 8 kB / 3.231 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/6.431, allocations: 11.94 kB / 3.231 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/6.431, allocations: 4.062 kB / 3.231 GB, free: 235.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.189e-05/6.432, allocations: 144.6 kB / 3.231 GB, free: 235.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.432, allocations: 0 / 3.231 GB, free: 235.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005274/6.432, allocations: 123.8 kB / 3.231 GB, free: 235.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.001895/6.434, allocations: 2.259 MB / 3.234 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001694/6.434, allocations: 75.92 kB / 3.234 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/6.434, allocations: 0 / 3.234 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.844e-05/6.434, allocations: 39.92 kB / 3.234 GB, free: 232.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/6.435, allocations: 73.31 kB / 3.234 GB, free: 232.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/6.435, allocations: 425.5 kB / 3.234 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/6.436, allocations: 0.7555 MB / 3.235 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001148/6.436, allocations: 42.08 kB / 3.235 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/6.436, allocations: 67.41 kB / 3.235 GB, free: 231.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/6.436, allocations: 0 / 3.235 GB, free: 231.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/6.463, allocations: 11.96 MB / 3.247 GB, free: 219.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/6.463, allocations: 173 kB / 3.247 GB, free: 219.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/8.429, allocations: 0 / 3.247 GB, free: 219.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)