Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 109.8 kB / 15.99 MB, free: 6.348 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.001145/0.001145, allocations: 191.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001933, allocations: 285.2 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8739/0.8739, allocations: 169.2 MB / 0.4985 GB, free: 4.652 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001618, allocations: 88.58 kB / 0.5953 GB, free: 4.484 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1565, allocations: 86.98 MB / 0.6803 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01429/0.1709, allocations: 13.1 MB / 0.6931 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.1735, allocations: 2.656 MB / 0.6957 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-05/0.1736, allocations: 0 / 0.6957 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1739, allocations: 47.73 kB / 0.6957 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.1741, allocations: 87.48 kB / 0.6958 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1753, allocations: 469.7 kB / 0.6962 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1755, allocations: 232 kB / 0.6965 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.1755, allocations: 21.53 kB / 0.6965 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006967/0.1825, allocations: 3.367 MB / 0.6998 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1827, allocations: 95.59 kB / 0.6999 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1827, allocations: 8 kB / 0.6999 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.185, allocations: 1.03 MB / 0.7009 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.1851, allocations: 39.88 kB / 0.7009 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.1852, allocations: 79.66 kB / 0.701 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.1856, allocations: 255.4 kB / 0.7012 GB, free: 7.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1856, allocations: 3.984 kB / 0.7012 GB, free: 7.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1856, allocations: 0 / 0.7012 GB, free: 7.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1856, allocations: 0 / 0.7012 GB, free: 7.945 MB / 0.545 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.0006776/0.1863, allocations: 0.4954 MB / 0.7017 GB, free: 7.402 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1864, allocations: 11.97 kB / 0.7017 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.1865, allocations: 24.75 kB / 0.7018 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.1867, allocations: 220.1 kB / 0.702 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1867, allocations: 12.7 kB / 0.702 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1868, allocations: 16.38 kB / 0.702 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.1871, allocations: 248.2 kB / 0.7022 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1871, allocations: 0 / 0.7022 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1872, allocations: 8 kB / 0.7022 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.1872, allocations: 4 kB / 0.7022 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.1877, allocations: 431.5 kB / 0.7027 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1887, allocations: 0.9759 MB / 0.7036 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.189, allocations: 158.8 kB / 0.7038 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.1891, allocations: 56.89 kB / 0.7038 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.1904, allocations: 1.829 MB / 0.7056 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1904, allocations: 42.5 kB / 0.7056 GB, free: 2.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.1904, allocations: 0 / 0.7056 GB, free: 2.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003184/0.1907, allocations: 149.4 kB / 0.7058 GB, free: 2.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.1908, allocations: 55.34 kB / 0.7058 GB, free: 2.648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1909, allocations: 175.2 kB / 0.706 GB, free: 2.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.191, allocations: 25.7 kB / 0.706 GB, free: 2.434 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.191, allocations: 135.8 kB / 0.7062 GB, free: 2.297 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1911, allocations: 55.28 kB / 0.7062 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.1911, allocations: 57.61 kB / 0.7063 GB, free: 2.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1913, allocations: 322.8 kB / 0.7066 GB, free: 1.855 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.1913, allocations: 35.98 kB / 0.7066 GB, free: 1.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1915, allocations: 147.1 kB / 0.7067 GB, free: 1.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1917, allocations: 196.7 kB / 0.7069 GB, free: 1.391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1917, allocations: 4 kB / 0.7069 GB, free: 1.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002986/0.192, allocations: 217.5 kB / 0.7071 GB, free: 1.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.192, allocations: 8 kB / 0.7071 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.192, allocations: 11.92 kB / 0.7072 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1921, allocations: 4 kB / 0.7072 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1922, allocations: 55.86 kB / 0.7072 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1922, allocations: 8 kB / 0.7072 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1924, allocations: 31.67 kB / 0.7073 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.1924, allocations: 15.98 kB / 0.7073 GB, free: 1.035 MB / 0.545 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.0001134/0.1925, allocations: 136.2 kB / 0.7074 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.1925, allocations: 11.91 kB / 0.7074 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.1928, allocations: 164.7 kB / 0.7076 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.1929, allocations: 3.938 kB / 0.7076 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1929, allocations: 0 / 0.7076 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1929, allocations: 7.922 kB / 0.7076 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.1931, allocations: 209.6 kB / 0.7078 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1931, allocations: 4 kB / 0.7078 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.1932, allocations: 19.98 kB / 0.7078 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1932, allocations: 4 kB / 0.7078 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1932, allocations: 11.94 kB / 0.7078 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1932, allocations: 3.938 kB / 0.7078 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1932, allocations: 0 / 0.7078 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1935, allocations: 222.6 kB / 0.708 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.1935, allocations: 108.9 kB / 0.7081 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1936, allocations: 3.984 kB / 0.7081 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.1938, allocations: 19.94 kB / 0.7082 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.1938, allocations: 15.92 kB / 0.7082 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.1938, allocations: 11.98 kB / 0.7082 GB, free: 0 / 0.545 GB Notification: Performance of sorting global known variables: time 0.2472/0.441, allocations: 119.8 kB / 0.7083 GB, free: 63.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4411, allocations: 0 / 0.7083 GB, free: 63.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005843/0.4417, allocations: 73.36 kB / 0.7084 GB, free: 63.45 MB / 0.545 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.0003951/0.4421, allocations: 185.9 kB / 0.7085 GB, free: 63.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.4424, allocations: 127.7 kB / 0.7087 GB, free: 63.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4424, allocations: 1.75 kB / 0.7087 GB, free: 63.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.4424, allocations: 49.98 kB / 0.7087 GB, free: 63.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.4429, allocations: 54.73 kB / 0.7088 GB, free: 63.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.4436, allocations: 421.3 kB / 0.7092 GB, free: 63.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.4437, allocations: 0.7117 MB / 0.7099 GB, free: 62.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.4438, allocations: 28.83 kB / 0.7099 GB, free: 62.43 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4438, allocations: 1.625 kB / 0.7099 GB, free: 62.43 MB / 0.545 GB Notification: Performance of Templates: time 0.004286/0.4481, allocations: 3.426 MB / 0.7132 GB, free: 62.14 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)