Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.608/1.608, allocations: 287.4 MB / 302.5 MB, free: 8.262 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.0009014/0.0009014, allocations: 186.6 kB / 371.1 MB, free: 10.83 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.366/1.366, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007098/0.0007098, allocations: 96.38 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003178, allocations: 14.81 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.161, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.5224/0.6834, allocations: 159.9 MB / 1.135 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009128/0.6926, allocations: 8.088 MB / 1.143 GB, free: 12.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006462/0.6933, allocations: 18.53 kB / 1.143 GB, free: 12.7 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007103/0.694, allocations: 219.8 kB / 1.143 GB, free: 12.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006573/0.6947, allocations: 282.4 kB / 1.143 GB, free: 12.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008274/0.6955, allocations: 301 kB / 1.144 GB, free: 12.46 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.6966, allocations: 1.39 MB / 1.145 GB, free: 12.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.6972, allocations: 489.9 kB / 1.145 GB, free: 12.17 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.701, allocations: 1.48 MB / 1.147 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000432/0.7014, allocations: 333.5 kB / 1.147 GB, free: 11.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.7015, allocations: 21.25 kB / 1.147 GB, free: 11.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.7017, allocations: 52.56 kB / 1.147 GB, free: 11.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.7019, allocations: 234.3 kB / 1.147 GB, free: 11.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.702, allocations: 126.6 kB / 1.148 GB, free: 11.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.7025, allocations: 461.8 kB / 1.148 GB, free: 11.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7025, allocations: 1.125 kB / 1.148 GB, free: 11.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7025, allocations: 0 / 1.148 GB, free: 11.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.7025, allocations: 0 / 1.148 GB, free: 11.42 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.0009654/0.7035, allocations: 0.717 MB / 1.149 GB, free: 10.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.7035, allocations: 9.75 kB / 1.149 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.424e-05/0.7036, allocations: 96.88 kB / 1.149 GB, free: 10.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.7037, allocations: 78.84 kB / 1.149 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.7043, allocations: 410.3 kB / 1.149 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.7043, allocations: 37.47 kB / 1.149 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.7044, allocations: 54.83 kB / 1.149 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009898/0.7054, allocations: 0.7041 MB / 1.15 GB, free: 10.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.7054, allocations: 2 kB / 1.15 GB, free: 10.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.7054, allocations: 30.52 kB / 1.15 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.293e-05/0.7055, allocations: 38.52 kB / 1.15 GB, free: 10.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.7061, allocations: 379.8 kB / 1.151 GB, free: 9.922 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.7088, allocations: 3.231 MB / 1.154 GB, free: 7.184 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.709, allocations: 222.2 kB / 1.154 GB, free: 6.922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.7092, allocations: 130.4 kB / 1.154 GB, free: 6.824 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.7093, allocations: 10.77 kB / 1.154 GB, free: 6.816 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.7093, allocations: 45.75 kB / 1.154 GB, free: 6.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.7093, allocations: 0 / 1.154 GB, free: 6.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006768/0.71, allocations: 266.2 kB / 1.154 GB, free: 6.656 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.7101, allocations: 295.1 kB / 1.155 GB, free: 6.305 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.7109, allocations: 0.683 MB / 1.155 GB, free: 6.074 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.7109, allocations: 27.17 kB / 1.155 GB, free: 6.043 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.7111, allocations: 267.7 kB / 1.156 GB, free: 5.926 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.7111, allocations: 41.28 kB / 1.156 GB, free: 5.895 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.7111, allocations: 1.188 kB / 1.156 GB, free: 5.895 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7113, allocations: 366.5 kB / 1.156 GB, free: 5.566 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.7114, allocations: 47.52 kB / 1.156 GB, free: 5.551 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.7116, allocations: 99.77 kB / 1.156 GB, free: 5.488 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.7118, allocations: 144.7 kB / 1.156 GB, free: 5.406 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.7118, allocations: 1.344 kB / 1.156 GB, free: 5.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003263/0.7122, allocations: 197.5 kB / 1.156 GB, free: 5.316 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7122, allocations: 10.19 kB / 1.156 GB, free: 5.312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.7122, allocations: 1.312 kB / 1.156 GB, free: 5.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7122, allocations: 2.344 kB / 1.156 GB, free: 5.312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.7124, allocations: 52.17 kB / 1.156 GB, free: 5.297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7124, allocations: 2.25 kB / 1.156 GB, free: 5.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.7127, allocations: 69.16 kB / 1.157 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.7127, allocations: 6.469 kB / 1.157 GB, free: 5.254 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.0001906/0.7129, allocations: 201.3 kB / 1.157 GB, free: 5.121 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.7131, allocations: 59.91 kB / 1.157 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/0.7132, allocations: 67.72 kB / 1.157 GB, free: 5.062 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7132, allocations: 7.016 kB / 1.157 GB, free: 5.059 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7132, allocations: 3.688 kB / 1.157 GB, free: 5.059 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7132, allocations: 2.188 kB / 1.157 GB, free: 5.059 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.7145, allocations: 1.297 MB / 1.158 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7145, allocations: 3.156 kB / 1.158 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.7147, allocations: 57.11 kB / 1.158 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.7148, allocations: 3.312 kB / 1.158 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.7148, allocations: 6.531 kB / 1.158 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7148, allocations: 3.281 kB / 1.158 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.7148, allocations: 10.42 kB / 1.158 GB, free: 3.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.7152, allocations: 347.8 kB / 1.159 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.7153, allocations: 143.3 kB / 1.159 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.7154, allocations: 5.906 kB / 1.159 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.7156, allocations: 17.02 kB / 1.159 GB, free: 3.531 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.7156, allocations: 24.05 kB / 1.159 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7157, allocations: 5.188 kB / 1.159 GB, free: 3.516 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004941/0.7162, allocations: 499.5 kB / 1.159 GB, free: 3.348 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7162, allocations: 4.219 kB / 1.159 GB, free: 3.344 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003514/0.7165, allocations: 85.72 kB / 1.159 GB, free: 3.336 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.0008191/0.7173, allocations: 0.9155 MB / 1.16 GB, free: 2.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.7176, allocations: 115.5 kB / 1.16 GB, free: 2.488 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7176, allocations: 0 / 1.16 GB, free: 2.488 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.7178, allocations: 73.02 kB / 1.16 GB, free: 2.465 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.7192, allocations: 267.3 kB / 1.161 GB, free: 2.383 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.7231, allocations: 3.075 MB / 1.164 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.7236, allocations: 0.9095 MB / 1.165 GB, free: 180 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002634/0.7238, allocations: 103.2 kB / 1.165 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.724, allocations: 168.4 kB / 1.165 GB, free: 116 kB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.724, allocations: 3.938 kB / 1.165 GB, free: 112 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4347/1.159, allocations: 13 MB / 1.177 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/1.159, allocations: 224.6 kB / 1.178 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.735, allocations: 0 / 1.178 GB, free: 9.68 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)