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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 100 kB / 15.05 MB, free: 1.105 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.001657/0.001657, allocations: 177.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.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.575/0.575, allocations: 95.59 MB / 366 MB, free: 10.38 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.0006358/0.0006362, allocations: 12 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3079, allocations: 70.35 MB / 0.505 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00115/0.3091, allocations: 1.11 MB / 0.5061 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.3094, allocations: 184.4 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.3095, allocations: 0 / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.3095, allocations: 0 / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.3095, allocations: 15.97 kB / 0.5063 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.3097, allocations: 15.97 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.925e-05/0.3098, allocations: 15.98 kB / 0.5063 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.3098, allocations: 3.984 kB / 0.5063 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.3099, allocations: 7.938 kB / 0.5063 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.505e-05/0.3099, allocations: 11.98 kB / 0.5063 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3099, allocations: 0 / 0.5063 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.528e-05/0.31, allocations: 27.98 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-06/0.31, allocations: 3.938 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.3101, allocations: 29.7 kB / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.249e-05/0.3101, allocations: 33.86 kB / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.3101, allocations: 0 / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3102, allocations: 0 / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.3102, allocations: 0 / 0.5064 GB, free: 15.02 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.0003431/0.3105, allocations: 343.2 kB / 0.5067 GB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3106, allocations: 15.92 kB / 0.5068 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3107, allocations: 11.98 kB / 0.5068 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/0.3108, allocations: 163.1 kB / 0.5069 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3108, allocations: 0 / 0.5069 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3108, allocations: 4 kB / 0.5069 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3109, allocations: 57.62 kB / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.311, allocations: 0 / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.311, allocations: 7.922 kB / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.311, allocations: 0 / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3111, allocations: 47.95 kB / 0.507 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.3114, allocations: 248.8 kB / 0.5073 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.3116, allocations: 46.55 kB / 0.5073 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3116, allocations: 4.062 kB / 0.5073 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.3116, allocations: 34.5 kB / 0.5074 GB, free: 13.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3116, allocations: 0 / 0.5074 GB, free: 13.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003373/0.312, allocations: 97.64 kB / 0.5075 GB, free: 13.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.312, allocations: 51.41 kB / 0.5075 GB, free: 13.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.382e-05/0.312, allocations: 97.86 kB / 0.5076 GB, free: 13.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.3121, allocations: 25.7 kB / 0.5076 GB, free: 13.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/0.3121, allocations: 88.27 kB / 0.5077 GB, free: 13.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.3121, allocations: 11.83 kB / 0.5077 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.3121, allocations: 0 / 0.5077 GB, free: 13.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.156e-05/0.3122, allocations: 314.8 kB / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.3122, allocations: 19.98 kB / 0.508 GB, free: 13.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.3123, allocations: 23.98 kB / 0.5081 GB, free: 13.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.3124, allocations: 27.91 kB / 0.5081 GB, free: 13.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3124, allocations: 0 / 0.5081 GB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001713/0.3126, allocations: 77.69 kB / 0.5082 GB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3126, allocations: 8 kB / 0.5082 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3126, allocations: 3.938 kB / 0.5082 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3126, allocations: 0 / 0.5082 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.3127, allocations: 15.98 kB / 0.5082 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3127, allocations: 0 / 0.5082 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.3128, allocations: 20.02 kB / 0.5082 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3128, allocations: 0 / 0.5082 GB, free: 12.98 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 4.182e-05/0.3128, allocations: 109.8 kB / 0.5083 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3129, allocations: 7.953 kB / 0.5083 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.3131, allocations: 100.6 kB / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3131, allocations: 0 / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3131, allocations: 0 / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3131, allocations: 0 / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.3132, allocations: 161.7 kB / 0.5086 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3132, allocations: 3.938 kB / 0.5086 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.3133, allocations: 8 kB / 0.5086 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3133, allocations: 3.953 kB / 0.5086 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.3133, allocations: 4 kB / 0.5086 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3133, allocations: 0 / 0.5086 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3133, allocations: 7.984 kB / 0.5086 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3135, allocations: 175.5 kB / 0.5088 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.3136, allocations: 81.11 kB / 0.5088 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3136, allocations: 3.953 kB / 0.5088 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.3137, allocations: 7.984 kB / 0.5088 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.3137, allocations: 8 kB / 0.5089 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3137, allocations: 0 / 0.5089 GB, free: 12.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.916e-05/0.3137, allocations: 83.55 kB / 0.5089 GB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3137, allocations: 0 / 0.5089 GB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.314, allocations: 4 kB / 0.5089 GB, free: 12.12 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 (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 6.635e-05/0.314, allocations: 103.2 kB / 0.509 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.3142, allocations: 47.97 kB / 0.5091 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3142, allocations: 0 / 0.5091 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.3143, allocations: 35.97 kB / 0.5091 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.3145, allocations: 4 kB / 0.5091 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.3147, allocations: 128.6 kB / 0.5092 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.3149, allocations: 0.677 MB / 0.5099 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.103e-05/0.3149, allocations: 11.98 kB / 0.5099 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.3149, allocations: 7.438 kB / 0.5099 GB, free: 11.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3149, allocations: 0 / 0.5099 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Templates: time 0.002216/0.3172, allocations: 405.8 kB / 0.5103 GB, free: 10.66 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: