Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, 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.001084/0.001084, allocations: 194.6 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 290.8 kB / 290.2 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9596/0.9596, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 94.52 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1779, allocations: 86.99 MB / 0.6794 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002935/0.1809, allocations: 1.716 MB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.1817, allocations: 408.9 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.1818, allocations: 0 / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1819, allocations: 3.938 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.182, allocations: 21.38 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.1825, allocations: 108.2 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1827, allocations: 103.6 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.1829, allocations: 52.95 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.183, allocations: 47.78 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.1831, allocations: 35.84 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1832, allocations: 4 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.1834, allocations: 59.94 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.1834, allocations: 15.92 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.1835, allocations: 43.8 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1837, allocations: 123.6 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1837, allocations: 8 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1838, allocations: 0 / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1838, allocations: 0 / 0.6821 GB, free: 14.43 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006878/0.1845, allocations: 411.2 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1845, allocations: 8.031 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.1848, allocations: 32.72 kB / 0.6825 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.185, allocations: 192.2 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.029e-05/0.1851, allocations: 34.27 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1852, allocations: 12.38 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.1854, allocations: 102.1 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1855, allocations: 3.938 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1855, allocations: 0 / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1855, allocations: 4 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.1857, allocations: 81.48 kB / 0.6829 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007396/0.1865, allocations: 392.5 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.187, allocations: 134.6 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.1872, allocations: 36.84 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.1872, allocations: 0 / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1872, allocations: 42.48 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1872, allocations: 0 / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000414/0.1876, allocations: 133.7 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1877, allocations: 55.41 kB / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1878, allocations: 143.7 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1878, allocations: 29.7 kB / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.1879, allocations: 96.12 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1879, allocations: 23.64 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.188, allocations: 21.72 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1881, allocations: 322.8 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1882, allocations: 27.98 kB / 0.6843 GB, free: 11.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1883, allocations: 49.62 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1886, allocations: 82.14 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1886, allocations: 0 / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002522/0.1888, allocations: 113.5 kB / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1888, allocations: 11.94 kB / 0.6846 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1889, allocations: 0 / 0.6846 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1889, allocations: 0 / 0.6846 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.189, allocations: 19.92 kB / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.189, allocations: 4 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.1891, allocations: 27.86 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1891, allocations: 0 / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.875e-05/0.1892, allocations: 115.2 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.1893, allocations: 7.906 kB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.1893, allocations: 16.72 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1893, allocations: 7.875 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1893, allocations: 0 / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1893, allocations: 0 / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1895, allocations: 201.5 kB / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1895, allocations: 4 kB / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1897, allocations: 15.98 kB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1897, allocations: 0 / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1897, allocations: 0 / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1897, allocations: 7.938 kB / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1897, allocations: 0 / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.19, allocations: 207.4 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.19, allocations: 85.02 kB / 0.6853 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1901, allocations: 4 kB / 0.6853 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.1902, allocations: 11.92 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.1903, allocations: 11.92 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1903, allocations: 4 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.725e-05/0.1904, allocations: 99.27 kB / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1904, allocations: 0 / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1906, allocations: 31.84 kB / 0.6854 GB, free: 10.69 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 (7): * Single equations (assignments): 7 * 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.0001249/0.1908, allocations: 99.25 kB / 0.6855 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.191, allocations: 79.92 kB / 0.6856 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.191, allocations: 0 / 0.6856 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1912, allocations: 35.92 kB / 0.6856 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1916, allocations: 31.97 kB / 0.6857 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.192, allocations: 227 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1923, allocations: 0.6965 MB / 0.6866 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.504e-05/0.1924, allocations: 16.66 kB / 0.6866 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.1925, allocations: 11.44 kB / 0.6866 GB, free: 9.441 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1925, allocations: 0 / 0.6866 GB, free: 9.441 MB / 494.1 MB Notification: Performance of Templates: time 0.003747/0.1962, allocations: 1.32 MB / 0.6879 GB, free: 8.152 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)