Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 288.3 MB / 303.2 MB, free: 8.109 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.001124/0.001124, allocations: 189.8 kB / 371.8 MB, free: 10.27 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.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 90.88 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006425/0.0006426, allocations: 11.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2646, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.913/5.178, allocations: 2.055 GB / 3.035 GB, free: 216.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/5.178, allocations: 86.89 kB / 3.035 GB, free: 216.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05169/5.23, allocations: 27.07 MB / 3.061 GB, free: 193.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/5.23, allocations: 0 / 3.061 GB, free: 193.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.506e-06/5.23, allocations: 5.75 kB / 3.061 GB, free: 193.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003033/5.23, allocations: 351.7 kB / 3.062 GB, free: 193.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/5.23, allocations: 11.97 kB / 3.062 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/5.231, allocations: 43.81 kB / 3.062 GB, free: 193.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/5.231, allocations: 167 kB / 3.062 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/5.231, allocations: 0 / 3.062 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/5.231, allocations: 0 / 3.062 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/5.231, allocations: 53.45 kB / 3.062 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/5.231, allocations: 4 kB / 3.062 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/5.231, allocations: 0 / 3.062 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/5.231, allocations: 0 / 3.062 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/5.231, allocations: 31.8 kB / 3.062 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/5.232, allocations: 244.8 kB / 3.062 GB, free: 192.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.352e-05/5.232, allocations: 26.2 kB / 3.062 GB, free: 192.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/5.232, allocations: 0 / 3.062 GB, free: 192.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/5.232, allocations: 38.55 kB / 3.062 GB, free: 192.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/5.232, allocations: 0 / 3.062 GB, free: 192.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001423/5.232, allocations: 45.53 kB / 3.062 GB, free: 192.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/5.232, allocations: 55.34 kB / 3.062 GB, free: 192.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/5.232, allocations: 100.7 kB / 3.062 GB, free: 192.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/5.232, allocations: 25.7 kB / 3.062 GB, free: 192.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/5.232, allocations: 95.97 kB / 3.062 GB, free: 192.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/5.232, allocations: 15.95 kB / 3.062 GB, free: 192.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/5.232, allocations: 0 / 3.062 GB, free: 192.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.974e-05/5.232, allocations: 310.8 kB / 3.063 GB, free: 192 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/5.232, allocations: 11.98 kB / 3.063 GB, free: 192 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/5.232, allocations: 7.984 kB / 3.063 GB, free: 192 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/5.232, allocations: 11.62 kB / 3.063 GB, free: 192 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/5.232, allocations: 4 kB / 3.063 GB, free: 192 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00015/5.232, allocations: 57.53 kB / 3.063 GB, free: 191.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/5.232, allocations: 8 kB / 3.063 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/5.232, allocations: 0 / 3.063 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/5.232, allocations: 0 / 3.063 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/5.233, allocations: 11.92 kB / 3.063 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/5.233, allocations: 7.891 kB / 3.063 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/5.233, allocations: 12 kB / 3.063 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/5.233, allocations: 3.984 kB / 3.063 GB, free: 191.9 MB / 0.948 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.208e-05/5.233, allocations: 109.5 kB / 3.063 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/5.233, allocations: 7.938 kB / 3.063 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/5.233, allocations: 3.125 kB / 3.063 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/5.233, allocations: 0 / 3.063 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/5.233, allocations: 0 / 3.063 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/5.233, allocations: 3.953 kB / 3.063 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/5.233, allocations: 153.4 kB / 3.063 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/5.233, allocations: 4 kB / 3.063 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/5.233, allocations: 4 kB / 3.063 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/5.233, allocations: 3.984 kB / 3.063 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/5.233, allocations: 0 / 3.063 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/5.233, allocations: 0 / 3.063 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/5.233, allocations: 0 / 3.063 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.869e-05/5.233, allocations: 139.4 kB / 3.063 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/5.233, allocations: 88.69 kB / 3.063 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/5.233, allocations: 4.031 kB / 3.063 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/5.233, allocations: 4 kB / 3.063 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/5.233, allocations: 7.969 kB / 3.063 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/5.233, allocations: 0 / 3.063 GB, free: 191.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.234e-05/5.233, allocations: 92.02 kB / 3.063 GB, free: 191.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.233, allocations: 0 / 3.063 GB, free: 191.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003412/5.234, allocations: 49.92 kB / 3.064 GB, free: 191.2 MB / 0.948 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 (2): * Single equations (assignments): 2 * 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.0006432/5.234, allocations: 0.551 MB / 3.064 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001356/5.235, allocations: 19.8 kB / 3.064 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/5.235, allocations: 0 / 3.064 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/5.235, allocations: 11.88 kB / 3.064 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/5.235, allocations: 16.5 kB / 3.064 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/5.235, allocations: 132.5 kB / 3.064 GB, free: 190.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/5.235, allocations: 0.6809 MB / 3.065 GB, free: 189.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.646e-05/5.235, allocations: 4 kB / 3.065 GB, free: 189.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/5.235, allocations: 11.44 kB / 3.065 GB, free: 189.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.1e-07/5.235, allocations: 0 / 3.065 GB, free: 189.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01022/5.246, allocations: 7.826 MB / 3.073 GB, free: 181.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)