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.715/1.715, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001258/0.001257, allocations: 179.7 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009507/0.0009508, allocations: 92.53 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.885e-05, allocations: 8 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.357, allocations: 140.9 MB / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/1.358, allocations: 72.84 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007842/1.366, allocations: 2.493 MB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.284e-06/1.366, allocations: 8 kB / 1.12 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.367e-06/1.366, allocations: 0.5625 kB / 1.12 GB, free: 41.63 MB / 0.7448 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.0004606/1.366, allocations: 392 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/1.366, allocations: 8.031 kB / 1.12 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/1.366, allocations: 12.06 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/1.366, allocations: 172.1 kB / 1.12 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/1.366, allocations: 7.266 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/1.366, allocations: 0 / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/1.367, allocations: 52.22 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.367, allocations: 1.406 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.367, allocations: 4 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.367, allocations: 0 / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.945e-05/1.367, allocations: 19.25 kB / 1.121 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/1.367, allocations: 291 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/1.367, allocations: 34.45 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/1.367, allocations: 11.92 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/1.368, allocations: 92.09 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.368, allocations: 42.31 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/1.368, allocations: 3.391 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001862/1.368, allocations: 53.8 kB / 1.121 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/1.368, allocations: 54.92 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/1.368, allocations: 109.4 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/1.368, allocations: 25.7 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/1.368, allocations: 91.19 kB / 1.121 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/1.368, allocations: 11.84 kB / 1.121 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/1.368, allocations: 0 / 1.121 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/1.368, allocations: 322.2 kB / 1.122 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/1.368, allocations: 11.31 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/1.368, allocations: 7.312 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/1.368, allocations: 7.688 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.368, allocations: 0.6562 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.368e-05/1.368, allocations: 60.34 kB / 1.122 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.368, allocations: 4 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.368, allocations: 0.5625 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.368, allocations: 4 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/1.368, allocations: 22.84 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.369, allocations: 4 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/1.369, allocations: 16.62 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/1.369, allocations: 3.953 kB / 1.122 GB, free: 39.68 MB / 0.7448 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 () * 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.774e-05/1.369, allocations: 106.1 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/1.369, allocations: 11.91 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/1.369, allocations: 66.41 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/1.369, allocations: 0 / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.369, allocations: 0.5 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.369, allocations: 0 / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/1.369, allocations: 176.4 kB / 1.122 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.369, allocations: 2.953 kB / 1.122 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.369, allocations: 30.69 kB / 1.122 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.369, allocations: 0 / 1.122 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/1.369, allocations: 0 / 1.122 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.369, allocations: 0 / 1.122 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.369, allocations: 5.656 kB / 1.122 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/1.369, allocations: 147.7 kB / 1.122 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/1.369, allocations: 84.48 kB / 1.122 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/1.369, allocations: 0 / 1.122 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/1.369, allocations: 19.38 kB / 1.122 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/1.37, allocations: 11.36 kB / 1.122 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/1.37, allocations: 3.188 kB / 1.122 GB, free: 39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.662e-05/1.37, allocations: 93.52 kB / 1.122 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.37, allocations: 0 / 1.122 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002912/1.37, allocations: 35.45 kB / 1.122 GB, free: 38.89 MB / 0.7448 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 () * 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.0002101/1.37, allocations: 138.6 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.932e-05/1.37, allocations: 22.31 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/1.37, allocations: 0 / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/1.37, allocations: 15.44 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/1.37, allocations: 15.91 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/1.371, allocations: 80.61 kB / 1.123 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/1.371, allocations: 0.6885 MB / 1.123 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.705e-05/1.371, allocations: 7.922 kB / 1.123 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/1.371, allocations: 7.438 kB / 1.123 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.371, allocations: 0 / 1.123 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.003205/1.374, allocations: 1.14 MB / 1.125 GB, free: 37.3 MB / 0.7448 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)