Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.655/1.655, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001262/0.001262, allocations: 191.8 kB / 377.1 MB, free: 1.516 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.714/1.714, allocations: 205.4 MB / 0.6367 GB, free: 8.508 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.001089/0.001089, allocations: 84.25 kB / 0.751 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2899, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7834/1.073, allocations: 140.6 MB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.074, allocations: 86.58 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008286/1.082, allocations: 2.654 MB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/1.082, allocations: 0 / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.316e-06/1.082, allocations: 0 / 1.128 GB, free: 32.33 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004125/1.082, allocations: 371.4 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/1.083, allocations: 8.781 kB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/1.083, allocations: 6.594 kB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.083, allocations: 167 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/1.083, allocations: 29.14 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/1.083, allocations: 4 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/1.083, allocations: 44.88 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.083, allocations: 0 / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/1.083, allocations: 4 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.083, allocations: 1.922 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/1.083, allocations: 19.38 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/1.083, allocations: 154.2 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/1.083, allocations: 56.06 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/1.084, allocations: 181.1 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.084, allocations: 31.06 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/1.084, allocations: 0 / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002554/1.084, allocations: 68.03 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/1.084, allocations: 51.41 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/1.084, allocations: 97.45 kB / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/1.084, allocations: 33.64 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/1.084, allocations: 80.14 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/1.084, allocations: 19.73 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/1.084, allocations: 0 / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/1.084, allocations: 314.8 kB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/1.084, allocations: 11.52 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/1.084, allocations: 11.52 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/1.084, allocations: 4.516 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.085, allocations: 12.61 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001303/1.085, allocations: 56.64 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.085, allocations: 7.938 kB / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.085, allocations: 0.7969 kB / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.085, allocations: 0 / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/1.085, allocations: 8.562 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.085, allocations: 3.938 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/1.085, allocations: 8.453 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/1.085, allocations: 0 / 1.13 GB, free: 30.33 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 (4): * Single equations (assignments): 4 * 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.462e-05/1.085, allocations: 113.8 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/1.085, allocations: 7.953 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/1.085, allocations: 65.52 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.085, allocations: 4.5 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.085, allocations: 3.516 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.085, allocations: 0 / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.964e-05/1.085, allocations: 153.2 kB / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.085, allocations: 0.5625 kB / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/1.085, allocations: 12.89 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.085, allocations: 4 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/1.085, allocations: 4.438 kB / 1.13 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.085, allocations: 0 / 1.13 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.085, allocations: 3.516 kB / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/1.085, allocations: 77.41 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/1.086, allocations: 84.53 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/1.086, allocations: 8.703 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.591e-05/1.086, allocations: 7.516 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/1.086, allocations: 4 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/1.086, allocations: 0.6562 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.451e-05/1.086, allocations: 80.88 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.61e-07/1.086, allocations: 0 / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000248/1.086, allocations: 43.41 kB / 1.131 GB, free: 29.6 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 (4): * Single equations (assignments): 4 * 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.0002355/1.086, allocations: 146.1 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001524/1.086, allocations: 31.45 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.086, allocations: 0 / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.726e-05/1.086, allocations: 16.73 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/1.087, allocations: 9.531 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/1.087, allocations: 134.1 kB / 1.131 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/1.087, allocations: 0.6879 MB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.511e-05/1.087, allocations: 4.625 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/1.087, allocations: 7.438 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/1.087, allocations: 0 / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of Templates: time 0.003504/1.091, allocations: 0.9289 MB / 1.133 GB, free: 28.04 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)