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.397/1.397, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.000835/0.0008353, allocations: 183.3 kB / 372.3 MB, free: 10.13 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.076/1.076, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0006488/0.0006488, allocations: 96.55 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 11.59 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.4122/0.5477, allocations: 159.9 MB / 1.136 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006776/0.5545, allocations: 8.09 MB / 1.144 GB, free: 13.04 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.5548, allocations: 14.22 kB / 1.144 GB, free: 13.03 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.5552, allocations: 218.6 kB / 1.144 GB, free: 12.94 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.5557, allocations: 283.1 kB / 1.145 GB, free: 12.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.5563, allocations: 303 kB / 1.145 GB, free: 12.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.5573, allocations: 1.389 MB / 1.146 GB, free: 12.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/0.5579, allocations: 493.5 kB / 1.147 GB, free: 12.37 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.561, allocations: 1.812 MB / 1.149 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.5614, allocations: 325.8 kB / 1.149 GB, free: 11.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.5614, allocations: 24.09 kB / 1.149 GB, free: 11.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.5616, allocations: 67.3 kB / 1.149 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.5618, allocations: 232.5 kB / 1.149 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.562, allocations: 267.9 kB / 1.15 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.5624, allocations: 454.2 kB / 1.15 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5624, allocations: 0 / 1.15 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5624, allocations: 1.094 kB / 1.15 GB, free: 10.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.5625, allocations: 0 / 1.15 GB, free: 10.75 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.0008016/0.5633, allocations: 0.7116 MB / 1.151 GB, free: 10.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5633, allocations: 13.52 kB / 1.151 GB, free: 10.15 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.446e-05/0.5634, allocations: 94.17 kB / 1.151 GB, free: 10.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.5635, allocations: 72.34 kB / 1.151 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.564, allocations: 418.3 kB / 1.151 GB, free: 9.742 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.564, allocations: 44.14 kB / 1.151 GB, free: 9.738 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.5641, allocations: 52.86 kB / 1.151 GB, free: 9.734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008923/0.565, allocations: 0.7042 MB / 1.152 GB, free: 9.355 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.565, allocations: 5.094 kB / 1.152 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.565, allocations: 25.56 kB / 1.152 GB, free: 9.348 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/0.5651, allocations: 33.83 kB / 1.152 GB, free: 9.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.5656, allocations: 380.5 kB / 1.152 GB, free: 9.254 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.5678, allocations: 3.242 MB / 1.156 GB, free: 6.504 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.5681, allocations: 220.7 kB / 1.156 GB, free: 6.242 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.5682, allocations: 133.4 kB / 1.156 GB, free: 6.145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.5683, allocations: 10.48 kB / 1.156 GB, free: 6.137 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5683, allocations: 43.16 kB / 1.156 GB, free: 6.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.5683, allocations: 4 kB / 1.156 GB, free: 6.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006149/0.5689, allocations: 267.3 kB / 1.156 GB, free: 5.973 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.569, allocations: 288.4 kB / 1.157 GB, free: 5.629 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/0.5697, allocations: 0.6829 MB / 1.157 GB, free: 5.391 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.5697, allocations: 33.98 kB / 1.157 GB, free: 5.355 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.5699, allocations: 266.8 kB / 1.157 GB, free: 5.242 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.5699, allocations: 39.36 kB / 1.157 GB, free: 5.211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.5699, allocations: 0 / 1.157 GB, free: 5.211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5701, allocations: 366.6 kB / 1.158 GB, free: 4.883 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.5702, allocations: 39.03 kB / 1.158 GB, free: 4.875 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.5703, allocations: 102.4 kB / 1.158 GB, free: 4.809 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.5706, allocations: 138.3 kB / 1.158 GB, free: 4.734 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5706, allocations: 0 / 1.158 GB, free: 4.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003179/0.5709, allocations: 196.8 kB / 1.158 GB, free: 4.645 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5709, allocations: 9.312 kB / 1.158 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5709, allocations: 1.969 kB / 1.158 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.571, allocations: 1.219 kB / 1.158 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.5712, allocations: 59.27 kB / 1.158 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5712, allocations: 2.906 kB / 1.158 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.5714, allocations: 64.98 kB / 1.158 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.5714, allocations: 10.98 kB / 1.158 GB, free: 4.578 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.0001793/0.5716, allocations: 205.1 kB / 1.159 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.5718, allocations: 59.84 kB / 1.159 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.5719, allocations: 60.66 kB / 1.159 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5719, allocations: 3.156 kB / 1.159 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5719, allocations: 3.5 kB / 1.159 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5719, allocations: 1.969 kB / 1.159 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5731, allocations: 1.309 MB / 1.16 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5731, allocations: 2.312 kB / 1.16 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.5733, allocations: 57.3 kB / 1.16 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.5733, allocations: 2.594 kB / 1.16 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5733, allocations: 3.469 kB / 1.16 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5733, allocations: 3.188 kB / 1.16 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5733, allocations: 2.188 kB / 1.16 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.5737, allocations: 355.3 kB / 1.16 GB, free: 2.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.5738, allocations: 145.6 kB / 1.161 GB, free: 2.852 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.5739, allocations: 8.062 kB / 1.161 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.574, allocations: 23.17 kB / 1.161 GB, free: 2.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.5741, allocations: 15.39 kB / 1.161 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.5741, allocations: 4.375 kB / 1.161 GB, free: 2.832 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005159/0.5746, allocations: 0.4895 MB / 1.161 GB, free: 2.664 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5746, allocations: 0 / 1.161 GB, free: 2.664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003248/0.5749, allocations: 88.72 kB / 1.161 GB, free: 2.652 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.0007408/0.5757, allocations: 0.9134 MB / 1.162 GB, free: 1.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.576, allocations: 111 kB / 1.162 GB, free: 1.812 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.576, allocations: 4.125 kB / 1.162 GB, free: 1.809 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.5761, allocations: 65.28 kB / 1.162 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.5775, allocations: 283.9 kB / 1.163 GB, free: 1.695 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.5811, allocations: 3.1 MB / 1.166 GB, free: 192 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.5815, allocations: 0.9017 MB / 1.166 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00022/0.5817, allocations: 99.56 kB / 1.167 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.5819, allocations: 170.1 kB / 1.167 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.5819, allocations: 5.219 kB / 1.167 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3224/0.9043, allocations: 13.13 MB / 1.18 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.9045, allocations: 238.3 kB / 1.18 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/3.048, allocations: 0 / 1.18 GB, free: 8.711 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)