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.001033/0.001033, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005079/0.005079, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.198/1.198, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.487/1.487, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0004377/0.0004377, allocations: 17.59 kB / 0.6744 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.4652/0.6312, allocations: 171.5 MB / 0.9554 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006797/0.638, allocations: 8.586 MB / 0.9638 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.6383, allocations: 16.22 kB / 0.9638 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.6388, allocations: 242.6 kB / 0.9641 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.6393, allocations: 295 kB / 0.9643 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.6399, allocations: 335.8 kB / 0.9647 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.6411, allocations: 1.615 MB / 0.9662 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/0.6416, allocations: 487.9 kB / 0.9667 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003201/0.6448, allocations: 1.915 MB / 0.9686 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.6452, allocations: 352.2 kB / 0.9689 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.6452, allocations: 20.94 kB / 0.9689 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.6454, allocations: 56.53 kB / 0.969 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.6455, allocations: 232.5 kB / 0.9692 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.6458, allocations: 284.4 kB / 0.9695 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.6462, allocations: 0.5899 MB / 0.9701 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6462, allocations: 7.688 kB / 0.9701 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6462, allocations: 0 / 0.9701 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.6462, allocations: 1.156 kB / 0.9701 GB, free: 14.64 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.0007521/0.647, allocations: 0.7062 MB / 0.9708 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.647, allocations: 8.906 kB / 0.9708 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.952e-05/0.6471, allocations: 96.23 kB / 0.9709 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.738e-05/0.6472, allocations: 73.16 kB / 0.9709 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.6477, allocations: 420.9 kB / 0.9713 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.6477, allocations: 37.94 kB / 0.9714 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.6478, allocations: 55.78 kB / 0.9714 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008359/0.6486, allocations: 0.7046 MB / 0.9721 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.6486, allocations: 4.938 kB / 0.9721 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.6487, allocations: 28.81 kB / 0.9721 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.6487, allocations: 30.53 kB / 0.9722 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.6493, allocations: 387.1 kB / 0.9725 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.6513, allocations: 3.232 MB / 0.9757 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.6516, allocations: 226.8 kB / 0.9759 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.6518, allocations: 135.2 kB / 0.976 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.6518, allocations: 2.375 kB / 0.976 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.6518, allocations: 54.14 kB / 0.9761 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.6518, allocations: 0 / 0.9761 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005902/0.6524, allocations: 265.7 kB / 0.9763 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.6526, allocations: 293.6 kB / 0.9766 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/0.6532, allocations: 0.6864 MB / 0.9773 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.6532, allocations: 28.36 kB / 0.9773 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.6533, allocations: 267.4 kB / 0.9776 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.6534, allocations: 37.44 kB / 0.9776 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.6534, allocations: 20.5 kB / 0.9776 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6535, allocations: 365.7 kB / 0.978 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.6536, allocations: 47.67 kB / 0.978 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.6538, allocations: 95.33 kB / 0.9781 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.654, allocations: 142.3 kB / 0.9782 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.654, allocations: 1.375 kB / 0.9782 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003106/0.6543, allocations: 196 kB / 0.9784 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.6544, allocations: 9.781 kB / 0.9784 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.6544, allocations: 2.281 kB / 0.9784 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.6544, allocations: 1.188 kB / 0.9784 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.6546, allocations: 54.02 kB / 0.9785 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6546, allocations: 5.625 kB / 0.9785 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.6548, allocations: 69.41 kB / 0.9786 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.6548, allocations: 7.094 kB / 0.9786 GB, free: 9.023 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.0001638/0.655, allocations: 199.4 kB / 0.9788 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.6552, allocations: 61.03 kB / 0.9788 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.376e-05/0.6553, allocations: 62.88 kB / 0.9789 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6553, allocations: 6.438 kB / 0.9789 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6553, allocations: 5.719 kB / 0.9789 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6553, allocations: 2.219 kB / 0.9789 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.6564, allocations: 1.298 MB / 0.9802 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6564, allocations: 2.156 kB / 0.9802 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.6566, allocations: 64.2 kB / 0.9802 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6566, allocations: 3.75 kB / 0.9802 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.6567, allocations: 3.875 kB / 0.9802 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6567, allocations: 5.828 kB / 0.9802 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6567, allocations: 3.469 kB / 0.9802 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.657, allocations: 357.3 kB / 0.9806 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.6571, allocations: 142.7 kB / 0.9807 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.6572, allocations: 3.531 kB / 0.9807 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.6574, allocations: 24.05 kB / 0.9808 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.6574, allocations: 16.77 kB / 0.9808 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.6574, allocations: 9 kB / 0.9808 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004407/0.6579, allocations: 0.4899 MB / 0.9813 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6579, allocations: 1.031 kB / 0.9813 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000318/0.6582, allocations: 84.31 kB / 0.9813 GB, free: 7.102 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.0006743/0.6589, allocations: 0.9197 MB / 0.9822 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.6591, allocations: 118.3 kB / 0.9823 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6591, allocations: 0 / 0.9823 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.6593, allocations: 75.55 kB / 0.9824 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6606, allocations: 269.5 kB / 0.9827 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.6649, allocations: 4.704 MB / 0.9873 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.6653, allocations: 0.9066 MB / 0.9882 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002/0.6655, allocations: 108.1 kB / 0.9883 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.6656, allocations: 174.2 kB / 0.9884 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.6656, allocations: 0 / 0.9884 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2814/0.947, allocations: 12.82 MB / 1.001 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/0.9474, allocations: 240.9 kB / 1.001 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.287, allocations: 0 / 1.001 GB, free: 12.46 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)