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.001229/0.001229, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 196.6 kB / 16.53 MB, free: 6.656 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.576/1.576, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.6077/0.6077, allocations: 95.47 MB / 365.2 MB, free: 9.871 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.001573/0.001573, allocations: 67.91 kB / 445.3 MB, free: 9.602 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3924, allocations: 69.08 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002527/0.395, allocations: 1.403 MB / 0.5037 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3961, allocations: 0.7533 MB / 0.5045 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.3962, allocations: 7.938 kB / 0.5045 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.3962, allocations: 0 / 0.5045 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.3963, allocations: 7.922 kB / 0.5045 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.3968, allocations: 139.4 kB / 0.5046 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.3969, allocations: 23.92 kB / 0.5046 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.397, allocations: 15.94 kB / 0.5046 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.3971, allocations: 7.984 kB / 0.5047 GB, free: 15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.3971, allocations: 11.94 kB / 0.5047 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3971, allocations: 3.984 kB / 0.5047 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.3974, allocations: 215.7 kB / 0.5049 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.3975, allocations: 4 kB / 0.5049 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.3975, allocations: 7.938 kB / 0.5049 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.3977, allocations: 133.7 kB / 0.505 GB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3977, allocations: 0 / 0.505 GB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3977, allocations: 3.938 kB / 0.505 GB, free: 14.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.3977, allocations: 4 kB / 0.505 GB, free: 14.63 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.0004288/0.3982, allocations: 367.4 kB / 0.5054 GB, free: 14.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3982, allocations: 15.98 kB / 0.5054 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.3983, allocations: 0.9375 kB / 0.5054 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3984, allocations: 164.3 kB / 0.5055 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3984, allocations: 8.375 kB / 0.5056 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.3984, allocations: 3.938 kB / 0.5056 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3986, allocations: 53.67 kB / 0.5056 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3986, allocations: 0 / 0.5056 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3987, allocations: 0 / 0.5056 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.3987, allocations: 0 / 0.5056 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.3988, allocations: 35.95 kB / 0.5056 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.3992, allocations: 252.9 kB / 0.5059 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3993, allocations: 42.55 kB / 0.5059 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.3994, allocations: 20.84 kB / 0.5059 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.3995, allocations: 4 kB / 0.506 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3995, allocations: 34.5 kB / 0.506 GB, free: 13.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.3995, allocations: 0 / 0.506 GB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.3999, allocations: 89.58 kB / 0.5061 GB, free: 13.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3999, allocations: 51.41 kB / 0.5061 GB, free: 13.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.4, allocations: 101.8 kB / 0.5062 GB, free: 13.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.4, allocations: 25.7 kB / 0.5062 GB, free: 13.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.4001, allocations: 84.12 kB / 0.5063 GB, free: 13.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.4001, allocations: 11.91 kB / 0.5063 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.4002, allocations: 9.844 kB / 0.5063 GB, free: 13.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.4003, allocations: 318.8 kB / 0.5066 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.4004, allocations: 23.97 kB / 0.5067 GB, free: 12.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.4004, allocations: 11.98 kB / 0.5067 GB, free: 12.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.4006, allocations: 36.83 kB / 0.5067 GB, free: 12.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4006, allocations: 4.062 kB / 0.5067 GB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001688/0.4008, allocations: 65.59 kB / 0.5068 GB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4008, allocations: 8 kB / 0.5068 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4008, allocations: 0 / 0.5068 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4008, allocations: 0 / 0.5068 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.4009, allocations: 11.98 kB / 0.5068 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4009, allocations: 4 kB / 0.5068 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.401, allocations: 7.906 kB / 0.5068 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.401, allocations: 8.016 kB / 0.5068 GB, free: 12.57 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.302e-05/0.401, allocations: 109.8 kB / 0.5069 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.4011, allocations: 0 / 0.5069 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.4013, allocations: 80.67 kB / 0.507 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4013, allocations: 192 / 0.507 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4013, allocations: 0 / 0.507 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4013, allocations: 3.984 kB / 0.507 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.4014, allocations: 169.6 kB / 0.5072 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4015, allocations: 0 / 0.5072 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.4015, allocations: 8 kB / 0.5072 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4015, allocations: 0 / 0.5072 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.4015, allocations: 0 / 0.5072 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4015, allocations: 0 / 0.5072 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4015, allocations: 0 / 0.5072 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.4018, allocations: 167.5 kB / 0.5073 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.4018, allocations: 89.03 kB / 0.5074 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.4018, allocations: 7.938 kB / 0.5074 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.4019, allocations: 4 kB / 0.5074 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.402, allocations: 3.984 kB / 0.5074 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.402, allocations: 3.938 kB / 0.5074 GB, free: 11.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.346e-05/0.402, allocations: 79.28 kB / 0.5075 GB, free: 11.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.402, allocations: 0 / 0.5075 GB, free: 11.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.4022, allocations: 31.97 kB / 0.5075 GB, free: 11.72 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.0002016/0.4025, allocations: 127.2 kB / 0.5077 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.4027, allocations: 31.97 kB / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4027, allocations: 0 / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.4028, allocations: 20.05 kB / 0.5077 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.4031, allocations: 8.047 kB / 0.5077 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.4034, allocations: 126.4 kB / 0.5078 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.4036, allocations: 0.6729 MB / 0.5085 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.167e-05/0.4036, allocations: 0 / 0.5085 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.4036, allocations: 15.42 kB / 0.5085 GB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4036, allocations: 0 / 0.5085 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Templates: time 0.003171/0.4068, allocations: 0.8216 MB / 0.5093 GB, free: 9.848 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)