Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001206/0.001206, allocations: 194.2 kB / 16.14 MB, free: 6.703 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.503/1.503, allocations: 205.1 MB / 222 MB, free: 4.746 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.6543/0.6543, allocations: 95.46 MB / 364.8 MB, free: 10.1 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.001872/0.001872, allocations: 67.91 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4383, allocations: 69.06 MB / 0.5017 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002619/0.441, allocations: 1.461 MB / 0.5031 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4422, allocations: 0.7769 MB / 0.5039 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.4422, allocations: 0 / 0.5039 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.4423, allocations: 0 / 0.5039 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.4423, allocations: 3.938 kB / 0.5039 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.4427, allocations: 115.6 kB / 0.504 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.4428, allocations: 19.92 kB / 0.504 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.4429, allocations: 8 kB / 0.504 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.4429, allocations: 11.98 kB / 0.504 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.443, allocations: 11.92 kB / 0.504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.443, allocations: 0 / 0.504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.4434, allocations: 223.6 kB / 0.5043 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.4434, allocations: 4 kB / 0.5043 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.4434, allocations: 7.938 kB / 0.5043 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.4437, allocations: 137.6 kB / 0.5044 GB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4437, allocations: 0 / 0.5044 GB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4437, allocations: 0 / 0.5044 GB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.4437, allocations: 4 kB / 0.5044 GB, free: 14.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004259/0.4441, allocations: 367.4 kB / 0.5048 GB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4442, allocations: 15.98 kB / 0.5048 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.4442, allocations: 0.9375 kB / 0.5048 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.039e-05/0.4443, allocations: 164.3 kB / 0.5049 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.4443, allocations: 4.375 kB / 0.5049 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.4444, allocations: 3.938 kB / 0.5049 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.4445, allocations: 53.67 kB / 0.505 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4446, allocations: 0 / 0.505 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.4446, allocations: 7.875 kB / 0.505 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4446, allocations: 3.938 kB / 0.505 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.4447, allocations: 35.95 kB / 0.505 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.445, allocations: 252.9 kB / 0.5053 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.4452, allocations: 42.59 kB / 0.5053 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/0.4453, allocations: 16.91 kB / 0.5053 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.4453, allocations: 0 / 0.5053 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.4453, allocations: 38.5 kB / 0.5054 GB, free: 13.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.4453, allocations: 0 / 0.5054 GB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003412/0.4457, allocations: 81.64 kB / 0.5054 GB, free: 13.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.4457, allocations: 55.41 kB / 0.5055 GB, free: 13.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.4458, allocations: 105.8 kB / 0.5056 GB, free: 13.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.4458, allocations: 25.7 kB / 0.5056 GB, free: 13.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.4458, allocations: 80.14 kB / 0.5057 GB, free: 13.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.4458, allocations: 7.906 kB / 0.5057 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.4459, allocations: 13.84 kB / 0.5057 GB, free: 13.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.4459, allocations: 322.8 kB / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.446, allocations: 19.98 kB / 0.506 GB, free: 12.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.4461, allocations: 15.92 kB / 0.5061 GB, free: 12.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.4462, allocations: 36.83 kB / 0.5061 GB, free: 12.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4462, allocations: 4.062 kB / 0.5061 GB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001711/0.4464, allocations: 65.66 kB / 0.5062 GB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4464, allocations: 10.03 kB / 0.5062 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4465, allocations: 0 / 0.5062 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4465, allocations: 0 / 0.5062 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.4466, allocations: 7.984 kB / 0.5062 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4466, allocations: 4 kB / 0.5062 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.4466, allocations: 11.89 kB / 0.5062 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4466, allocations: 12.02 kB / 0.5062 GB, free: 12.72 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.226e-05/0.4467, allocations: 109.8 kB / 0.5063 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.4467, allocations: 3.938 kB / 0.5063 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.4469, allocations: 76.73 kB / 0.5064 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.447, allocations: 0 / 0.5064 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.447, allocations: 0 / 0.5064 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.447, allocations: 32 / 0.5064 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.4471, allocations: 169.5 kB / 0.5065 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4471, allocations: 3.938 kB / 0.5066 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.4472, allocations: 8 kB / 0.5066 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4472, allocations: 0 / 0.5066 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.4472, allocations: 3.984 kB / 0.5066 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4472, allocations: 0 / 0.5066 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4472, allocations: 0 / 0.5066 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.4474, allocations: 171.4 kB / 0.5067 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.4474, allocations: 81.05 kB / 0.5068 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.4474, allocations: 4 kB / 0.5068 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.4475, allocations: 4 kB / 0.5068 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.4476, allocations: 3.984 kB / 0.5068 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.4476, allocations: 0 / 0.5068 GB, free: 11.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.554e-05/0.4476, allocations: 79.28 kB / 0.5069 GB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4476, allocations: 0 / 0.5069 GB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000247/0.4479, allocations: 35.95 kB / 0.5069 GB, free: 11.88 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.0001597/0.448, allocations: 123.2 kB / 0.507 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.4482, allocations: 31.97 kB / 0.5071 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4482, allocations: 0 / 0.5071 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.4483, allocations: 27.97 kB / 0.5071 GB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.4486, allocations: 7.938 kB / 0.5071 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.4489, allocations: 132.2 kB / 0.5072 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.449, allocations: 0.677 MB / 0.5079 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.372e-05/0.4491, allocations: 0 / 0.5079 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.4491, allocations: 7.438 kB / 0.5079 GB, free: 10.82 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4491, allocations: 4.062 kB / 0.5079 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Templates: time 0.002936/0.452, allocations: 0.7541 MB / 0.5086 GB, free: 10.06 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)