Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 195.6 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5963/0.5963, allocations: 95.47 MB / 364.9 MB, free: 10.07 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.91 kB / 444.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3663, allocations: 69.08 MB / 0.5019 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002165/0.3685, allocations: 1.33 MB / 0.5032 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.3695, allocations: 0.7378 MB / 0.5039 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.3696, allocations: 0 / 0.5039 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3696, allocations: 0 / 0.5039 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.3696, allocations: 7.922 kB / 0.5039 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.3701, allocations: 115.6 kB / 0.504 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.3702, allocations: 27.86 kB / 0.504 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.3702, allocations: 4 kB / 0.5041 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.3703, allocations: 4 kB / 0.5041 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.3703, allocations: 11.92 kB / 0.5041 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.3703, allocations: 0 / 0.5041 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.3707, allocations: 219.7 kB / 0.5043 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-06/0.3707, allocations: 3.984 kB / 0.5043 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.3707, allocations: 4 kB / 0.5043 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.3709, allocations: 129.7 kB / 0.5044 GB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3709, allocations: 0 / 0.5044 GB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3709, allocations: 4 kB / 0.5044 GB, free: 14.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3709, allocations: 0 / 0.5044 GB, free: 14.96 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003661/0.3713, allocations: 363.3 kB / 0.5048 GB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3714, allocations: 11.98 kB / 0.5048 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.3714, allocations: 4.938 kB / 0.5048 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.3715, allocations: 160.4 kB / 0.5049 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3715, allocations: 384 / 0.5049 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.3715, allocations: 3.938 kB / 0.5049 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.42e-05/0.3716, allocations: 41.62 kB / 0.505 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3717, allocations: 0 / 0.505 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3717, allocations: 4 kB / 0.505 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3717, allocations: 0 / 0.505 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.3717, allocations: 7.938 kB / 0.505 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.3719, allocations: 153.7 kB / 0.5051 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.3719, allocations: 26.55 kB / 0.5052 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.3719, allocations: 8.922 kB / 0.5052 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.372, allocations: 4 kB / 0.5052 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.372, allocations: 30.56 kB / 0.5052 GB, free: 13.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.372, allocations: 0 / 0.5052 GB, free: 13.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.3721, allocations: 53.53 kB / 0.5052 GB, free: 13.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.3722, allocations: 51.41 kB / 0.5053 GB, free: 13.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.3722, allocations: 105.8 kB / 0.5054 GB, free: 13.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.3723, allocations: 25.7 kB / 0.5054 GB, free: 13.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.3723, allocations: 84.27 kB / 0.5055 GB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.3723, allocations: 7.891 kB / 0.5055 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.3723, allocations: 17.72 kB / 0.5055 GB, free: 13.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.3724, allocations: 310.8 kB / 0.5058 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.3724, allocations: 4 kB / 0.5058 GB, free: 13.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-06/0.3724, allocations: 0 / 0.5058 GB, free: 13.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.3725, allocations: 12.86 kB / 0.5058 GB, free: 13.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3725, allocations: 0 / 0.5058 GB, free: 13.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.221e-05/0.3725, allocations: 53.62 kB / 0.5059 GB, free: 13.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3726, allocations: 6.031 kB / 0.5059 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3726, allocations: 0 / 0.5059 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3726, allocations: 0 / 0.5059 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.3726, allocations: 4 kB / 0.5059 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3727, allocations: 0 / 0.5059 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.3727, allocations: 0 / 0.5059 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.3727, allocations: 0 / 0.5059 GB, free: 13.21 MB / 382.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/0.3728, allocations: 117.8 kB / 0.506 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.3728, allocations: 4.031 kB / 0.506 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.356e-05/0.3729, allocations: 52.7 kB / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3729, allocations: 0 / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3729, allocations: 4 kB / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3729, allocations: 3.938 kB / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.434e-05/0.373, allocations: 153.6 kB / 0.5062 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.373, allocations: 0 / 0.5062 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.373, allocations: 4 kB / 0.5062 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.373, allocations: 0 / 0.5062 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.373, allocations: 0 / 0.5062 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.373, allocations: 4.031 kB / 0.5062 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.373, allocations: 3.984 kB / 0.5062 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.918e-05/0.3731, allocations: 69.08 kB / 0.5063 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3731, allocations: 85 kB / 0.5064 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3731, allocations: 0 / 0.5064 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.3732, allocations: 0 / 0.5064 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.3732, allocations: 0 / 0.5064 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3732, allocations: 11.97 kB / 0.5064 GB, free: 12.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.717e-05/0.3732, allocations: 75.28 kB / 0.5065 GB, free: 12.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3732, allocations: 0 / 0.5065 GB, free: 12.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.3735, allocations: 27.94 kB / 0.5065 GB, free: 12.5 MB / 382.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.3737, allocations: 131.2 kB / 0.5066 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.3739, allocations: 8 kB / 0.5066 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3739, allocations: 3.938 kB / 0.5066 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.3739, allocations: 8.062 kB / 0.5066 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3743, allocations: 19.91 kB / 0.5067 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.3746, allocations: 102.5 kB / 0.5067 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3748, allocations: 0.6768 MB / 0.5074 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.601e-05/0.3749, allocations: 4 kB / 0.5074 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.3749, allocations: 7.438 kB / 0.5074 GB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3749, allocations: 4.062 kB / 0.5074 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Templates: time 0.003655/0.3785, allocations: 0.7885 MB / 0.5082 GB, free: 10.7 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)