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.001179/0.001179, allocations: 96.02 kB / 15.05 MB, free: 1.109 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.001317/0.001317, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.5728/0.5728, allocations: 95.58 MB / 366 MB, free: 10.36 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.0005888/0.0005888, allocations: 16 kB / 446.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3013, allocations: 70.34 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001083/0.3024, allocations: 0.9721 MB / 0.506 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.3033, allocations: 0.6476 MB / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.3033, allocations: 0 / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.3033, allocations: 3.984 kB / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.59e-05/0.3034, allocations: 7.922 kB / 0.5066 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3037, allocations: 119.6 kB / 0.5067 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.456e-05/0.3038, allocations: 15.92 kB / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.3038, allocations: 0 / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.3039, allocations: 4 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.3039, allocations: 11.97 kB / 0.5067 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.3039, allocations: 0 / 0.5067 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.3042, allocations: 223.6 kB / 0.507 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.3043, allocations: 0 / 0.507 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.3043, allocations: 37.7 kB / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3044, allocations: 77.88 kB / 0.5071 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3044, allocations: 3.938 kB / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3045, allocations: 0 / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.3045, allocations: 0 / 0.5071 GB, free: 14.36 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.0003047/0.3048, allocations: 359.2 kB / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3048, allocations: 11.98 kB / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.3048, allocations: 0 / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.303e-05/0.3049, allocations: 167.1 kB / 0.5076 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3049, allocations: 4 kB / 0.5076 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.305, allocations: 3.938 kB / 0.5076 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.554e-05/0.3051, allocations: 33.66 kB / 0.5076 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3051, allocations: 3.938 kB / 0.5076 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3051, allocations: 0 / 0.5076 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3051, allocations: 0 / 0.5076 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.222e-05/0.3051, allocations: 8 kB / 0.5076 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.3053, allocations: 153.6 kB / 0.5078 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.503e-05/0.3053, allocations: 26.58 kB / 0.5078 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3054, allocations: 3.984 kB / 0.5078 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.3054, allocations: 34.55 kB / 0.5078 GB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.3054, allocations: 0 / 0.5078 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.3055, allocations: 49.66 kB / 0.5079 GB, free: 13.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.3056, allocations: 51.41 kB / 0.5079 GB, free: 13.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.3056, allocations: 97.84 kB / 0.508 GB, free: 13.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.3056, allocations: 29.83 kB / 0.5081 GB, free: 13.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.17e-05/0.3057, allocations: 84.14 kB / 0.5081 GB, free: 13.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.3057, allocations: 7.891 kB / 0.5082 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.3057, allocations: 0 / 0.5082 GB, free: 13.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.3057, allocations: 314.8 kB / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.3058, allocations: 0 / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.3058, allocations: 0 / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.479e-05/0.3058, allocations: 8 kB / 0.5085 GB, free: 12.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3058, allocations: 4.062 kB / 0.5085 GB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.741e-05/0.3059, allocations: 37.69 kB / 0.5085 GB, free: 12.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3059, allocations: 8 kB / 0.5085 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3059, allocations: 0 / 0.5085 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3059, allocations: 3.953 kB / 0.5085 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.306, allocations: 3.938 kB / 0.5085 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.306, allocations: 4 kB / 0.5085 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.306, allocations: 3.906 kB / 0.5085 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.306, allocations: 0 / 0.5085 GB, free: 12.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.3061, allocations: 113.9 kB / 0.5086 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.3061, allocations: 4 kB / 0.5086 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.457e-05/0.3062, allocations: 44.77 kB / 0.5087 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3062, allocations: 7.953 kB / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3062, allocations: 0 / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3062, allocations: 0 / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.35e-05/0.3063, allocations: 149.7 kB / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3063, allocations: 3.938 kB / 0.5088 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.3063, allocations: 0 / 0.5088 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3063, allocations: 4 kB / 0.5088 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.3063, allocations: 7.969 kB / 0.5088 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3063, allocations: 7.922 kB / 0.5089 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3063, allocations: 3.953 kB / 0.5089 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.738e-05/0.3064, allocations: 57.14 kB / 0.5089 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.3064, allocations: 85.09 kB / 0.509 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3065, allocations: 4 kB / 0.509 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/0.3065, allocations: 4 kB / 0.509 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.3065, allocations: 4.031 kB / 0.509 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3065, allocations: 3.953 kB / 0.509 GB, free: 12.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.274e-05/0.3065, allocations: 79.28 kB / 0.5091 GB, free: 11.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3065, allocations: 0 / 0.5091 GB, free: 11.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3068, allocations: 27.92 kB / 0.5091 GB, free: 11.96 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 (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.0001694/0.307, allocations: 127.2 kB / 0.5092 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.307, allocations: 7.938 kB / 0.5092 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3071, allocations: 4.062 kB / 0.5092 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.877e-06/0.3071, allocations: 4 kB / 0.5092 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.3073, allocations: 7.984 kB / 0.5093 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002038/0.3075, allocations: 112.6 kB / 0.5094 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3076, allocations: 0.677 MB / 0.51 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.94e-05/0.3076, allocations: 4.047 kB / 0.51 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.3076, allocations: 15.44 kB / 0.51 GB, free: 10.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3076, allocations: 0 / 0.51 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Templates: time 0.002819/0.3105, allocations: 0.7583 MB / 0.5108 GB, free: 10.2 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: