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.54/1.54, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 175.9 kB / 326.5 MB, free: 2.262 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.928/1.928, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001043/0.001044, allocations: 90.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003571, allocations: 12.34 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2542, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1634/0.4177, allocations: 135.6 MB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004667/0.4224, allocations: 3.733 MB / 1.036 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.4227, allocations: 7.938 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.4234, allocations: 151.3 kB / 1.036 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000933/0.4243, allocations: 342.9 kB / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.4253, allocations: 343.8 kB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.4259, allocations: 331.8 kB / 1.037 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.4262, allocations: 157.3 kB / 1.037 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.4268, allocations: 295.1 kB / 1.038 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.4271, allocations: 127.5 kB / 1.038 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.4271, allocations: 16 kB / 1.038 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.4273, allocations: 63.88 kB / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.4274, allocations: 75.78 kB / 1.038 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.4274, allocations: 69.58 kB / 1.038 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.4277, allocations: 195.8 kB / 1.038 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4277, allocations: 8 kB / 1.038 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4277, allocations: 0 / 1.038 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.4277, allocations: 3.938 kB / 1.038 GB, free: 2.023 MB / 0.6823 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.0007989/0.4285, allocations: 494.5 kB / 1.039 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4286, allocations: 12.03 kB / 1.039 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/0.4287, allocations: 50.55 kB / 1.039 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.4287, allocations: 27.72 kB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.4291, allocations: 278.2 kB / 1.039 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4292, allocations: 8 kB / 1.039 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.4292, allocations: 24 kB / 1.039 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.4296, allocations: 273.7 kB / 1.039 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4297, allocations: 0 / 1.039 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.4297, allocations: 12 kB / 1.039 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4297, allocations: 4 kB / 1.039 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.4301, allocations: 155.8 kB / 1.04 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.4314, allocations: 1.375 MB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.4318, allocations: 187.7 kB / 1.041 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/0.4321, allocations: 133.2 kB / 1.041 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4322, allocations: 34.56 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.4322, allocations: 0 / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006136/0.4328, allocations: 229.5 kB / 1.041 GB, free: 14.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/0.4329, allocations: 183.9 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.4332, allocations: 283.2 kB / 1.042 GB, free: 13.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4332, allocations: 33.7 kB / 1.042 GB, free: 13.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4334, allocations: 143.9 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.4334, allocations: 35.45 kB / 1.042 GB, free: 13.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.4334, allocations: 4 kB / 1.042 GB, free: 13.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4336, allocations: 330.8 kB / 1.042 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.4337, allocations: 51.95 kB / 1.043 GB, free: 13.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.4339, allocations: 106.8 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.4341, allocations: 67.95 kB / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4341, allocations: 0 / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003816/0.4345, allocations: 201.2 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4345, allocations: 6.188 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.4345, allocations: 0 / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4346, allocations: 7.953 kB / 1.043 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.4347, allocations: 39.91 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4347, allocations: 224 / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.4349, allocations: 39.73 kB / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.435, allocations: 8 kB / 1.043 GB, free: 12.84 MB / 0.698 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 () * Number of clocked 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 0.000151/0.4351, allocations: 151.6 kB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.4352, allocations: 31.69 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.4356, allocations: 147.3 kB / 1.043 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4356, allocations: 11.89 kB / 1.043 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4356, allocations: 0 / 1.043 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4356, allocations: 0 / 1.043 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000834/0.4365, allocations: 0.7691 MB / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4365, allocations: 0 / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.4366, allocations: 27.97 kB / 1.044 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4366, allocations: 4 kB / 1.044 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4366, allocations: 4 kB / 1.044 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.4367, allocations: 4 kB / 1.044 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4367, allocations: 4.094 kB / 1.044 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.4373, allocations: 416 kB / 1.044 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4374, allocations: 116.8 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.4374, allocations: 7.953 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4376, allocations: 11.98 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.4376, allocations: 11.98 kB / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.4376, allocations: 4 kB / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002036/0.4379, allocations: 205.9 kB / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4379, allocations: 4.062 kB / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003417/0.4382, allocations: 52 kB / 1.045 GB, free: 10.71 MB / 0.698 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 () * Number of clocked 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.001158/0.4394, allocations: 1.318 MB / 1.046 GB, free: 9.336 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.4397, allocations: 135.8 kB / 1.046 GB, free: 9.203 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4397, allocations: 0 / 1.046 GB, free: 9.203 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4399, allocations: 68.83 kB / 1.046 GB, free: 9.137 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.4406, allocations: 124.4 kB / 1.046 GB, free: 9.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.4432, allocations: 2.505 MB / 1.049 GB, free: 6.422 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.4436, allocations: 0.7599 MB / 1.05 GB, free: 5.637 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.4438, allocations: 50.27 kB / 1.05 GB, free: 5.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4439, allocations: 71.41 kB / 1.05 GB, free: 5.52 MB / 0.698 GB Notification: Performance of SimCode: time 2.454e-06/0.4439, allocations: 0 / 1.05 GB, free: 5.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4529/0.8968, allocations: 6.178 MB / 1.056 GB, free: 155.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.8971, allocations: 229.8 kB / 1.056 GB, free: 155.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.882, allocations: 0 / 1.056 GB, free: 155.2 MB / 0.698 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)