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.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 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.001146/0.001146, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.217/1.217, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.535/1.535, 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.00126/0.00126, allocations: 64.88 kB / 0.6716 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1619, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01278/0.1747, allocations: 12.96 MB / 0.7961 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.177, allocations: 2.648 MB / 0.7987 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.1771, allocations: 0 / 0.7987 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.1773, allocations: 47.67 kB / 0.7987 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1775, allocations: 103.4 kB / 0.7988 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.1783, allocations: 490.8 kB / 0.7993 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1785, allocations: 228 kB / 0.7995 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.1786, allocations: 13.55 kB / 0.7995 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006402/0.185, allocations: 3.574 MB / 0.803 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1851, allocations: 83.73 kB / 0.8031 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1851, allocations: 11.94 kB / 0.8031 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.1869, allocations: 1.045 MB / 0.8041 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.1869, allocations: 43.88 kB / 0.8042 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.187, allocations: 71.67 kB / 0.8043 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.1875, allocations: 359 kB / 0.8046 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1875, allocations: 0 / 0.8046 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1875, allocations: 0 / 0.8046 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1875, allocations: 0 / 0.8046 GB, free: 7.668 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.000583/0.1881, allocations: 0.4915 MB / 0.8051 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1881, allocations: 8.031 kB / 0.8051 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.1882, allocations: 58.67 kB / 0.8051 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1883, allocations: 20.75 kB / 0.8052 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1885, allocations: 212.1 kB / 0.8054 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1885, allocations: 20.69 kB / 0.8054 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1885, allocations: 16.38 kB / 0.8054 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.1888, allocations: 247.9 kB / 0.8056 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1889, allocations: 3.984 kB / 0.8056 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1889, allocations: 8 kB / 0.8056 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.1889, allocations: 11.98 kB / 0.8057 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.1893, allocations: 427.5 kB / 0.8061 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.1902, allocations: 0.9604 MB / 0.807 GB, free: 5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1905, allocations: 159.7 kB / 0.8072 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.1906, allocations: 64.17 kB / 0.8072 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.1917, allocations: 1.829 MB / 0.809 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1918, allocations: 42.56 kB / 0.809 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.1918, allocations: 0 / 0.809 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0002862/0.1921, allocations: 149.3 kB / 0.8092 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.1921, allocations: 55.41 kB / 0.8092 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1922, allocations: 165.5 kB / 0.8094 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1922, allocations: 29.7 kB / 0.8094 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.1923, allocations: 135.8 kB / 0.8096 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1923, allocations: 67.12 kB / 0.8096 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.1924, allocations: 53.69 kB / 0.8097 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.1925, allocations: 326.8 kB / 0.81 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/0.1926, allocations: 31.98 kB / 0.81 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1927, allocations: 141.7 kB / 0.8101 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.1929, allocations: 196.5 kB / 0.8103 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1929, allocations: 4 kB / 0.8103 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002788/0.1932, allocations: 217.4 kB / 0.8105 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1932, allocations: 8 kB / 0.8106 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1932, allocations: 7.984 kB / 0.8106 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1932, allocations: 7.938 kB / 0.8106 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1934, allocations: 59.84 kB / 0.8106 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1934, allocations: 8 kB / 0.8106 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.1935, allocations: 27.69 kB / 0.8107 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1935, allocations: 8 kB / 0.8107 GB, free: 0.7148 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 8.449e-05/0.1936, allocations: 137.9 kB / 0.8108 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.1936, allocations: 19.8 kB / 0.8108 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.1939, allocations: 150.9 kB / 0.811 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.1939, allocations: 7.938 kB / 0.811 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1939, allocations: 0 / 0.811 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1939, allocations: 0 / 0.811 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.1941, allocations: 225.4 kB / 0.8112 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1941, allocations: 0 / 0.8112 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.1942, allocations: 23.98 kB / 0.8112 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1942, allocations: 0 / 0.8112 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1942, allocations: 12 kB / 0.8112 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1943, allocations: 3.938 kB / 0.8112 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1943, allocations: 0 / 0.8112 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1945, allocations: 222.4 kB / 0.8114 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.1946, allocations: 108.9 kB / 0.8115 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1946, allocations: 4 kB / 0.8115 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.1948, allocations: 11.94 kB / 0.8116 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1948, allocations: 11.98 kB / 0.8116 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.1948, allocations: 15.98 kB / 0.8116 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.1949, allocations: 118.1 kB / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.1949, allocations: 0 / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003288/0.1952, allocations: 75.94 kB / 0.8118 GB, free: 15.5 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.0006013/0.1958, allocations: 0.837 MB / 0.8126 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.196, allocations: 124.6 kB / 0.8127 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.196, allocations: 4.062 kB / 0.8127 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.873e-05/0.1961, allocations: 50.11 kB / 0.8128 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1965, allocations: 58.23 kB / 0.8128 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.1982, allocations: 2.024 MB / 0.8148 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.1984, allocations: 0.709 MB / 0.8155 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.1986, allocations: 49.73 kB / 0.8155 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.1987, allocations: 43.42 kB / 0.8156 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.1987, allocations: 4 kB / 0.8156 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.09/1.289, allocations: 5.373 MB / 0.8208 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.999, allocations: 6.688 kB / 0.8208 GB, free: 6.133 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)