Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, 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.001032/0.001032, allocations: 192.4 kB / 16.14 MB, free: 6.707 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 282.1 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9547/0.9547, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 88.53 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1834, allocations: 86.99 MB / 0.6794 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002751/0.1862, allocations: 1.348 MB / 0.6808 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.1871, allocations: 0.5721 MB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.302e-05/0.1872, allocations: 4.469 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.1872, allocations: 0.6562 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.1872, allocations: 13.61 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.1875, allocations: 75.7 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.039e-05/0.1876, allocations: 23.86 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.1877, allocations: 2.969 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.1877, allocations: 4 kB / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.1877, allocations: 11.94 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1878, allocations: 0 / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.1881, allocations: 151.7 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.1881, allocations: 8 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.1881, allocations: 4 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1883, allocations: 92 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1883, allocations: 0.7812 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1883, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1884, allocations: 0.875 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004693/0.1888, allocations: 340.2 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1889, allocations: 12.56 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/0.1894, allocations: 26.95 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.1895, allocations: 168.3 kB / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1896, allocations: 384 / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1896, allocations: 8.375 kB / 0.6822 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1897, allocations: 46.22 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1898, allocations: 192 / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1898, allocations: 3.938 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1898, allocations: 0 / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1899, allocations: 31.84 kB / 0.6823 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.1901, allocations: 157.7 kB / 0.6825 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1902, allocations: 42.59 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.1903, allocations: 16.91 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1903, allocations: 0 / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1904, allocations: 38.56 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1904, allocations: 0 / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002826/0.1907, allocations: 85.45 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.1907, allocations: 51.41 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.1908, allocations: 97.84 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1908, allocations: 25.7 kB / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.1908, allocations: 84.27 kB / 0.6829 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1909, allocations: 19.83 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.1909, allocations: 17.7 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.191, allocations: 310.8 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.1911, allocations: 15.98 kB / 0.6832 GB, free: 13.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.1911, allocations: 8 kB / 0.6832 GB, free: 13.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1913, allocations: 36.89 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1913, allocations: 0 / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001615/0.1915, allocations: 57.61 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1915, allocations: 8 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1915, allocations: 3.938 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1915, allocations: 4.031 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1916, allocations: 7.984 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1916, allocations: 0 / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.1917, allocations: 4 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1917, allocations: 4 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 7.623e-05/0.1918, allocations: 119.1 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.1918, allocations: 0 / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1919, allocations: 11.06 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1919, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1919, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1919, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.192, allocations: 153.7 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.192, allocations: 7.938 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.1921, allocations: 7.984 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1921, allocations: 0 / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1921, allocations: 3.938 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1921, allocations: 3.938 kB / 0.6836 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1921, allocations: 7.984 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.1923, allocations: 85.02 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.1924, allocations: 81.09 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1924, allocations: 7.938 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.953e-05/0.1925, allocations: 0 / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.1925, allocations: 4.031 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1925, allocations: 4 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.1926, allocations: 87.2 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1926, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002019/0.1928, allocations: 16 kB / 0.6839 GB, free: 12.28 MB / 494.1 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001915/0.193, allocations: 107.2 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1932, allocations: 35.91 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1932, allocations: 0 / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.56e-05/0.1933, allocations: 15.98 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1935, allocations: 4 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.1938, allocations: 128.4 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1941, allocations: 0.6731 MB / 0.6849 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.1942, allocations: 8 kB / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1942, allocations: 11.42 kB / 0.6849 GB, free: 11.24 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1942, allocations: 4 kB / 0.6849 GB, free: 11.24 MB / 494.1 MB Notification: Performance of Templates: time 0.002971/0.1972, allocations: 0.7071 MB / 0.6856 GB, free: 10.55 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)