Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.926/1.926, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001328/0.001328, allocations: 172.8 kB / 366.7 MB, free: 1.695 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.69/1.69, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.0008991/0.0008991, allocations: 88.45 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.035e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.6909, allocations: 116.3 MB / 0.9733 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.88/5.571, allocations: 2.061 GB / 3.034 GB, free: 23.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/5.571, allocations: 86.33 kB / 3.034 GB, free: 23.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.001/6.573, allocations: 205.5 MB / 3.235 GB, free: 205.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/6.573, allocations: 4 kB / 3.235 GB, free: 205.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.329e-05/6.573, allocations: 15.98 kB / 3.235 GB, free: 205.7 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.0008933/6.574, allocations: 0.5638 MB / 3.236 GB, free: 205.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/6.574, allocations: 8.031 kB / 3.236 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/6.574, allocations: 31.72 kB / 3.236 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/6.574, allocations: 279.5 kB / 3.236 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/6.574, allocations: 15.95 kB / 3.236 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/6.574, allocations: 12 kB / 3.236 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001871/6.574, allocations: 91.97 kB / 3.236 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/6.575, allocations: 224 kB / 3.236 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/6.575, allocations: 0 / 3.236 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/6.575, allocations: 0 / 3.236 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/6.575, allocations: 4 kB / 3.236 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/6.576, allocations: 1.287 MB / 3.238 GB, free: 203 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/6.576, allocations: 155.7 kB / 3.238 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/6.576, allocations: 73.27 kB / 3.238 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/6.576, allocations: 113.1 kB / 3.238 GB, free: 202.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/6.576, allocations: 46.5 kB / 3.238 GB, free: 202.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/6.576, allocations: 4 kB / 3.238 GB, free: 202.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004431/6.577, allocations: 141.2 kB / 3.238 GB, free: 202.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/6.577, allocations: 187.9 kB / 3.238 GB, free: 202.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/6.577, allocations: 162.1 kB / 3.238 GB, free: 202 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/6.577, allocations: 29.64 kB / 3.239 GB, free: 202 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/6.577, allocations: 160.1 kB / 3.239 GB, free: 201.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/6.577, allocations: 39.64 kB / 3.239 GB, free: 201.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/6.577, allocations: 4 kB / 3.239 GB, free: 201.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/6.577, allocations: 334.7 kB / 3.239 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/6.577, allocations: 23.98 kB / 3.239 GB, free: 201.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/6.577, allocations: 105.4 kB / 3.239 GB, free: 201.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/6.577, allocations: 55.89 kB / 3.239 GB, free: 201.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/6.577, allocations: 4 kB / 3.239 GB, free: 201.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002558/6.578, allocations: 161.2 kB / 3.239 GB, free: 201.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/6.578, allocations: 8 kB / 3.239 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/6.578, allocations: 0 / 3.239 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/6.578, allocations: 4 kB / 3.239 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/6.578, allocations: 43.91 kB / 3.239 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/6.578, allocations: 0 / 3.239 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/6.578, allocations: 20.2 kB / 3.239 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/6.578, allocations: 8 kB / 3.239 GB, free: 201 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 8.57e-05/6.578, allocations: 116.8 kB / 3.24 GB, free: 200.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003084/6.579, allocations: 141.2 kB / 3.24 GB, free: 200.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/6.579, allocations: 19.8 kB / 3.24 GB, free: 200.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/6.579, allocations: 111.7 kB / 3.24 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/6.579, allocations: 8 kB / 3.24 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/6.579, allocations: 0 / 3.24 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/6.579, allocations: 7.953 kB / 3.24 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/6.58, allocations: 0.7112 MB / 3.241 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/6.58, allocations: 8.141 kB / 3.241 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/6.58, allocations: 27.92 kB / 3.241 GB, free: 199.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/6.58, allocations: 4 kB / 3.241 GB, free: 199.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/6.58, allocations: 3.953 kB / 3.241 GB, free: 199.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/6.58, allocations: 4 kB / 3.241 GB, free: 199.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/6.58, allocations: 0 / 3.241 GB, free: 199.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/6.58, allocations: 350.5 kB / 3.241 GB, free: 199.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/6.58, allocations: 108.9 kB / 3.241 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/6.58, allocations: 4 kB / 3.241 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/6.58, allocations: 11.98 kB / 3.241 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/6.58, allocations: 19.81 kB / 3.241 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/6.581, allocations: 8.094 kB / 3.241 GB, free: 199.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001042/6.581, allocations: 144.5 kB / 3.241 GB, free: 199 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/6.581, allocations: 4 kB / 3.241 GB, free: 199 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006239/6.581, allocations: 123.8 kB / 3.241 GB, free: 198.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.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.002102/6.583, allocations: 2.239 MB / 3.243 GB, free: 196.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001675/6.584, allocations: 91.84 kB / 3.244 GB, free: 196.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/6.584, allocations: 0 / 3.244 GB, free: 196.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/6.584, allocations: 43.92 kB / 3.244 GB, free: 196.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/6.584, allocations: 53.33 kB / 3.244 GB, free: 196.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007528/6.585, allocations: 421.1 kB / 3.244 GB, free: 196 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/6.585, allocations: 0.7594 MB / 3.245 GB, free: 195.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001085/6.585, allocations: 50 kB / 3.245 GB, free: 195.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/6.585, allocations: 71.41 kB / 3.245 GB, free: 195.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/6.585, allocations: 0 / 3.245 GB, free: 195.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/6.618, allocations: 11.95 MB / 3.257 GB, free: 183.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008791/6.619, allocations: 168.1 kB / 3.257 GB, free: 183 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/8.857, allocations: 0 / 3.257 GB, free: 183 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)