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.0012/0.0012, allocations: 105.4 kB / 15.7 MB, free: 28 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.001245/0.001245, allocations: 194.3 kB / 16.64 MB, free: 6.48 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.328/1.328, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.623/1.623, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00195/0.001951, allocations: 67.95 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2221, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.5936/0.8157, allocations: 176 MB / 0.9555 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008531/0.8243, allocations: 8.707 MB / 0.964 GB, free: 372 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.8254, allocations: 24.75 kB / 0.964 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009082/0.8263, allocations: 299.8 kB / 0.9643 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009767/0.8274, allocations: 303.3 kB / 0.9646 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.8284, allocations: 370.9 kB / 0.9649 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.8296, allocations: 1.153 MB / 0.9661 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008038/0.8305, allocations: 0.6056 MB / 0.9667 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/0.8351, allocations: 2.06 MB / 0.9687 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.8357, allocations: 343.8 kB / 0.969 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.943e-05/0.8358, allocations: 39.88 kB / 0.969 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.836, allocations: 88.67 kB / 0.9691 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.8363, allocations: 256.7 kB / 0.9694 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.8366, allocations: 287 kB / 0.9696 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007594/0.8374, allocations: 0.6414 MB / 0.9703 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8374, allocations: 0 / 0.9703 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8374, allocations: 4 kB / 0.9703 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.8374, allocations: 1.094 kB / 0.9703 GB, free: 15.28 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.0009944/0.8384, allocations: 0.8228 MB / 0.9711 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.8384, allocations: 12.34 kB / 0.9711 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.638e-05/0.8385, allocations: 97.88 kB / 0.9712 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.8387, allocations: 72.03 kB / 0.9713 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006625/0.8393, allocations: 445.8 kB / 0.9717 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.8394, allocations: 40.91 kB / 0.9717 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.8394, allocations: 54.22 kB / 0.9718 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/0.8404, allocations: 0.7007 MB / 0.9725 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.8404, allocations: 1.062 kB / 0.9725 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.8405, allocations: 22.67 kB / 0.9725 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.8405, allocations: 38.59 kB / 0.9725 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.8411, allocations: 375.5 kB / 0.9729 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.8434, allocations: 3.214 MB / 0.976 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.8437, allocations: 222.1 kB / 0.9762 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.8439, allocations: 124.5 kB / 0.9763 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.8439, allocations: 10.69 kB / 0.9764 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.8439, allocations: 43.98 kB / 0.9764 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.8439, allocations: 4 kB / 0.9764 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006699/0.8446, allocations: 246.1 kB / 0.9766 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.8447, allocations: 296 kB / 0.9769 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.8455, allocations: 0.684 MB / 0.9776 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.8455, allocations: 28.05 kB / 0.9776 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.8457, allocations: 270.5 kB / 0.9779 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.8458, allocations: 37.11 kB / 0.9779 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.8458, allocations: 29.86 kB / 0.9779 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.846, allocations: 368.4 kB / 0.9783 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.8461, allocations: 42.38 kB / 0.9783 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.8463, allocations: 93.45 kB / 0.9784 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.8465, allocations: 132.7 kB / 0.9785 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8465, allocations: 0 / 0.9785 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003371/0.8469, allocations: 190.1 kB / 0.9787 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8469, allocations: 5.953 kB / 0.9787 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.8469, allocations: 5.469 kB / 0.9787 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.8469, allocations: 2.875 kB / 0.9787 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.8471, allocations: 42.11 kB / 0.9788 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8472, allocations: 1.656 kB / 0.9788 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.8474, allocations: 60.08 kB / 0.9788 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.8474, allocations: 13.91 kB / 0.9788 GB, free: 9.98 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.0001888/0.8476, allocations: 202.1 kB / 0.979 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.8478, allocations: 56.47 kB / 0.9791 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.098e-05/0.8479, allocations: 65.27 kB / 0.9792 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8479, allocations: 3.25 kB / 0.9792 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.8479, allocations: 3.312 kB / 0.9792 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.8479, allocations: 3.938 kB / 0.9792 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.8492, allocations: 1.303 MB / 0.9804 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.8492, allocations: 1.531 kB / 0.9804 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.8494, allocations: 50.86 kB / 0.9805 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.8494, allocations: 2.844 kB / 0.9805 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.8494, allocations: 7.672 kB / 0.9805 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8494, allocations: 3.219 kB / 0.9805 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8494, allocations: 5.938 kB / 0.9805 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.8498, allocations: 341.4 kB / 0.9808 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.8499, allocations: 145.7 kB / 0.981 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.85, allocations: 2.875 kB / 0.981 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.8502, allocations: 13.81 kB / 0.981 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.8502, allocations: 20.33 kB / 0.981 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.8502, allocations: 2.844 kB / 0.981 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005026/0.8507, allocations: 0.4987 MB / 0.9815 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8507, allocations: 0 / 0.9815 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003889/0.8511, allocations: 81.88 kB / 0.9816 GB, free: 8.082 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.0007977/0.8519, allocations: 0.9127 MB / 0.9825 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.8522, allocations: 109.9 kB / 0.9826 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8522, allocations: 3.406 kB / 0.9826 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.8524, allocations: 58.95 kB / 0.9826 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.8536, allocations: 281.4 kB / 0.9829 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.8585, allocations: 4.434 MB / 0.9872 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.859, allocations: 0.9138 MB / 0.9881 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003188/0.8593, allocations: 103.5 kB / 0.9882 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.8595, allocations: 175 kB / 0.9884 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.8595, allocations: 0 / 0.9884 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.8897, allocations: 13.47 MB / 1.002 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.762, allocations: 2.969 kB / 1.002 GB, free: 12.75 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)