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.598/1.598, allocations: 285.4 MB / 298 MB, free: 6.004 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.001222/0.001222, allocations: 184.8 kB / 366.4 MB, free: 2.074 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.727 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.0009948/0.0009948, allocations: 94.5 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.968e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7294, allocations: 115.3 MB / 0.971 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.765/5.495, allocations: 2.061 GB / 3.032 GB, free: 78.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/5.495, allocations: 83.95 kB / 3.032 GB, free: 78.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9989/6.494, allocations: 208.4 MB / 3.235 GB, free: 255 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/6.494, allocations: 0 / 3.235 GB, free: 255 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.216e-05/6.494, allocations: 11.98 kB / 3.235 GB, free: 254.9 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.0008993/6.495, allocations: 0.564 MB / 3.236 GB, free: 254.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/6.495, allocations: 12.03 kB / 3.236 GB, free: 254.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/6.495, allocations: 54.55 kB / 3.236 GB, free: 254.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/6.495, allocations: 25.61 kB / 3.236 GB, free: 254.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/6.496, allocations: 275.5 kB / 3.236 GB, free: 253.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/6.496, allocations: 19.78 kB / 3.236 GB, free: 253.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/6.496, allocations: 16.52 kB / 3.236 GB, free: 253.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/6.496, allocations: 246.3 kB / 3.236 GB, free: 253.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/6.496, allocations: 4 kB / 3.236 GB, free: 253.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/6.496, allocations: 8 kB / 3.237 GB, free: 253.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/6.496, allocations: 8 kB / 3.237 GB, free: 253.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/6.496, allocations: 112.4 kB / 3.237 GB, free: 253.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/6.497, allocations: 1.364 MB / 3.238 GB, free: 252 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/6.498, allocations: 155.6 kB / 3.238 GB, free: 251.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/6.498, allocations: 81.33 kB / 3.238 GB, free: 251.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/6.498, allocations: 121 kB / 3.238 GB, free: 251.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/6.498, allocations: 42.5 kB / 3.238 GB, free: 251.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/6.498, allocations: 0 / 3.238 GB, free: 251.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0003366/6.498, allocations: 125.3 kB / 3.238 GB, free: 251.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/6.499, allocations: 188.1 kB / 3.239 GB, free: 251.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/6.499, allocations: 251.5 kB / 3.239 GB, free: 250.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/6.499, allocations: 33.7 kB / 3.239 GB, free: 250.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/6.499, allocations: 156.1 kB / 3.239 GB, free: 250.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/6.499, allocations: 31.55 kB / 3.239 GB, free: 250.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/6.499, allocations: 4 kB / 3.239 GB, free: 250.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/6.499, allocations: 338.8 kB / 3.239 GB, free: 250.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/6.499, allocations: 24 kB / 3.239 GB, free: 250.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/6.499, allocations: 123.6 kB / 3.24 GB, free: 250.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/6.499, allocations: 39.98 kB / 3.24 GB, free: 250.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/6.499, allocations: 4 kB / 3.24 GB, free: 250.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001937/6.499, allocations: 153.2 kB / 3.24 GB, free: 250 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/6.499, allocations: 8.219 kB / 3.24 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/6.499, allocations: 4 kB / 3.24 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/6.499, allocations: 4 kB / 3.24 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/6.5, allocations: 43.91 kB / 3.24 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/6.5, allocations: 0 / 3.24 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/6.5, allocations: 35.67 kB / 3.24 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/6.5, allocations: 12 kB / 3.24 GB, free: 249.9 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.053e-05/6.5, allocations: 116.9 kB / 3.24 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/6.5, allocations: 27.66 kB / 3.24 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/6.5, allocations: 103.2 kB / 3.24 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/6.5, allocations: 4 kB / 3.24 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/6.5, allocations: 0 / 3.24 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/6.5, allocations: 4 kB / 3.24 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/6.501, allocations: 0.7729 MB / 3.241 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/6.501, allocations: 0 / 3.241 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/6.501, allocations: 27.98 kB / 3.241 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/6.501, allocations: 0 / 3.241 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/6.501, allocations: 4 kB / 3.241 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/6.501, allocations: 4 kB / 3.241 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/6.501, allocations: 8.109 kB / 3.241 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/6.501, allocations: 355.9 kB / 3.241 GB, free: 248.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/6.502, allocations: 112.8 kB / 3.241 GB, free: 248.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/6.502, allocations: 0 / 3.241 GB, free: 248.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/6.502, allocations: 15.98 kB / 3.241 GB, free: 248.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/6.502, allocations: 20 kB / 3.241 GB, free: 248.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/6.502, allocations: 4 kB / 3.241 GB, free: 248.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001649/6.502, allocations: 203.1 kB / 3.242 GB, free: 247.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/6.502, allocations: 0 / 3.242 GB, free: 247.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007097/6.503, allocations: 147.8 kB / 3.242 GB, free: 247.8 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.001526/6.504, allocations: 2.107 MB / 3.244 GB, free: 245.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001788/6.504, allocations: 87.86 kB / 3.244 GB, free: 245.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/6.504, allocations: 0 / 3.244 GB, free: 245.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.326e-05/6.504, allocations: 47.92 kB / 3.244 GB, free: 245.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/6.505, allocations: 120 kB / 3.244 GB, free: 245.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/6.506, allocations: 437.4 kB / 3.244 GB, free: 244.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/6.506, allocations: 0.7638 MB / 3.245 GB, free: 244.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001537/6.507, allocations: 54.28 kB / 3.245 GB, free: 244.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/6.507, allocations: 63.42 kB / 3.245 GB, free: 244 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/6.507, allocations: 4 kB / 3.245 GB, free: 244 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/6.548, allocations: 24.74 MB / 3.269 GB, free: 219.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/6.548, allocations: 194.8 kB / 3.27 GB, free: 219.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/9.124, allocations: 0 / 3.27 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)