Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",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.663/1.663, allocations: 288.4 MB / 303.3 MB, free: 8.211 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.0009762/0.0009763, allocations: 191 kB / 372 MB, free: 10.28 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.581/1.581, allocations: 205.4 MB / 0.6307 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 90.98 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000601/0.000601, allocations: 15.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.208, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6102/0.8182, allocations: 159.9 MB / 1.136 GB, free: 15.58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009299/0.8276, allocations: 8.074 MB / 1.144 GB, free: 12.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.8287, allocations: 19.06 kB / 1.144 GB, free: 12.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007485/0.8294, allocations: 212.2 kB / 1.144 GB, free: 12.6 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008538/0.8303, allocations: 282.8 kB / 1.144 GB, free: 12.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.8314, allocations: 306.2 kB / 1.144 GB, free: 12.44 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.8328, allocations: 1.37 MB / 1.146 GB, free: 12.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006847/0.8335, allocations: 439.9 kB / 1.146 GB, free: 12.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/0.8381, allocations: 1.48 MB / 1.148 GB, free: 11.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.8388, allocations: 332.8 kB / 1.148 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.8389, allocations: 20.31 kB / 1.148 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.8392, allocations: 57.58 kB / 1.148 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.8395, allocations: 230.2 kB / 1.148 GB, free: 11.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.8396, allocations: 125.9 kB / 1.148 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.8403, allocations: 455.7 kB / 1.149 GB, free: 10.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.8403, allocations: 0 / 1.149 GB, free: 10.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8403, allocations: 1.094 kB / 1.149 GB, free: 10.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.8403, allocations: 0 / 1.149 GB, free: 10.71 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00154/0.8419, allocations: 0.7246 MB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.863e-05/0.842, allocations: 10.44 kB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.8422, allocations: 97 kB / 1.15 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.8424, allocations: 71.64 kB / 1.15 GB, free: 10.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009977/0.8434, allocations: 403.1 kB / 1.15 GB, free: 9.715 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.83e-05/0.8435, allocations: 43.36 kB / 1.15 GB, free: 9.711 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.8436, allocations: 49.44 kB / 1.15 GB, free: 9.711 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.8452, allocations: 0.7073 MB / 1.151 GB, free: 9.324 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.8453, allocations: 7.016 kB / 1.151 GB, free: 9.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.8453, allocations: 27.25 kB / 1.151 GB, free: 9.316 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.808e-05/0.8454, allocations: 31.42 kB / 1.151 GB, free: 9.309 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008902/0.8463, allocations: 377 kB / 1.151 GB, free: 9.223 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.8499, allocations: 3.236 MB / 1.154 GB, free: 6.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.8502, allocations: 227.6 kB / 1.155 GB, free: 6.215 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.8504, allocations: 136.3 kB / 1.155 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.8505, allocations: 2.125 kB / 1.155 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.8505, allocations: 50.42 kB / 1.155 GB, free: 6.062 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.976e-06/0.8505, allocations: 0 / 1.155 GB, free: 6.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0007977/0.8513, allocations: 258.8 kB / 1.155 GB, free: 5.953 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.8515, allocations: 291.9 kB / 1.155 GB, free: 5.605 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009005/0.8524, allocations: 0.6811 MB / 1.156 GB, free: 5.371 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.8524, allocations: 28.89 kB / 1.156 GB, free: 5.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.8526, allocations: 269.9 kB / 1.156 GB, free: 5.223 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.8527, allocations: 35.7 kB / 1.156 GB, free: 5.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.8527, allocations: 3.25 kB / 1.156 GB, free: 5.195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8528, allocations: 372 kB / 1.157 GB, free: 4.859 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.853, allocations: 38.59 kB / 1.157 GB, free: 4.852 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.8532, allocations: 109 kB / 1.157 GB, free: 4.781 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.8533, allocations: 55.56 kB / 1.157 GB, free: 4.766 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8533, allocations: 1.719 kB / 1.157 GB, free: 4.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003824/0.8537, allocations: 199 kB / 1.157 GB, free: 4.672 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.8538, allocations: 5.969 kB / 1.157 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8538, allocations: 1.188 kB / 1.157 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.8538, allocations: 2.125 kB / 1.157 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.854, allocations: 49.23 kB / 1.157 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.8541, allocations: 2.188 kB / 1.157 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.8543, allocations: 74.44 kB / 1.157 GB, free: 4.613 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.8544, allocations: 10.03 kB / 1.157 GB, free: 4.609 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0002134/0.8546, allocations: 203.8 kB / 1.157 GB, free: 4.473 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.8548, allocations: 56.78 kB / 1.158 GB, free: 4.445 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.94e-05/0.8549, allocations: 59.7 kB / 1.158 GB, free: 4.426 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.8549, allocations: 10.66 kB / 1.158 GB, free: 4.418 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.8549, allocations: 5.125 kB / 1.158 GB, free: 4.418 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.8549, allocations: 6.484 kB / 1.158 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.8563, allocations: 1.301 MB / 1.159 GB, free: 3.305 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8563, allocations: 3.562 kB / 1.159 GB, free: 3.305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.8566, allocations: 54.83 kB / 1.159 GB, free: 3.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.8566, allocations: 3.156 kB / 1.159 GB, free: 3.289 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.8566, allocations: 8.109 kB / 1.159 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8566, allocations: 2.906 kB / 1.159 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8566, allocations: 6.469 kB / 1.159 GB, free: 3.281 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.857, allocations: 345.8 kB / 1.159 GB, free: 3.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.8572, allocations: 143.2 kB / 1.159 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.8573, allocations: 11.33 kB / 1.159 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.8575, allocations: 20.06 kB / 1.159 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.8575, allocations: 19.45 kB / 1.159 GB, free: 2.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.8576, allocations: 6.031 kB / 1.159 GB, free: 2.867 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005751/0.8581, allocations: 499.8 kB / 1.16 GB, free: 2.699 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8581, allocations: 0 / 1.16 GB, free: 2.699 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004434/0.8586, allocations: 81 kB / 1.16 GB, free: 2.691 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 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.0009692/0.8596, allocations: 0.9197 MB / 1.161 GB, free: 1.883 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.86, allocations: 110.9 kB / 1.161 GB, free: 1.855 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.86, allocations: 0.5 kB / 1.161 GB, free: 1.855 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.8602, allocations: 73.08 kB / 1.161 GB, free: 1.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.8616, allocations: 272.8 kB / 1.161 GB, free: 1.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.8661, allocations: 3.085 MB / 1.164 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.8666, allocations: 0.9071 MB / 1.165 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003782/0.867, allocations: 107.8 kB / 1.165 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.8672, allocations: 169 kB / 1.166 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of SimCode: time 9.61e-07/0.8672, allocations: 3.938 kB / 1.166 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.8973, allocations: 12.98 MB / 1.178 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.8976, allocations: 233.5 kB / 1.178 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.289, allocations: 2.812 kB / 1.178 GB, free: 9.074 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)