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.001179/0.001178, allocations: 106.6 kB / 16.37 MB, free: 6.469 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.001085/0.001085, allocations: 190.7 kB / 17.31 MB, free: 5.82 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.608/1.608, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.94/1.94, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001512/0.001512, allocations: 74.23 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2605, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00336/0.2639, allocations: 1.667 MB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000794/0.2647, allocations: 402.7 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.2648, allocations: 4 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.265, allocations: 15.86 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.265, allocations: 19.78 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.2655, allocations: 120.3 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.2657, allocations: 111.6 kB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2658, allocations: 35.97 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.2659, allocations: 39.86 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.266, allocations: 47.81 kB / 0.7872 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.266, allocations: 12 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2662, allocations: 55.95 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.2662, allocations: 23.92 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.2663, allocations: 43.73 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.2665, allocations: 139.5 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2665, allocations: 3.984 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2665, allocations: 0 / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2665, allocations: 0 / 0.7874 GB, free: 444 kB / 0.6544 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.5283/0.7948, allocations: 415.1 kB / 0.7878 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.7949, allocations: 9.031 kB / 0.7878 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.7952, allocations: 33.34 kB / 0.7879 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.7956, allocations: 194.8 kB / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/0.7957, allocations: 34.77 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.7957, allocations: 8.875 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.796, allocations: 102.4 kB / 0.7882 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.796, allocations: 3.938 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.796, allocations: 2.625 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.796, allocations: 0 / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.7963, allocations: 84.55 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.7969, allocations: 384.6 kB / 0.7887 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.7974, allocations: 125.4 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.7976, allocations: 40.12 kB / 0.7888 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.7976, allocations: 5.391 kB / 0.7888 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.7976, allocations: 37.69 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7976, allocations: 0 / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004152/0.798, allocations: 133.9 kB / 0.789 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.7981, allocations: 54.78 kB / 0.789 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.7982, allocations: 143.4 kB / 0.7892 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.7982, allocations: 29.33 kB / 0.7892 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.7983, allocations: 101.1 kB / 0.7893 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.7983, allocations: 28.7 kB / 0.7893 GB, free: 48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.7983, allocations: 18.06 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.7984, allocations: 320.4 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.7985, allocations: 28.52 kB / 0.7897 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.7986, allocations: 45.5 kB / 0.7897 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.7988, allocations: 82.02 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7988, allocations: 0 / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002419/0.7991, allocations: 111.6 kB / 0.7899 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.7991, allocations: 5.25 kB / 0.7899 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7991, allocations: 2.75 kB / 0.7899 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.7991, allocations: 2.625 kB / 0.7899 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.7992, allocations: 25.92 kB / 0.7899 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7993, allocations: 1.125 kB / 0.7899 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.7993, allocations: 16.62 kB / 0.7899 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.7994, allocations: 2.625 kB / 0.79 GB, free: 47.6 MB / 0.6544 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 7.295e-05/0.7994, allocations: 119.2 kB / 0.7901 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.7995, allocations: 7.406 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.7995, allocations: 14.66 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.7995, allocations: 3.938 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7995, allocations: 2.625 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7995, allocations: 2.562 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.7997, allocations: 198.2 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7997, allocations: 0.5312 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.7998, allocations: 19.5 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7998, allocations: 3.688 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.7999, allocations: 0.625 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7999, allocations: 4.562 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.7999, allocations: 0 / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.8001, allocations: 207.3 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.8002, allocations: 91.25 kB / 0.7906 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.8002, allocations: 0 / 0.7906 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.8004, allocations: 16.56 kB / 0.7906 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.8004, allocations: 6.016 kB / 0.7906 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.8004, allocations: 6.172 kB / 0.7906 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.149e-05/0.8005, allocations: 108.6 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8005, allocations: 4.844 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002276/0.8007, allocations: 24.94 kB / 0.7908 GB, free: 46.97 MB / 0.6544 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.0001108/0.8009, allocations: 100.5 kB / 0.7909 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.8011, allocations: 78.28 kB / 0.7909 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.8011, allocations: 0 / 0.7909 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.8012, allocations: 37.83 kB / 0.791 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.8016, allocations: 27.72 kB / 0.791 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.802, allocations: 231.3 kB / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.8022, allocations: 0.6942 MB / 0.7919 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.8022, allocations: 13.59 kB / 0.7919 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.8022, allocations: 0 / 0.7919 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.002812/0.805, allocations: 1.301 MB / 0.7932 GB, free: 46 MB / 0.6544 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)