Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.0009851/0.0009851, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009186/0.0009187, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.182/1.182, allocations: 205.1 MB / 222 MB, free: 4.742 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.503/1.503, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001325/0.001325, allocations: 65.73 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1783, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0137/0.192, allocations: 13.85 MB / 0.7963 GB, free: 16 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1943, allocations: 2.668 MB / 0.7989 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.1944, allocations: 4 kB / 0.7989 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.1946, allocations: 31.81 kB / 0.799 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1948, allocations: 91.47 kB / 0.799 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.1956, allocations: 441.5 kB / 0.7995 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1958, allocations: 307.8 kB / 0.7998 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.1959, allocations: 13.56 kB / 0.7998 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006295/0.2022, allocations: 3.146 MB / 0.8028 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2023, allocations: 95.59 kB / 0.8029 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.2023, allocations: 8 kB / 0.8029 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.2041, allocations: 0.9476 MB / 0.8039 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.2041, allocations: 35.89 kB / 0.8039 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.574e-05/0.2042, allocations: 79.64 kB / 0.804 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.2047, allocations: 355.1 kB / 0.8043 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2047, allocations: 0 / 0.8043 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.02e-07/0.2047, allocations: 0 / 0.8043 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.2047, allocations: 0 / 0.8043 GB, free: 7.805 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006021/0.2053, allocations: 0.5031 MB / 0.8048 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2054, allocations: 16.03 kB / 0.8048 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.2054, allocations: 50.73 kB / 0.8049 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2056, allocations: 24.75 kB / 0.8049 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.2057, allocations: 212.1 kB / 0.8051 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2058, allocations: 8.703 kB / 0.8051 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2058, allocations: 16.38 kB / 0.8051 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.2061, allocations: 259.9 kB / 0.8054 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2061, allocations: 3.984 kB / 0.8054 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.2062, allocations: 12 kB / 0.8054 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.2062, allocations: 4 kB / 0.8054 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.2066, allocations: 427.5 kB / 0.8058 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.2076, allocations: 0.9527 MB / 0.8067 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.2078, allocations: 161.9 kB / 0.8069 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.2079, allocations: 64.89 kB / 0.8069 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.2091, allocations: 1.833 MB / 0.8087 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.2091, allocations: 38.5 kB / 0.8088 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.2091, allocations: 0 / 0.8088 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0002872/0.2094, allocations: 148.4 kB / 0.8089 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.2095, allocations: 55.41 kB / 0.809 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2096, allocations: 175.3 kB / 0.8091 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2096, allocations: 29.7 kB / 0.8092 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.2097, allocations: 135.8 kB / 0.8093 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.2097, allocations: 55.2 kB / 0.8093 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.2098, allocations: 53.69 kB / 0.8094 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.2099, allocations: 330.8 kB / 0.8097 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.21, allocations: 35.98 kB / 0.8097 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.2101, allocations: 137.7 kB / 0.8099 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.2103, allocations: 201.5 kB / 0.8101 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2103, allocations: 0 / 0.8101 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002897/0.2106, allocations: 224.4 kB / 0.8103 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2106, allocations: 8 kB / 0.8103 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2106, allocations: 4 kB / 0.8103 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2106, allocations: 11.88 kB / 0.8103 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.2108, allocations: 59.91 kB / 0.8104 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2108, allocations: 4 kB / 0.8104 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2109, allocations: 28.22 kB / 0.8104 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2109, allocations: 12 kB / 0.8104 GB, free: 0.8359 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.741e-05/0.211, allocations: 141.6 kB / 0.8105 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.2111, allocations: 15.81 kB / 0.8106 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.2114, allocations: 158.9 kB / 0.8107 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.2114, allocations: 3.938 kB / 0.8107 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2114, allocations: 0 / 0.8107 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2114, allocations: 0 / 0.8107 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.2116, allocations: 225.4 kB / 0.8109 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2116, allocations: 0 / 0.8109 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.2117, allocations: 23.98 kB / 0.8109 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2117, allocations: 4 kB / 0.8109 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2117, allocations: 4 kB / 0.811 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2117, allocations: 3.938 kB / 0.811 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2117, allocations: 0 / 0.811 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.212, allocations: 219.4 kB / 0.8112 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.2121, allocations: 116.8 kB / 0.8113 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.2121, allocations: 4 kB / 0.8113 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.2123, allocations: 7.938 kB / 0.8113 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.2123, allocations: 11.98 kB / 0.8113 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2123, allocations: 11.98 kB / 0.8113 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.21e-05/0.2124, allocations: 120 kB / 0.8114 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2124, allocations: 0 / 0.8114 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003368/0.2127, allocations: 68 kB / 0.8115 GB, free: 15.62 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006/0.2133, allocations: 0.8515 MB / 0.8123 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.2135, allocations: 115.7 kB / 0.8124 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2136, allocations: 0 / 0.8124 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.2136, allocations: 47.92 kB / 0.8125 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.214, allocations: 57.77 kB / 0.8125 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.2159, allocations: 2.066 MB / 0.8145 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2161, allocations: 0.7129 MB / 0.8152 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.2163, allocations: 57.61 kB / 0.8153 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.2164, allocations: 43.42 kB / 0.8153 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.2164, allocations: 0 / 0.8153 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.94/1.156, allocations: 5.169 MB / 0.8204 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000333/1.157, allocations: 218.4 kB / 0.8206 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/3.01, allocations: 0 / 0.8206 GB, free: 6.184 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)