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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5277/0.5277, allocations: 95.61 MB / 110.6 MB, free: 9.367 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001454/0.001454, allocations: 164.2 kB / 134.2 MB, free: 2.27 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.405/1.405, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00188/0.001879, allocations: 112.7 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 15.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1382, allocations: 61.52 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.6055, allocations: 95.86 MB / 0.6056 GB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.6058, allocations: 72.73 kB / 0.6056 GB, free: 11.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008331/0.6141, allocations: 2.593 MB / 0.6082 GB, free: 9.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6142, allocations: 3.938 kB / 0.6082 GB, free: 9.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.6142, allocations: 0 / 0.6082 GB, free: 9.145 MB / 410.7 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.0005134/0.6147, allocations: 382.6 kB / 0.6085 GB, free: 8.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/0.6148, allocations: 11.98 kB / 0.6086 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.6148, allocations: 8.531 kB / 0.6086 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.615, allocations: 163.1 kB / 0.6087 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.615, allocations: 1.641 kB / 0.6087 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.6151, allocations: 0 / 0.6087 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.6153, allocations: 61.5 kB / 0.6088 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.6153, allocations: 0 / 0.6088 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6153, allocations: 4 kB / 0.6088 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.6153, allocations: 0 / 0.6088 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.6155, allocations: 43.22 kB / 0.6088 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.6159, allocations: 255.8 kB / 0.6091 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.6161, allocations: 41.95 kB / 0.6091 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.6161, allocations: 0 / 0.6091 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.6161, allocations: 41.2 kB / 0.6091 GB, free: 8.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6161, allocations: 0 / 0.6091 GB, free: 8.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.6165, allocations: 100.7 kB / 0.6092 GB, free: 7.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.6166, allocations: 51.41 kB / 0.6093 GB, free: 7.859 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.6166, allocations: 96.36 kB / 0.6094 GB, free: 7.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.6167, allocations: 29.64 kB / 0.6094 GB, free: 7.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.6167, allocations: 84.14 kB / 0.6095 GB, free: 7.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.6167, allocations: 3.906 kB / 0.6095 GB, free: 7.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.6168, allocations: 0 / 0.6095 GB, free: 7.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6169, allocations: 314 kB / 0.6098 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.617, allocations: 28 kB / 0.6098 GB, free: 7.297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.535e-05/0.6171, allocations: 19.36 kB / 0.6098 GB, free: 7.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.6172, allocations: 23.17 kB / 0.6099 GB, free: 7.262 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6172, allocations: 4.062 kB / 0.6099 GB, free: 7.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.6174, allocations: 81.11 kB / 0.6099 GB, free: 7.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.6174, allocations: 4 kB / 0.6099 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.6174, allocations: 0 / 0.6099 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.6174, allocations: 0 / 0.6099 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.6175, allocations: 16.02 kB / 0.61 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6176, allocations: 4 kB / 0.61 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.6176, allocations: 11.91 kB / 0.61 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.6176, allocations: 0 / 0.61 GB, free: 7.141 MB / 410.7 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 8.145e-05/0.6177, allocations: 117.2 kB / 0.6101 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.6177, allocations: 3.953 kB / 0.6101 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.618, allocations: 91.73 kB / 0.6102 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.618, allocations: 3.938 kB / 0.6102 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.618, allocations: 0 / 0.6102 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.618, allocations: 0 / 0.6102 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.6182, allocations: 153.5 kB / 0.6103 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6182, allocations: 4.219 kB / 0.6103 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.6183, allocations: 15.98 kB / 0.6104 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6183, allocations: 0 / 0.6104 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.6183, allocations: 7.938 kB / 0.6104 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6183, allocations: 0 / 0.6104 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6183, allocations: 0 / 0.6104 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.6185, allocations: 170.7 kB / 0.6105 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.6186, allocations: 81.11 kB / 0.6106 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.6186, allocations: 3.984 kB / 0.6106 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.6187, allocations: 7.953 kB / 0.6106 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.6188, allocations: 7.984 kB / 0.6106 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.6188, allocations: 4.031 kB / 0.6106 GB, free: 6.406 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.099e-05/0.6188, allocations: 86.47 kB / 0.6107 GB, free: 6.324 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6188, allocations: 3.938 kB / 0.6107 GB, free: 6.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.6191, allocations: 27.94 kB / 0.6107 GB, free: 6.293 MB / 410.7 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.0002135/0.6193, allocations: 135.1 kB / 0.6109 GB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.6195, allocations: 50.66 kB / 0.6109 GB, free: 6.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6195, allocations: 0 / 0.6109 GB, free: 6.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.6196, allocations: 19.98 kB / 0.6109 GB, free: 6.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.6198, allocations: 7.359 kB / 0.6109 GB, free: 6.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.6201, allocations: 132.8 kB / 0.6111 GB, free: 5.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.6203, allocations: 0.6809 MB / 0.6117 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.499e-05/0.6204, allocations: 3.906 kB / 0.6117 GB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.6204, allocations: 7.438 kB / 0.6117 GB, free: 5.211 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6204, allocations: 0 / 0.6117 GB, free: 5.211 MB / 410.7 MB Notification: Performance of Templates: time 0.002904/0.6233, allocations: 0.7291 MB / 0.6125 GB, free: 4.492 MB / 410.7 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)