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.001142/0.001142, allocations: 108 kB / 15.61 MB, free: 152 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.001163/0.001163, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 286.8 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9204/0.9204, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 98.16 kB / 0.5952 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1509, allocations: 86.99 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0147/0.1656, allocations: 12.96 MB / 0.6928 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1683, allocations: 2.66 MB / 0.6954 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.1684, allocations: 0 / 0.6954 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1687, allocations: 47.62 kB / 0.6955 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.169, allocations: 95.36 kB / 0.6956 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1701, allocations: 0.5032 MB / 0.6961 GB, free: 392 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.1703, allocations: 228 kB / 0.6963 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.1704, allocations: 13.53 kB / 0.6963 GB, free: 148 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00757/0.1779, allocations: 3.575 MB / 0.6998 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1781, allocations: 91.64 kB / 0.6999 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.1781, allocations: 12 kB / 0.6999 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.1804, allocations: 1.083 MB / 0.7009 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.1805, allocations: 35.89 kB / 0.701 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.1806, allocations: 79.66 kB / 0.7011 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.1812, allocations: 363.1 kB / 0.7014 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1812, allocations: 7.938 kB / 0.7014 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1812, allocations: 0 / 0.7014 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1812, allocations: 0 / 0.7014 GB, free: 10.89 MB / 0.4981 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.0006729/0.1819, allocations: 0.507 MB / 0.7019 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1819, allocations: 8.031 kB / 0.7019 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.1821, allocations: 20.75 kB / 0.7019 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.1823, allocations: 224.2 kB / 0.7021 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1823, allocations: 12.64 kB / 0.7022 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.1823, allocations: 16.38 kB / 0.7022 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.1827, allocations: 248.9 kB / 0.7024 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1827, allocations: 3.938 kB / 0.7024 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.1827, allocations: 11.98 kB / 0.7024 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.1827, allocations: 4 kB / 0.7024 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.1832, allocations: 431.3 kB / 0.7028 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1843, allocations: 0.9682 MB / 0.7038 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.1845, allocations: 163.6 kB / 0.7039 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1846, allocations: 62.14 kB / 0.704 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.186, allocations: 1.825 MB / 0.7058 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.186, allocations: 38.56 kB / 0.7058 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.186, allocations: 4 kB / 0.7058 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003281/0.1863, allocations: 147.1 kB / 0.706 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.1864, allocations: 63.28 kB / 0.706 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1865, allocations: 172 kB / 0.7062 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1866, allocations: 33.7 kB / 0.7062 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.1866, allocations: 127.8 kB / 0.7063 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.1867, allocations: 59.19 kB / 0.7064 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.1868, allocations: 49.7 kB / 0.7064 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1869, allocations: 330.8 kB / 0.7068 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.187, allocations: 35.98 kB / 0.7068 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1871, allocations: 137.7 kB / 0.7069 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1873, allocations: 201.4 kB / 0.7071 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1873, allocations: 0 / 0.7071 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003151/0.1877, allocations: 211.5 kB / 0.7073 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1877, allocations: 4.469 kB / 0.7073 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1877, allocations: 8 kB / 0.7073 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1877, allocations: 7.984 kB / 0.7073 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1879, allocations: 59.86 kB / 0.7074 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1879, allocations: 11.92 kB / 0.7074 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.188, allocations: 27.69 kB / 0.7074 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1881, allocations: 12 kB / 0.7074 GB, free: 3.977 MB / 0.4981 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.0001107/0.1882, allocations: 145.6 kB / 0.7076 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.1882, allocations: 15.81 kB / 0.7076 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.1885, allocations: 155 kB / 0.7077 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.1886, allocations: 3.938 kB / 0.7078 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1886, allocations: 0 / 0.7078 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1886, allocations: 3.984 kB / 0.7078 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1888, allocations: 217.5 kB / 0.708 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1888, allocations: 4 kB / 0.708 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/0.1889, allocations: 27.86 kB / 0.708 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1889, allocations: 4 kB / 0.708 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.189, allocations: 4 kB / 0.708 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.189, allocations: 7.938 kB / 0.708 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.189, allocations: 4 kB / 0.708 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1892, allocations: 228.7 kB / 0.7082 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.1893, allocations: 101 kB / 0.7083 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1893, allocations: 7.938 kB / 0.7083 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.1895, allocations: 15.92 kB / 0.7083 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1896, allocations: 11.98 kB / 0.7084 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.1896, allocations: 11.98 kB / 0.7084 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.413e-05/0.1897, allocations: 124 kB / 0.7085 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1897, allocations: 0 / 0.7085 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003723/0.1901, allocations: 75.94 kB / 0.7086 GB, free: 2.738 MB / 0.4981 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.0003808/0.1905, allocations: 179.2 kB / 0.7087 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.1907, allocations: 127.7 kB / 0.7089 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1907, allocations: 0 / 0.7089 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/0.1908, allocations: 47.11 kB / 0.7089 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1912, allocations: 47.91 kB / 0.7089 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.1919, allocations: 350.8 kB / 0.7093 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1922, allocations: 0.7128 MB / 0.71 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.1923, allocations: 60.59 kB / 0.71 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.1924, allocations: 23.44 kB / 0.7101 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1924, allocations: 0 / 0.7101 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of Templates: time 0.006507/0.1989, allocations: 3.642 MB / 0.7136 GB, free: 13.55 MB / 0.5137 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)