Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 293 MB / 309 MB, free: 4.785 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009215/0.0009216, allocations: 176 kB / 378.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 0.6383 GB, free: 8.203 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008406/0.0008407, allocations: 99.02 kB / 0.7527 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004266, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2586, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7058/0.9645, allocations: 141 MB / 1.128 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.9648, allocations: 77.41 kB / 1.128 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007463/0.9722, allocations: 2.511 MB / 1.131 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9723, allocations: 0 / 1.131 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.9723, allocations: 0 / 1.131 GB, free: 31.27 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004796/0.9728, allocations: 417.8 kB / 1.131 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9728, allocations: 8.031 kB / 1.131 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.9729, allocations: 8.844 kB / 1.131 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.973, allocations: 160.4 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.973, allocations: 5.062 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.973, allocations: 384 / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.9733, allocations: 92.58 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.9733, allocations: 1.219 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.9733, allocations: 3.938 kB / 1.131 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.9733, allocations: 0 / 1.131 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.9736, allocations: 93.05 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.974, allocations: 293.7 kB / 1.132 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.9742, allocations: 65.73 kB / 1.132 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.9744, allocations: 51.77 kB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.9745, allocations: 90.83 kB / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.9746, allocations: 37.98 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.9746, allocations: 0 / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005091/0.9751, allocations: 169.2 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.9751, allocations: 54.78 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.9752, allocations: 114.9 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.9752, allocations: 30.45 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.9753, allocations: 91.52 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.9753, allocations: 7.906 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.9753, allocations: 0 / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.9754, allocations: 319.5 kB / 1.133 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.9755, allocations: 42.5 kB / 1.133 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.9757, allocations: 46.36 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.9759, allocations: 93.11 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9759, allocations: 0.5625 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002814/0.9762, allocations: 126.7 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.9762, allocations: 4 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9762, allocations: 3.938 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.9763, allocations: 0 / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.9764, allocations: 24.62 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.9764, allocations: 4.719 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.9765, allocations: 15.61 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.9765, allocations: 0 / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.213e-05/0.9766, allocations: 125.8 kB / 1.133 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.9766, allocations: 7.906 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.9769, allocations: 131.4 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9769, allocations: 4 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.977, allocations: 1.031 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.977, allocations: 1.125 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.9771, allocations: 175.6 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9771, allocations: 0.5625 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.425e-05/0.9772, allocations: 23.23 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.9772, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.9772, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9773, allocations: 0.5 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9773, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.9776, allocations: 223.2 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.9776, allocations: 81.02 kB / 1.134 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.9777, allocations: 2.219 kB / 1.134 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.9778, allocations: 24.53 kB / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.9778, allocations: 4 kB / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.9778, allocations: 0 / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.9779, allocations: 99.45 kB / 1.134 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9779, allocations: 0 / 1.134 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002936/0.9782, allocations: 35.41 kB / 1.134 GB, free: 27.89 MB / 0.7292 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 (3): * Single equations (assignments): 3 * 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.0002179/0.9784, allocations: 146 kB / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.9787, allocations: 85.44 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9787, allocations: 0 / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.9789, allocations: 46.12 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.9791, allocations: 16.3 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.9795, allocations: 175.6 kB / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.9796, allocations: 0.6839 MB / 1.135 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.9797, allocations: 8.938 kB / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.9797, allocations: 7.438 kB / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9797, allocations: 0 / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of Templates: time 0.003603/0.9833, allocations: 1.164 MB / 1.136 GB, free: 26.11 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)