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.001008/0.001008, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008407/0.008407, allocations: 172.1 kB / 16.26 MB, free: 6.676 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 266.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9647/0.9647, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004156, allocations: 12.69 kB / 0.5986 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1816, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001821/0.1835, allocations: 1.378 MB / 0.6865 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007532/0.1842, allocations: 401.8 kB / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.1843, allocations: 7.375 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.924e-05/0.1844, allocations: 3.938 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.1845, allocations: 23.78 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.1849, allocations: 102.4 kB / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.185, allocations: 100.5 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1852, allocations: 51.62 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.1852, allocations: 31.86 kB / 0.6872 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.1853, allocations: 35.78 kB / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1853, allocations: 4 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1855, allocations: 55.95 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.1855, allocations: 16.66 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.1856, allocations: 65.5 kB / 0.6873 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.1858, allocations: 125 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1858, allocations: 0 / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1858, allocations: 0 / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1858, allocations: 0 / 0.6874 GB, free: 12.69 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.0005499/0.1863, allocations: 404.5 kB / 0.6878 GB, free: 12.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1864, allocations: 12.03 kB / 0.6878 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.1866, allocations: 28.81 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1868, allocations: 192.1 kB / 0.6881 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.1869, allocations: 38.27 kB / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1869, allocations: 4.375 kB / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.1872, allocations: 114.3 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1872, allocations: 3.938 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1872, allocations: 4.562 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1873, allocations: 8 kB / 0.6882 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.1875, allocations: 97.34 kB / 0.6883 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.1882, allocations: 388.4 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.1887, allocations: 138.6 kB / 0.6888 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1888, allocations: 48.83 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.1888, allocations: 0 / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1889, allocations: 34.56 kB / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.1889, allocations: 0 / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004176/0.1893, allocations: 145.7 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1893, allocations: 55.41 kB / 0.6891 GB, free: 10.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1895, allocations: 144.4 kB / 0.6892 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1895, allocations: 25.7 kB / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.1895, allocations: 104 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.1896, allocations: 27.73 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.1896, allocations: 25.59 kB / 0.6894 GB, free: 10.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.1897, allocations: 322.8 kB / 0.6897 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1898, allocations: 35.97 kB / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.19, allocations: 53.69 kB / 0.6898 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.1902, allocations: 85.67 kB / 0.6899 GB, free: 9.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1902, allocations: 0 / 0.6899 GB, free: 9.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002547/0.1904, allocations: 121.5 kB / 0.69 GB, free: 9.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1905, allocations: 4 kB / 0.69 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1905, allocations: 0 / 0.69 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1905, allocations: 4 kB / 0.69 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1906, allocations: 23.92 kB / 0.69 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1906, allocations: 4.578 kB / 0.69 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.1907, allocations: 19.92 kB / 0.69 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1907, allocations: 0 / 0.69 GB, free: 9.801 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 8.307e-05/0.1908, allocations: 119.1 kB / 0.6902 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1908, allocations: 7.906 kB / 0.6902 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.1909, allocations: 16.72 kB / 0.6902 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1909, allocations: 7.922 kB / 0.6902 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1909, allocations: 0 / 0.6902 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1909, allocations: 7.984 kB / 0.6902 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1911, allocations: 201.5 kB / 0.6904 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1911, allocations: 0 / 0.6904 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.1912, allocations: 19.98 kB / 0.6904 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1912, allocations: 0 / 0.6904 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1912, allocations: 0 / 0.6904 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1912, allocations: 3.938 kB / 0.6904 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1913, allocations: 0 / 0.6904 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.1916, allocations: 223.3 kB / 0.6906 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.1916, allocations: 81.02 kB / 0.6907 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1916, allocations: 8 kB / 0.6907 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.1918, allocations: 19.92 kB / 0.6907 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.1918, allocations: 7.984 kB / 0.6907 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.1919, allocations: 4 kB / 0.6907 GB, free: 8.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.46e-05/0.1919, allocations: 99.27 kB / 0.6908 GB, free: 8.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.1919, allocations: 4 kB / 0.6908 GB, free: 8.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1922, allocations: 27.88 kB / 0.6909 GB, free: 8.867 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.0001024/0.1923, allocations: 99.23 kB / 0.691 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1925, allocations: 87.89 kB / 0.691 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1926, allocations: 0 / 0.691 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.1927, allocations: 39.98 kB / 0.6911 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1931, allocations: 34.61 kB / 0.6911 GB, free: 8.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.1935, allocations: 240.9 kB / 0.6913 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1938, allocations: 0.6965 MB / 0.692 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.1939, allocations: 12.66 kB / 0.692 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.1939, allocations: 11.44 kB / 0.692 GB, free: 7.594 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1939, allocations: 0 / 0.692 GB, free: 7.594 MB / 494.1 MB Notification: Performance of Templates: time 0.003739/0.1976, allocations: 1.326 MB / 0.6933 GB, free: 6.297 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)