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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001126/0.001126, allocations: 185 kB / 377.1 MB, free: 1.508 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.634/1.634, allocations: 205.4 MB / 0.6367 GB, free: 9.547 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.0009476/0.0009477, allocations: 86.97 kB / 0.751 GB, free: 62.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003175, allocations: 8 kB / 0.8748 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2366, allocations: 116.3 MB / 0.9884 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6524/0.8891, allocations: 140.9 MB / 1.126 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.8894, allocations: 78.5 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00771/0.8971, allocations: 2.501 MB / 1.129 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8971, allocations: 4 kB / 1.129 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.515e-06/0.8971, allocations: 0 / 1.129 GB, free: 32.28 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.0004605/0.8976, allocations: 405.7 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.8977, allocations: 15.95 kB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.8977, allocations: 10.59 kB / 1.129 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.454e-05/0.8978, allocations: 167 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.8978, allocations: 0.5625 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.8979, allocations: 5.203 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.8981, allocations: 88.05 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8981, allocations: 5.156 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8981, allocations: 0 / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.8981, allocations: 1.719 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.8984, allocations: 89.67 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.8988, allocations: 294.6 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.899, allocations: 65.12 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.8991, allocations: 93.23 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.8991, allocations: 34.56 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.474e-06/0.8991, allocations: 6.062 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005149/0.8997, allocations: 165.2 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.8997, allocations: 55.41 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.8998, allocations: 104.5 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.8998, allocations: 26.36 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.8998, allocations: 92.14 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.8999, allocations: 11.52 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.8999, allocations: 0 / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.8999, allocations: 318.8 kB / 1.13 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.9001, allocations: 46.59 kB / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.9002, allocations: 42.59 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.9003, allocations: 43.83 kB / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9003, allocations: 0 / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002781/0.9006, allocations: 126.6 kB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.9006, allocations: 4 kB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9006, allocations: 0 / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.9006, allocations: 0 / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.9008, allocations: 22.98 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.9008, allocations: 4 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.9009, allocations: 23.09 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.9009, allocations: 0.5469 kB / 1.131 GB, free: 29.93 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 5.458e-05/0.9009, allocations: 121.8 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.901, allocations: 4 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.9013, allocations: 126.9 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.9013, allocations: 4 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9013, allocations: 5.062 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9013, allocations: 3.938 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.9015, allocations: 175.9 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9015, allocations: 0.625 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.732e-05/0.9016, allocations: 22.75 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.9016, allocations: 0 / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.9016, allocations: 0.5625 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9016, allocations: 0.8125 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9016, allocations: 4.625 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.9019, allocations: 216.8 kB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.381e-05/0.902, allocations: 84.48 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.902, allocations: 4 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.9021, allocations: 16.36 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.9021, allocations: 7.656 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.9022, allocations: 4.812 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.428e-05/0.9022, allocations: 91.55 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9022, allocations: 0 / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002584/0.9025, allocations: 39.88 kB / 1.132 GB, free: 29 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.0001902/0.9027, allocations: 138.9 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.903, allocations: 89.19 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.903, allocations: 0 / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.9031, allocations: 55.14 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.9033, allocations: 12.83 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.9036, allocations: 172.9 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.9037, allocations: 0.6835 MB / 1.133 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.9038, allocations: 5.031 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.9038, allocations: 7.438 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.9038, allocations: 0.8438 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.003101/0.9069, allocations: 1.137 MB / 1.134 GB, free: 27.24 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)