Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009409/0.000941, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001095/0.001095, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5629/0.5629, allocations: 95.58 MB / 366 MB, free: 10.4 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005562, allocations: 16 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2934, allocations: 70.34 MB / 0.505 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001373/0.2948, allocations: 1.32 MB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004997/0.2954, allocations: 351.2 kB / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.2954, allocations: 4 kB / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.2955, allocations: 7.922 kB / 0.5066 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.089e-05/0.2955, allocations: 19.95 kB / 0.5067 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.2959, allocations: 111.7 kB / 0.5068 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.296, allocations: 67.84 kB / 0.5068 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.2962, allocations: 28.16 kB / 0.5068 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.2962, allocations: 27.86 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.2963, allocations: 39.83 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2963, allocations: 4 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.2964, allocations: 59.89 kB / 0.507 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.2964, allocations: 19.92 kB / 0.507 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.2965, allocations: 41.64 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.2966, allocations: 85.77 kB / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2966, allocations: 0 / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2966, allocations: 0 / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.2966, allocations: 0 / 0.5071 GB, free: 14.34 MB / 382.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.0004271/0.2971, allocations: 411 kB / 0.5075 GB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.2971, allocations: 11.98 kB / 0.5075 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.2973, allocations: 31.88 kB / 0.5075 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.2975, allocations: 187 kB / 0.5077 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.2975, allocations: 33.7 kB / 0.5078 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.2976, allocations: 11.95 kB / 0.5078 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.2978, allocations: 115.4 kB / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2978, allocations: 0 / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2979, allocations: 4 kB / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2979, allocations: 4 kB / 0.5079 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.2981, allocations: 91.92 kB / 0.508 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.2987, allocations: 388.4 kB / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.2992, allocations: 134.6 kB / 0.5085 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2992, allocations: 4.156 kB / 0.5085 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.2992, allocations: 30.56 kB / 0.5085 GB, free: 12.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2992, allocations: 7.938 kB / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004077/0.2997, allocations: 145.7 kB / 0.5087 GB, free: 12.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.2997, allocations: 59.39 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.2998, allocations: 139.7 kB / 0.5088 GB, free: 12.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.2998, allocations: 29.7 kB / 0.5089 GB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.2998, allocations: 104.1 kB / 0.509 GB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2999, allocations: 27.64 kB / 0.509 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.2999, allocations: 0 / 0.509 GB, free: 12.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.2999, allocations: 322.8 kB / 0.5093 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3, allocations: 35.98 kB / 0.5093 GB, free: 11.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.707e-05/0.3002, allocations: 53.98 kB / 0.5094 GB, free: 11.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.448e-05/0.3003, allocations: 35.92 kB / 0.5094 GB, free: 11.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3003, allocations: 4 kB / 0.5094 GB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002249/0.3005, allocations: 121.5 kB / 0.5095 GB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3005, allocations: 7.938 kB / 0.5096 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3005, allocations: 3.984 kB / 0.5096 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3005, allocations: 4 kB / 0.5096 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3007, allocations: 27.95 kB / 0.5096 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3007, allocations: 0 / 0.5096 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.3008, allocations: 15.86 kB / 0.5096 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3008, allocations: 0 / 0.5096 GB, free: 11.57 MB / 382.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 6.195e-05/0.3008, allocations: 113.8 kB / 0.5097 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.3009, allocations: 15.89 kB / 0.5097 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.3009, allocations: 16.72 kB / 0.5097 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3009, allocations: 4 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3009, allocations: 0 / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3009, allocations: 0 / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3011, allocations: 201.6 kB / 0.5099 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3011, allocations: 0 / 0.5099 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.3012, allocations: 23.98 kB / 0.51 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3012, allocations: 0 / 0.51 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3012, allocations: 0 / 0.51 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3012, allocations: 0 / 0.51 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3012, allocations: 7.938 kB / 0.51 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.3015, allocations: 219.3 kB / 0.5102 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.3015, allocations: 84.95 kB / 0.5103 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3015, allocations: 11.98 kB / 0.5103 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.3017, allocations: 11.98 kB / 0.5103 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.3018, allocations: 8 kB / 0.5103 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.3018, allocations: 4 kB / 0.5103 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.3018, allocations: 109.2 kB / 0.5104 GB, free: 10.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3018, allocations: 0 / 0.5104 GB, free: 10.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.3021, allocations: 16 kB / 0.5104 GB, free: 10.65 MB / 382.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 8.348e-05/0.3021, allocations: 107.2 kB / 0.5105 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.3024, allocations: 75.89 kB / 0.5106 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3024, allocations: 0 / 0.5106 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.695e-05/0.3025, allocations: 51.97 kB / 0.5106 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.3028, allocations: 31.88 kB / 0.5107 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.3031, allocations: 229 kB / 0.5109 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.3033, allocations: 0.6926 MB / 0.5116 GB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.385e-05/0.3033, allocations: 12.66 kB / 0.5116 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.3034, allocations: 11.44 kB / 0.5116 GB, free: 9.387 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3034, allocations: 4 kB / 0.5116 GB, free: 9.383 MB / 382.1 MB Notification: Performance of Templates: time 0.003425/0.3068, allocations: 1.267 MB / 0.5128 GB, free: 8.137 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) Environment - environmentSimulation: