Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00126/0.00126, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 198.6 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.549 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 69.78 kB / 0.6723 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1953, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002832/0.1982, allocations: 1.658 MB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007084/0.1989, allocations: 399.8 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.199, allocations: 8 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.838e-05/0.1992, allocations: 7.875 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.653e-05/0.1992, allocations: 23.72 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.1997, allocations: 126.4 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1998, allocations: 107.6 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2, allocations: 47.94 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.2, allocations: 39.86 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.2001, allocations: 35.84 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2001, allocations: 8 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.2003, allocations: 59.95 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.2003, allocations: 35.89 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.2004, allocations: 43.73 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.2005, allocations: 127.6 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.2006, allocations: 0 / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2006, allocations: 0 / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2006, allocations: 0 / 0.7868 GB, free: 10.04 MB / 0.6075 GB 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.0005335/0.2011, allocations: 427 kB / 0.7872 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2012, allocations: 8.031 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.2014, allocations: 32.81 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.2016, allocations: 196.1 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.2017, allocations: 34.27 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2017, allocations: 4.375 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.202, allocations: 98.2 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.202, allocations: 3.938 kB / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.202, allocations: 8 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.202, allocations: 4 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.2022, allocations: 87.86 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.2029, allocations: 380.5 kB / 0.788 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.2034, allocations: 134.6 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.2035, allocations: 40.84 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.2035, allocations: 3.938 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.2035, allocations: 34.55 kB / 0.7882 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2036, allocations: 4 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003963/0.204, allocations: 133.5 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.204, allocations: 51.41 kB / 0.7884 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2041, allocations: 144.7 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2041, allocations: 25.7 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.2042, allocations: 104 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.2042, allocations: 23.66 kB / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.2043, allocations: 25.7 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.2044, allocations: 322.8 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.2045, allocations: 23.98 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2046, allocations: 42.16 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.2048, allocations: 89.75 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2048, allocations: 0 / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002536/0.205, allocations: 113.5 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2051, allocations: 4 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2051, allocations: 0 / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2051, allocations: 4 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2052, allocations: 27.89 kB / 0.7893 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2052, allocations: 0 / 0.7893 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.2053, allocations: 11.92 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2053, allocations: 8 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB 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.01e-05/0.2054, allocations: 114.7 kB / 0.7894 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.2054, allocations: 7.906 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.2055, allocations: 12.7 kB / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2055, allocations: 7.938 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2055, allocations: 0 / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2055, allocations: 4 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.2057, allocations: 209.5 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2057, allocations: 0 / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2058, allocations: 19.98 kB / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2058, allocations: 0 / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.2058, allocations: 3.938 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2058, allocations: 3.938 kB / 0.7897 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2059, allocations: 3.938 kB / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.2061, allocations: 203.4 kB / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.2062, allocations: 85.02 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.2062, allocations: 0 / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.2064, allocations: 19.92 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2064, allocations: 0 / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.2064, allocations: 7.984 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.2065, allocations: 103.3 kB / 0.7901 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2065, allocations: 4 kB / 0.7901 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002376/0.2067, allocations: 20 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB 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.0001006/0.2068, allocations: 103.2 kB / 0.7902 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.2071, allocations: 71.94 kB / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2071, allocations: 3.938 kB / 0.7903 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.2072, allocations: 39.92 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.2075, allocations: 24.03 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.208, allocations: 214.9 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2082, allocations: 0.6963 MB / 0.7912 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.565e-05/0.2083, allocations: 8.672 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.2083, allocations: 11.44 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2083, allocations: 0 / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of Templates: time 0.003606/0.2119, allocations: 1.457 MB / 0.7926 GB, free: 3.633 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)