Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.687/1.687, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 172.5 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008533/0.0008534, allocations: 103.3 kB / 0.7808 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004083, allocations: 14 kB / 0.9088 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7451, allocations: 120.3 MB / 1.026 GB, free: 56 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.9401, allocations: 141.7 MB / 1.165 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.9404, allocations: 74.78 kB / 1.165 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00272/0.9431, allocations: 0.9909 MB / 1.166 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9431, allocations: 5.281 kB / 1.166 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.9431, allocations: 0 / 1.166 GB, free: 1.051 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003191/0.9434, allocations: 338.8 kB / 1.166 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.9435, allocations: 12.55 kB / 1.166 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/0.9436, allocations: 2.359 kB / 1.166 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.9437, allocations: 172 kB / 1.166 GB, free: 480 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.9437, allocations: 2.188 kB / 1.166 GB, free: 480 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.9437, allocations: 5.031 kB / 1.166 GB, free: 476 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.9439, allocations: 51.72 kB / 1.166 GB, free: 428 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.9439, allocations: 192 / 1.166 GB, free: 428 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.944, allocations: 13.83 kB / 1.166 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.944, allocations: 0 / 1.166 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.9442, allocations: 47.84 kB / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.9445, allocations: 253.3 kB / 1.167 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.9446, allocations: 44.62 kB / 1.167 GB, free: 44 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.9447, allocations: 27.36 kB / 1.167 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.9448, allocations: 1.953 kB / 1.167 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.9448, allocations: 30.56 kB / 1.167 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.9448, allocations: 1.438 kB / 1.167 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003841/0.9452, allocations: 104.1 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.9453, allocations: 53.09 kB / 1.167 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.9453, allocations: 102.8 kB / 1.167 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.9454, allocations: 25.7 kB / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.9454, allocations: 81.61 kB / 1.167 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.9455, allocations: 8.469 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.9455, allocations: 4.531 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9456, allocations: 314.1 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.9457, allocations: 16.78 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.9458, allocations: 27.06 kB / 1.167 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.9459, allocations: 49.08 kB / 1.167 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9459, allocations: 0 / 1.167 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.9461, allocations: 83.25 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.9462, allocations: 9.453 kB / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.9462, allocations: 0 / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.9462, allocations: 1.516 kB / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.9463, allocations: 11.19 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9463, allocations: 1.547 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.9464, allocations: 15.28 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.9464, allocations: 2.406 kB / 1.167 GB, free: 15.11 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.977e-05/0.9464, allocations: 114.9 kB / 1.168 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.9465, allocations: 7.734 kB / 1.168 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.9467, allocations: 90.33 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.9467, allocations: 1.125 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.9467, allocations: 0.6094 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.9468, allocations: 0.5 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.9469, allocations: 165.8 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9469, allocations: 0.8125 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.947, allocations: 10.77 kB / 1.168 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.947, allocations: 1.688 kB / 1.168 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.947, allocations: 4.219 kB / 1.168 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.947, allocations: 4 kB / 1.168 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.947, allocations: 0.6094 kB / 1.168 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.9473, allocations: 181.3 kB / 1.168 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.9473, allocations: 85.61 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.9474, allocations: 0.8438 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.9475, allocations: 15.14 kB / 1.168 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.9475, allocations: 1.406 kB / 1.168 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.9475, allocations: 0 / 1.168 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.9476, allocations: 80.88 kB / 1.168 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9476, allocations: 0 / 1.168 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002084/0.9478, allocations: 4.562 kB / 1.168 GB, free: 14.32 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 () * 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.000137/0.9479, allocations: 102 kB / 1.168 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.9482, allocations: 51.91 kB / 1.168 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9482, allocations: 0.75 kB / 1.168 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.9483, allocations: 33.67 kB / 1.168 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.9486, allocations: 12.8 kB / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.9489, allocations: 126.4 kB / 1.169 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.9491, allocations: 0.6758 MB / 1.169 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.9492, allocations: 8.656 kB / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.9492, allocations: 10.34 kB / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/0.9492, allocations: 3.828 kB / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.002683/0.9519, allocations: 414 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)