Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 249.5 MB / 257 MB, free: 6.984 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.001065/0.001065, allocations: 180.8 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0007885/0.0007883, allocations: 96.45 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.049e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.176, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.165/5.341, allocations: 2.179 GB / 3.065 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/5.341, allocations: 83.95 kB / 3.065 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3444/5.686, allocations: 199 MB / 3.259 GB, free: 25.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.042e-06/5.686, allocations: 4 kB / 3.259 GB, free: 25.39 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.864e-05/5.686, allocations: 4 kB / 3.259 GB, free: 25.39 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007744/5.686, allocations: 0.5602 MB / 3.26 GB, free: 24.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/5.686, allocations: 8.562 kB / 3.26 GB, free: 24.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/5.687, allocations: 27.67 kB / 3.26 GB, free: 24.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/5.687, allocations: 285.9 kB / 3.26 GB, free: 24.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/5.687, allocations: 4 kB / 3.26 GB, free: 24.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/5.687, allocations: 12 kB / 3.26 GB, free: 24.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001772/5.687, allocations: 103.8 kB / 3.26 GB, free: 24.31 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/5.687, allocations: 210.5 kB / 3.26 GB, free: 24.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/5.687, allocations: 3.938 kB / 3.26 GB, free: 24.06 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/5.687, allocations: 4 kB / 3.26 GB, free: 24.06 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/5.687, allocations: 8 kB / 3.26 GB, free: 24.05 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008719/5.688, allocations: 1.294 MB / 3.261 GB, free: 22.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/5.688, allocations: 147.6 kB / 3.262 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/5.689, allocations: 77.33 kB / 3.262 GB, free: 22.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/5.689, allocations: 125 kB / 3.262 GB, free: 22.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/5.689, allocations: 38.5 kB / 3.262 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/5.689, allocations: 0 / 3.262 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.000402/5.689, allocations: 129.4 kB / 3.262 GB, free: 22.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/5.689, allocations: 196 kB / 3.262 GB, free: 21.83 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/5.689, allocations: 162.6 kB / 3.262 GB, free: 21.67 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/5.689, allocations: 29.7 kB / 3.262 GB, free: 21.63 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/5.689, allocations: 156 kB / 3.262 GB, free: 21.48 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/5.69, allocations: 31.55 kB / 3.262 GB, free: 21.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/5.69, allocations: 0 / 3.262 GB, free: 21.45 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.381e-05/5.69, allocations: 326.8 kB / 3.263 GB, free: 21.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/5.69, allocations: 31.98 kB / 3.263 GB, free: 21.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/5.69, allocations: 96.52 kB / 3.263 GB, free: 20.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/5.69, allocations: 71.88 kB / 3.263 GB, free: 20.89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/5.69, allocations: 0 / 3.263 GB, free: 20.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002354/5.69, allocations: 145.3 kB / 3.263 GB, free: 20.74 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/5.69, allocations: 8 kB / 3.263 GB, free: 20.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/5.69, allocations: 3.953 kB / 3.263 GB, free: 20.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/5.69, allocations: 8.219 kB / 3.263 GB, free: 20.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/5.69, allocations: 39.97 kB / 3.263 GB, free: 20.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/5.69, allocations: 3.938 kB / 3.263 GB, free: 20.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/5.69, allocations: 19.89 kB / 3.263 GB, free: 20.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/5.691, allocations: 8 kB / 3.263 GB, free: 20.65 MB / 0.8698 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 5.628e-05/5.691, allocations: 105 kB / 3.263 GB, free: 20.54 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002892/5.691, allocations: 145.5 kB / 3.263 GB, free: 20.39 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/5.691, allocations: 19.83 kB / 3.263 GB, free: 20.38 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/5.691, allocations: 119.1 kB / 3.264 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/5.691, allocations: 4 kB / 3.264 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/5.691, allocations: 0 / 3.264 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/5.691, allocations: 0 / 3.264 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/5.692, allocations: 0.7269 MB / 3.264 GB, free: 19.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/5.692, allocations: 0 / 3.264 GB, free: 19.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/5.692, allocations: 23.98 kB / 3.264 GB, free: 19.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/5.692, allocations: 4 kB / 3.264 GB, free: 19.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/5.692, allocations: 160 / 3.264 GB, free: 19.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/5.692, allocations: 15.88 kB / 3.264 GB, free: 19.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/5.692, allocations: 3.938 kB / 3.264 GB, free: 19.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/5.692, allocations: 352 kB / 3.265 GB, free: 19.01 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/5.692, allocations: 104.9 kB / 3.265 GB, free: 18.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/5.692, allocations: 4 kB / 3.265 GB, free: 18.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/5.693, allocations: 12.05 kB / 3.265 GB, free: 18.87 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/5.693, allocations: 15.98 kB / 3.265 GB, free: 18.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/5.693, allocations: 4 kB / 3.265 GB, free: 18.85 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.177e-05/5.693, allocations: 140.2 kB / 3.265 GB, free: 18.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.693, allocations: 0 / 3.265 GB, free: 18.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004935/5.693, allocations: 123.8 kB / 3.265 GB, free: 18.59 MB / 0.8698 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.00169/5.695, allocations: 2.26 MB / 3.267 GB, free: 16.28 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001636/5.695, allocations: 79.86 kB / 3.267 GB, free: 16.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/5.695, allocations: 0 / 3.267 GB, free: 16.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.759e-05/5.695, allocations: 40.42 kB / 3.267 GB, free: 16.16 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/5.696, allocations: 66.33 kB / 3.267 GB, free: 16.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/5.696, allocations: 403.4 kB / 3.268 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/5.697, allocations: 0.7633 MB / 3.269 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000111/5.697, allocations: 41.81 kB / 3.269 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/5.697, allocations: 59.42 kB / 3.269 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of SimCode: time 9.02e-07/5.697, allocations: 3.938 kB / 3.269 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/5.727, allocations: 11.83 MB / 3.28 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/5.728, allocations: 180.6 kB / 3.28 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/7.622, allocations: 8.297 kB / 3.28 GB, free: 2.777 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)