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 2.651/2.651, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001454/0.001453, allocations: 196.7 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009149/0.0009147, allocations: 78.42 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.000657, allocations: 12.98 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2207, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.905/1.126, allocations: 159.9 MB / 1.135 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01483/1.141, allocations: 8.083 MB / 1.143 GB, free: 12.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/1.142, allocations: 16.22 kB / 1.143 GB, free: 12.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/1.143, allocations: 219.5 kB / 1.143 GB, free: 12.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/1.144, allocations: 284.9 kB / 1.143 GB, free: 12.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/1.146, allocations: 295.6 kB / 1.143 GB, free: 12.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002059/1.148, allocations: 1.368 MB / 1.145 GB, free: 12.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000956/1.149, allocations: 427.5 kB / 1.145 GB, free: 12.22 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005837/1.154, allocations: 1.485 MB / 1.146 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008229/1.155, allocations: 334.4 kB / 1.147 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/1.155, allocations: 21.88 kB / 1.147 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/1.156, allocations: 51.8 kB / 1.147 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003406/1.156, allocations: 227 kB / 1.147 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/1.156, allocations: 133.5 kB / 1.147 GB, free: 11.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007354/1.157, allocations: 463.7 kB / 1.148 GB, free: 11.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.157, allocations: 0 / 1.148 GB, free: 11.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/1.157, allocations: 0 / 1.148 GB, free: 11.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.053e-05/1.157, allocations: 0 / 1.148 GB, free: 11.47 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.001462/1.159, allocations: 0.7128 MB / 1.148 GB, free: 10.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.159, allocations: 9.281 kB / 1.148 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/1.159, allocations: 106.3 kB / 1.148 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/1.159, allocations: 72.02 kB / 1.149 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/1.16, allocations: 403.4 kB / 1.149 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/1.16, allocations: 39.06 kB / 1.149 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/1.16, allocations: 53.08 kB / 1.149 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/1.162, allocations: 0.712 MB / 1.15 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/1.162, allocations: 6.031 kB / 1.15 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.481e-05/1.162, allocations: 20.09 kB / 1.15 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.458e-05/1.162, allocations: 39.31 kB / 1.15 GB, free: 10.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/1.163, allocations: 374.2 kB / 1.15 GB, free: 9.996 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/1.168, allocations: 3.237 MB / 1.153 GB, free: 7.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/1.168, allocations: 218.3 kB / 1.153 GB, free: 6.992 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/1.169, allocations: 140.3 kB / 1.154 GB, free: 6.887 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/1.169, allocations: 6.844 kB / 1.154 GB, free: 6.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/1.169, allocations: 45.11 kB / 1.154 GB, free: 6.836 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.637e-06/1.169, allocations: 1.031 kB / 1.154 GB, free: 6.836 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001197/1.17, allocations: 262.7 kB / 1.154 GB, free: 6.723 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/1.17, allocations: 292.4 kB / 1.154 GB, free: 6.375 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/1.171, allocations: 0.6811 MB / 1.155 GB, free: 6.145 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/1.171, allocations: 31.8 kB / 1.155 GB, free: 6.109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/1.172, allocations: 266.1 kB / 1.155 GB, free: 5.996 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/1.172, allocations: 32.22 kB / 1.155 GB, free: 5.973 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/1.172, allocations: 3.25 kB / 1.155 GB, free: 5.973 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.172, allocations: 379.3 kB / 1.156 GB, free: 5.633 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/1.172, allocations: 39.53 kB / 1.156 GB, free: 5.625 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/1.173, allocations: 103.1 kB / 1.156 GB, free: 5.555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/1.173, allocations: 49.75 kB / 1.156 GB, free: 5.547 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.173, allocations: 0 / 1.156 GB, free: 5.547 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006651/1.173, allocations: 200.1 kB / 1.156 GB, free: 5.453 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.173, allocations: 5.156 kB / 1.156 GB, free: 5.453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.174, allocations: 2.406 kB / 1.156 GB, free: 5.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.174, allocations: 4.375 kB / 1.156 GB, free: 5.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/1.174, allocations: 59.17 kB / 1.156 GB, free: 5.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.174, allocations: 2.125 kB / 1.156 GB, free: 5.434 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/1.174, allocations: 67.14 kB / 1.156 GB, free: 5.391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/1.175, allocations: 6.625 kB / 1.156 GB, free: 5.391 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.0003943/1.175, allocations: 204.7 kB / 1.156 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/1.175, allocations: 55.78 kB / 1.156 GB, free: 5.227 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/1.175, allocations: 59.05 kB / 1.156 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.175, allocations: 3.625 kB / 1.156 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.175, allocations: 2.781 kB / 1.156 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/1.175, allocations: 10.77 kB / 1.156 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/1.178, allocations: 1.305 MB / 1.158 GB, free: 4.086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.178, allocations: 2.5 kB / 1.158 GB, free: 4.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/1.178, allocations: 52.52 kB / 1.158 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/1.178, allocations: 7.672 kB / 1.158 GB, free: 4.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/1.178, allocations: 3.594 kB / 1.158 GB, free: 4.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/1.178, allocations: 7.094 kB / 1.158 GB, free: 4.066 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.178, allocations: 7.188 kB / 1.158 GB, free: 4.062 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/1.179, allocations: 338.4 kB / 1.158 GB, free: 3.805 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/1.179, allocations: 145.8 kB / 1.158 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/1.179, allocations: 18 kB / 1.158 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/1.18, allocations: 19.89 kB / 1.158 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/1.18, allocations: 20.86 kB / 1.158 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/1.18, allocations: 5.312 kB / 1.158 GB, free: 3.645 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000945/1.181, allocations: 0.49 MB / 1.159 GB, free: 3.473 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.181, allocations: 0 / 1.159 GB, free: 3.473 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006542/1.182, allocations: 87.22 kB / 1.159 GB, free: 3.465 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.001475/1.183, allocations: 0.9143 MB / 1.16 GB, free: 2.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005643/1.184, allocations: 113.6 kB / 1.16 GB, free: 2.629 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.184, allocations: 0 / 1.16 GB, free: 2.629 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/1.184, allocations: 64.92 kB / 1.16 GB, free: 2.613 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/1.187, allocations: 274.9 kB / 1.16 GB, free: 2.527 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007659/1.194, allocations: 3.085 MB / 1.163 GB, free: 1.102 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/1.195, allocations: 0.906 MB / 1.164 GB, free: 320 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005625/1.196, allocations: 111.6 kB / 1.164 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/1.196, allocations: 168.7 kB / 1.164 GB, free: 248 kB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.196, allocations: 0 / 1.164 GB, free: 248 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04911/1.245, allocations: 13 MB / 1.177 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/1.245, allocations: 224.7 kB / 1.177 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/4.112, allocations: 0 / 1.177 GB, free: 9.828 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)