Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.115/1.115, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.518/1.518, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 75.95 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1674, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.4588/0.6263, allocations: 176 MB / 0.9553 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006799/0.6331, allocations: 8.706 MB / 0.9638 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.6335, allocations: 25.09 kB / 0.9639 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.6341, allocations: 303.5 kB / 0.9641 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.6346, allocations: 305.2 kB / 0.9644 GB, free: 0 / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.6354, allocations: 374.7 kB / 0.9648 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008627/0.6363, allocations: 1.145 MB / 0.9659 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.6369, allocations: 0.5874 MB / 0.9665 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.6406, allocations: 2.062 MB / 0.9685 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.6409, allocations: 351.2 kB / 0.9688 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.641, allocations: 43.91 kB / 0.9689 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.6412, allocations: 78.67 kB / 0.9689 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.6414, allocations: 258.2 kB / 0.9692 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.6416, allocations: 290.3 kB / 0.9695 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.6422, allocations: 0.6196 MB / 0.9701 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6422, allocations: 0 / 0.9701 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6422, allocations: 0 / 0.9701 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.6422, allocations: 1.156 kB / 0.9701 GB, free: 15.15 MB / 0.7325 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.0008858/0.6431, allocations: 0.8223 MB / 0.9709 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.6431, allocations: 8.875 kB / 0.9709 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.342e-05/0.6432, allocations: 97.34 kB / 0.971 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.707e-05/0.6433, allocations: 76.28 kB / 0.9711 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.6438, allocations: 412.4 kB / 0.9714 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.6438, allocations: 39.48 kB / 0.9715 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.6439, allocations: 54.62 kB / 0.9715 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.6447, allocations: 0.7048 MB / 0.9722 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.6447, allocations: 6.094 kB / 0.9722 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.6448, allocations: 23.5 kB / 0.9723 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.6448, allocations: 37.97 kB / 0.9723 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.6454, allocations: 374.5 kB / 0.9726 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.6475, allocations: 3.237 MB / 0.9758 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.6477, allocations: 218.7 kB / 0.976 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.6479, allocations: 124.5 kB / 0.9761 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.6479, allocations: 5.938 kB / 0.9761 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.6479, allocations: 52.72 kB / 0.9762 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.648, allocations: 0 / 0.9762 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006039/0.6486, allocations: 248 kB / 0.9764 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.6487, allocations: 297 kB / 0.9767 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.6493, allocations: 0.683 MB / 0.9774 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.6493, allocations: 30.45 kB / 0.9774 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.6495, allocations: 273 kB / 0.9777 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.6495, allocations: 32.61 kB / 0.9777 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.6496, allocations: 31.64 kB / 0.9777 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6497, allocations: 372 kB / 0.9781 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.6498, allocations: 35.83 kB / 0.9781 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.65, allocations: 90.09 kB / 0.9782 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.6502, allocations: 128.5 kB / 0.9783 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6502, allocations: 0 / 0.9783 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003099/0.6505, allocations: 193.8 kB / 0.9785 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.6505, allocations: 4.875 kB / 0.9785 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6505, allocations: 6.062 kB / 0.9785 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.6506, allocations: 7.391 kB / 0.9785 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.6508, allocations: 37.72 kB / 0.9786 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.6508, allocations: 1.906 kB / 0.9786 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.651, allocations: 62.36 kB / 0.9786 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.651, allocations: 6.438 kB / 0.9786 GB, free: 9.852 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.6512, allocations: 206.8 kB / 0.9788 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.6514, allocations: 58.42 kB / 0.9789 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/0.6515, allocations: 64.14 kB / 0.9789 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.6515, allocations: 2.719 kB / 0.9789 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6515, allocations: 4.219 kB / 0.979 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6515, allocations: 2.688 kB / 0.979 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.6526, allocations: 1.297 MB / 0.9802 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6526, allocations: 2.562 kB / 0.9802 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.6528, allocations: 45.88 kB / 0.9803 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6528, allocations: 3.125 kB / 0.9803 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.6528, allocations: 4.844 kB / 0.9803 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.6529, allocations: 4.828 kB / 0.9803 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6529, allocations: 2.938 kB / 0.9803 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.6532, allocations: 344.7 kB / 0.9806 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.6533, allocations: 152.9 kB / 0.9808 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.6534, allocations: 2.844 kB / 0.9808 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.6536, allocations: 17.3 kB / 0.9808 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.6536, allocations: 15.3 kB / 0.9808 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.6536, allocations: 8.969 kB / 0.9808 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004449/0.6541, allocations: 0.4937 MB / 0.9813 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6541, allocations: 2.5 kB / 0.9813 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003323/0.6544, allocations: 85.97 kB / 0.9814 GB, free: 8.086 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007186/0.6551, allocations: 0.9068 MB / 0.9822 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.6554, allocations: 107.9 kB / 0.9824 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6554, allocations: 2.406 kB / 0.9824 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.6556, allocations: 60.94 kB / 0.9824 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.6568, allocations: 286.6 kB / 0.9827 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.6611, allocations: 4.57 MB / 0.9871 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.6615, allocations: 0.8982 MB / 0.988 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.6617, allocations: 111.5 kB / 0.9881 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.6619, allocations: 170.7 kB / 0.9883 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6619, allocations: 3.938 kB / 0.9883 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3432/1.005, allocations: 13.46 MB / 1.001 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/9.187, allocations: 10.64 kB / 1.001 GB, free: 12.65 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)