Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001352/0.001352, allocations: 196.7 kB / 16.14 MB, free: 6.121 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 275 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 91.86 kB / 0.5945 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1854, allocations: 86.99 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002423/0.1879, allocations: 1.465 MB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009225/0.1889, allocations: 0.6012 MB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.1889, allocations: 0 / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.1889, allocations: 3.938 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.651e-05/0.189, allocations: 8 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.1893, allocations: 87.62 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.1894, allocations: 27.86 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.698e-05/0.1895, allocations: 4 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.432e-05/0.1895, allocations: 8 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.1895, allocations: 11.92 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.477e-06/0.1896, allocations: 0 / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.1898, allocations: 159.7 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.1898, allocations: 0 / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.1899, allocations: 15.92 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1901, allocations: 88.11 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1901, allocations: 7.938 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.1901, allocations: 0 / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.1901, allocations: 0 / 0.6819 GB, free: 14.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004354/0.1905, allocations: 359.5 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.1906, allocations: 8.031 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.191, allocations: 36.81 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1912, allocations: 164.3 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.1912, allocations: 384 / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1912, allocations: 8.359 kB / 0.6824 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.1914, allocations: 62.2 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1915, allocations: 4.188 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1915, allocations: 3.938 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1915, allocations: 0 / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.1917, allocations: 51.94 kB / 0.6825 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.1922, allocations: 276.9 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1924, allocations: 58.47 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1926, allocations: 32.89 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1926, allocations: 4 kB / 0.6829 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1927, allocations: 34.56 kB / 0.6829 GB, free: 13.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1927, allocations: 0 / 0.6829 GB, free: 13.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005293/0.1932, allocations: 125.4 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1932, allocations: 55.53 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.1933, allocations: 97.86 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1933, allocations: 25.7 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.1934, allocations: 84.12 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1934, allocations: 7.906 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.1934, allocations: 13.72 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1936, allocations: 318.8 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1937, allocations: 31.91 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1939, allocations: 27.98 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.1941, allocations: 56.86 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1941, allocations: 4 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003166/0.1944, allocations: 93.52 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1945, allocations: 7.984 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1945, allocations: 0 / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1945, allocations: 0 / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.1946, allocations: 16.02 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1946, allocations: 0 / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.944e-05/0.1948, allocations: 11.98 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1948, allocations: 0 / 0.6838 GB, free: 12.45 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 8.74e-05/0.1949, allocations: 111.1 kB / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.1949, allocations: 4.188 kB / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.1949, allocations: 19.09 kB / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.195, allocations: 0 / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.195, allocations: 0 / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.195, allocations: 0 / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1951, allocations: 165.6 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1951, allocations: 0 / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1953, allocations: 11.98 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1953, allocations: 0 / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1953, allocations: 3.984 kB / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1953, allocations: 0 / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1953, allocations: 7.938 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.1957, allocations: 183.4 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.1957, allocations: 85 kB / 0.6844 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1957, allocations: 0 / 0.6844 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1959, allocations: 8.031 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.1959, allocations: 7.984 kB / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1959, allocations: 4 kB / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.445e-05/0.196, allocations: 83.22 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.196, allocations: 0 / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1962, allocations: 16 kB / 0.6845 GB, free: 11.66 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.0001739/0.1964, allocations: 115.1 kB / 0.6846 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.1967, allocations: 59.88 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1968, allocations: 0 / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1969, allocations: 35.95 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1972, allocations: 12.06 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.1977, allocations: 132.4 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1979, allocations: 0.677 MB / 0.6855 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.434e-05/0.198, allocations: 12 kB / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.1981, allocations: 15.42 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1981, allocations: 0 / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.002749/0.2008, allocations: 0.7127 MB / 0.6862 GB, free: 9.84 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)