Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6108/0.6108, allocations: 94.78 MB / 102.3 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001021/0.001021, allocations: 173 kB / 125.5 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.383/1.383, allocations: 170.6 MB / 319.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001737/0.001737, allocations: 110.3 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.54e-05, allocations: 4 kB / 449.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1669, allocations: 61.52 MB / 0.4987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4974/0.6643, allocations: 93.51 MB / 0.59 GB, free: 8.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.6647, allocations: 77.39 kB / 0.59 GB, free: 8.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002958/0.6677, allocations: 0.9473 MB / 0.591 GB, free: 7.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6677, allocations: 0.8438 kB / 0.591 GB, free: 7.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.6677, allocations: 4.656 kB / 0.591 GB, free: 7.453 MB / 410.7 MB 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.0003845/0.6681, allocations: 338.5 kB / 0.5913 GB, free: 7.086 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6682, allocations: 9.156 kB / 0.5913 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.6683, allocations: 8.547 kB / 0.5913 GB, free: 7.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.6685, allocations: 166.1 kB / 0.5915 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.6685, allocations: 4.875 kB / 0.5915 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.6685, allocations: 0 / 0.5915 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.294e-05/0.6686, allocations: 13.02 kB / 0.5915 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.066e-05/0.6687, allocations: 37.62 kB / 0.5915 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6687, allocations: 5.25 kB / 0.5915 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.6687, allocations: 0.5156 kB / 0.5915 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6687, allocations: 0.7812 kB / 0.5915 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.6691, allocations: 224.2 kB / 0.5918 GB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.6692, allocations: 23.98 kB / 0.5918 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.6692, allocations: 16.95 kB / 0.5918 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.6692, allocations: 6.656 kB / 0.5918 GB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.6693, allocations: 36.09 kB / 0.5918 GB, free: 6.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.435e-06/0.6693, allocations: 0.7188 kB / 0.5918 GB, free: 6.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001669/0.6694, allocations: 41.7 kB / 0.5919 GB, free: 6.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.6695, allocations: 52.16 kB / 0.5919 GB, free: 6.352 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/0.6696, allocations: 90.44 kB / 0.592 GB, free: 6.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.6696, allocations: 25.7 kB / 0.592 GB, free: 6.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.6697, allocations: 89.91 kB / 0.5921 GB, free: 6.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.6697, allocations: 9.219 kB / 0.5921 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.6697, allocations: 0 / 0.5921 GB, free: 6.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6699, allocations: 316.1 kB / 0.5924 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.6699, allocations: 4.766 kB / 0.5924 GB, free: 5.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.6699, allocations: 5.75 kB / 0.5924 GB, free: 5.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.01e-05/0.6699, allocations: 4 kB / 0.5924 GB, free: 5.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6699, allocations: 0.75 kB / 0.5924 GB, free: 5.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.548e-05/0.67, allocations: 47.81 kB / 0.5925 GB, free: 5.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.67, allocations: 4 kB / 0.5925 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6701, allocations: 7.953 kB / 0.5925 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6701, allocations: 1.969 kB / 0.5925 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.6702, allocations: 11.98 kB / 0.5925 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.6702, allocations: 3.594 kB / 0.5925 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.6703, allocations: 8.938 kB / 0.5925 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.6703, allocations: 0 / 0.5925 GB, free: 5.719 MB / 410.7 MB 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 (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 9.853e-05/0.6704, allocations: 108.9 kB / 0.5926 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.6704, allocations: 3.906 kB / 0.5926 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.6706, allocations: 57.39 kB / 0.5927 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6706, allocations: 5.781 kB / 0.5927 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6706, allocations: 0 / 0.5927 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6706, allocations: 0 / 0.5927 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.6708, allocations: 134.2 kB / 0.5928 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6708, allocations: 9.297 kB / 0.5928 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.6708, allocations: 16.12 kB / 0.5928 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.6709, allocations: 0 / 0.5928 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.6709, allocations: 0 / 0.5928 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.6709, allocations: 0 / 0.5928 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6709, allocations: 0 / 0.5928 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.671, allocations: 140.3 kB / 0.593 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.6711, allocations: 88.84 kB / 0.5931 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.6711, allocations: 0 / 0.5931 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.6712, allocations: 8 kB / 0.5931 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.6712, allocations: 11.98 kB / 0.5931 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.6713, allocations: 2.188 kB / 0.5931 GB, free: 5.074 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.241e-05/0.6713, allocations: 86.38 kB / 0.5932 GB, free: 4.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6713, allocations: 2.078 kB / 0.5932 GB, free: 4.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.6715, allocations: 4 kB / 0.5932 GB, free: 4.988 MB / 410.7 MB 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.0001393/0.6717, allocations: 99.19 kB / 0.5933 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.885e-05/0.6718, allocations: 16 kB / 0.5933 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6718, allocations: 0 / 0.5933 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.6718, allocations: 15.98 kB / 0.5933 GB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.672, allocations: 0 / 0.5933 GB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.6723, allocations: 64.03 kB / 0.5934 GB, free: 4.773 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.6726, allocations: 0.6768 MB / 0.594 GB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.282e-05/0.6727, allocations: 8.062 kB / 0.594 GB, free: 4.062 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.6727, allocations: 11.38 kB / 0.594 GB, free: 4.055 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6727, allocations: 0 / 0.594 GB, free: 4.055 MB / 410.7 MB Notification: Performance of Templates: time 0.002582/0.6753, allocations: 393.2 kB / 0.5944 GB, free: 3.703 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)