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.0009105/0.0009106, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005197/0.005197, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.272/1.272, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004595/0.0004595, allocations: 16.06 kB / 0.6744 GB, free: 25.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1693, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01392/0.1833, allocations: 13.35 MB / 0.801 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1858, allocations: 2.629 MB / 0.8036 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.1859, allocations: 0 / 0.8036 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1861, allocations: 47.8 kB / 0.8036 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1863, allocations: 79.48 kB / 0.8037 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.1871, allocations: 438 kB / 0.8041 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.1874, allocations: 307.8 kB / 0.8044 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.1875, allocations: 13.55 kB / 0.8044 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005857/0.1933, allocations: 3.147 MB / 0.8075 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1935, allocations: 95.59 kB / 0.8076 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1935, allocations: 4 kB / 0.8076 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.1953, allocations: 0.9512 MB / 0.8085 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.1953, allocations: 31.89 kB / 0.8086 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 9.772e-05/0.1954, allocations: 109.3 kB / 0.8087 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.1959, allocations: 347.1 kB / 0.809 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1959, allocations: 3.938 kB / 0.809 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1959, allocations: 0 / 0.809 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.1959, allocations: 0 / 0.809 GB, free: 5.855 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.0006424/0.1966, allocations: 479.3 kB / 0.8095 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1966, allocations: 15.97 kB / 0.8095 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.1967, allocations: 46.73 kB / 0.8095 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1968, allocations: 32.73 kB / 0.8096 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.197, allocations: 212.1 kB / 0.8098 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.197, allocations: 12.7 kB / 0.8098 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.197, allocations: 16.38 kB / 0.8098 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.1974, allocations: 247.9 kB / 0.81 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1974, allocations: 0 / 0.81 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.1974, allocations: 12 kB / 0.81 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.1975, allocations: 4 kB / 0.81 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.1979, allocations: 431.5 kB / 0.8105 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.1989, allocations: 0.9449 MB / 0.8114 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1992, allocations: 166.3 kB / 0.8115 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1993, allocations: 64.88 kB / 0.8116 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.2006, allocations: 1.836 MB / 0.8134 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2006, allocations: 38.5 kB / 0.8134 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.2006, allocations: 0 / 0.8134 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0002973/0.2009, allocations: 148.4 kB / 0.8136 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.201, allocations: 55.41 kB / 0.8136 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2011, allocations: 171.2 kB / 0.8138 GB, free: 368 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.2012, allocations: 33.7 kB / 0.8138 GB, free: 328 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.2012, allocations: 143.8 kB / 0.814 GB, free: 180 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.2013, allocations: 51.2 kB / 0.814 GB, free: 128 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.2013, allocations: 29.7 kB / 0.814 GB, free: 92 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2015, allocations: 326.8 kB / 0.8143 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.2015, allocations: 31.98 kB / 0.8144 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2017, allocations: 145.6 kB / 0.8145 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.2019, allocations: 193.5 kB / 0.8147 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2019, allocations: 0 / 0.8147 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003074/0.2022, allocations: 212 kB / 0.8149 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2022, allocations: 8 kB / 0.8149 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2022, allocations: 7.984 kB / 0.8149 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2023, allocations: 7.938 kB / 0.8149 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.2024, allocations: 59.86 kB / 0.815 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.2025, allocations: 4.469 kB / 0.815 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2026, allocations: 31.69 kB / 0.815 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.2026, allocations: 15.98 kB / 0.815 GB, free: 14.96 MB / 0.6387 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 0.0001001/0.2027, allocations: 133.7 kB / 0.8152 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.2028, allocations: 15.81 kB / 0.8152 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.203, allocations: 154.9 kB / 0.8153 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.2031, allocations: 3.938 kB / 0.8153 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2031, allocations: 0 / 0.8153 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2031, allocations: 11.92 kB / 0.8153 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.2033, allocations: 217.5 kB / 0.8155 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2033, allocations: 0 / 0.8155 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.2034, allocations: 23.98 kB / 0.8156 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2034, allocations: 4 kB / 0.8156 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2035, allocations: 4 kB / 0.8156 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2035, allocations: 3.938 kB / 0.8156 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2035, allocations: 3.984 kB / 0.8156 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.2037, allocations: 227.2 kB / 0.8158 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.2038, allocations: 108.9 kB / 0.8159 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.2038, allocations: 4 kB / 0.8159 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.204, allocations: 15.92 kB / 0.8159 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.204, allocations: 11.98 kB / 0.8159 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.2041, allocations: 8 kB / 0.8159 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.814e-05/0.2042, allocations: 120 kB / 0.8161 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2042, allocations: 0 / 0.8161 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000362/0.2045, allocations: 75.98 kB / 0.8161 GB, free: 13.74 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.0007154/0.2053, allocations: 0.8362 MB / 0.8169 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2055, allocations: 119.7 kB / 0.8171 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2055, allocations: 0 / 0.8171 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.2056, allocations: 47.91 kB / 0.8171 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.206, allocations: 52.84 kB / 0.8172 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.2081, allocations: 2.125 MB / 0.8192 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2083, allocations: 0.7128 MB / 0.8199 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.2085, allocations: 49.75 kB / 0.82 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.2086, allocations: 43.42 kB / 0.82 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of SimCode: time 4.5e-07/0.2086, allocations: 0 / 0.82 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5114/0.72, allocations: 5.1 MB / 0.825 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003162/0.7204, allocations: 216.4 kB / 0.8252 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.709, allocations: 0 / 0.8252 GB, free: 4.363 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)