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.000879/0.0008845, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009855/0.0009855, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 271.1 kB / 291.4 MB, free: 1.836 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004463, allocations: 14.34 kB / 0.598 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1757, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001998/0.1778, allocations: 1.349 MB / 0.6858 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006516/0.1784, allocations: 376.5 kB / 0.6862 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.1785, allocations: 4.812 kB / 0.6862 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.806e-05/0.1786, allocations: 3.938 kB / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.1787, allocations: 20.69 kB / 0.6862 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.1791, allocations: 111.2 kB / 0.6863 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1793, allocations: 93.89 kB / 0.6864 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1794, allocations: 36.36 kB / 0.6864 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.1795, allocations: 31.92 kB / 0.6864 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.1796, allocations: 34.81 kB / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1796, allocations: 0 / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1797, allocations: 51.95 kB / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.1798, allocations: 19.91 kB / 0.6865 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.1798, allocations: 41.64 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.18, allocations: 83.8 kB / 0.6867 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.18, allocations: 0 / 0.6867 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.18, allocations: 4 kB / 0.6867 GB, free: 13.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.18, allocations: 1.438 kB / 0.6867 GB, free: 13.2 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.0006019/0.1806, allocations: 404.3 kB / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1807, allocations: 10.31 kB / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.1809, allocations: 35.83 kB / 0.6871 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1811, allocations: 194.8 kB / 0.6873 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.1812, allocations: 38.2 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1812, allocations: 4 kB / 0.6873 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.1815, allocations: 109.4 kB / 0.6874 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1815, allocations: 0.9375 kB / 0.6874 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1815, allocations: 8 kB / 0.6874 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1816, allocations: 4.609 kB / 0.6874 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.1818, allocations: 91.97 kB / 0.6875 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/0.1825, allocations: 397.8 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.183, allocations: 137.5 kB / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1831, allocations: 52.88 kB / 0.6881 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.1831, allocations: 3.938 kB / 0.6881 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1832, allocations: 38.56 kB / 0.6881 GB, free: 11.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1832, allocations: 0 / 0.6881 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000404/0.1836, allocations: 149.7 kB / 0.6883 GB, free: 11.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1836, allocations: 59.39 kB / 0.6883 GB, free: 11.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1838, allocations: 136.2 kB / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1838, allocations: 25.7 kB / 0.6885 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.1838, allocations: 104.3 kB / 0.6886 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1839, allocations: 19.64 kB / 0.6886 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.1839, allocations: 8 kB / 0.6886 GB, free: 11.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.184, allocations: 322.8 kB / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.1841, allocations: 27.98 kB / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.1842, allocations: 53.69 kB / 0.689 GB, free: 10.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.1843, allocations: 43.94 kB / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1843, allocations: 0 / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002403/0.1846, allocations: 121.5 kB / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1846, allocations: 11.98 kB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1846, allocations: 0 / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1846, allocations: 0 / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1847, allocations: 19.98 kB / 0.6892 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1847, allocations: 0 / 0.6892 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.1848, allocations: 19.88 kB / 0.6892 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1848, allocations: 4 kB / 0.6892 GB, free: 10.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/0.1849, allocations: 118.5 kB / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.185, allocations: 11.89 kB / 0.6893 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.185, allocations: 12.72 kB / 0.6893 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.185, allocations: 4 kB / 0.6893 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.185, allocations: 0 / 0.6893 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.185, allocations: 0 / 0.6893 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1852, allocations: 205.6 kB / 0.6895 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1852, allocations: 7.891 kB / 0.6896 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.1853, allocations: 15.98 kB / 0.6896 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1853, allocations: 0 / 0.6896 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1854, allocations: 8 kB / 0.6896 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1854, allocations: 0 / 0.6896 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1854, allocations: 0 / 0.6896 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1856, allocations: 207.4 kB / 0.6898 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.1857, allocations: 92.95 kB / 0.6899 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1857, allocations: 0 / 0.6899 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1859, allocations: 15.98 kB / 0.6899 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.1859, allocations: 4 kB / 0.6899 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1859, allocations: 11.98 kB / 0.6899 GB, free: 9.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.354e-05/0.186, allocations: 113.6 kB / 0.69 GB, free: 9.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.186, allocations: 0 / 0.69 GB, free: 9.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1863, allocations: 19.91 kB / 0.69 GB, free: 9.469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001121/0.1864, allocations: 99.19 kB / 0.6901 GB, free: 9.363 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.1866, allocations: 88.56 kB / 0.6902 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1866, allocations: 0 / 0.6902 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1867, allocations: 48.06 kB / 0.6902 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1871, allocations: 28.8 kB / 0.6903 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.1876, allocations: 233.1 kB / 0.6905 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1878, allocations: 0.6926 MB / 0.6912 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.1879, allocations: 8.672 kB / 0.6912 GB, free: 8.219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.1879, allocations: 11.44 kB / 0.6912 GB, free: 8.207 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1879, allocations: 0 / 0.6912 GB, free: 8.207 MB / 494.1 MB Notification: Performance of Templates: time 0.003397/0.1913, allocations: 1.28 MB / 0.6924 GB, free: 6.957 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)