Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.65/1.65, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 185.4 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007192/0.000719, allocations: 90.34 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002923, allocations: 11.69 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1957, allocations: 106.3 MB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001398/0.1971, allocations: 1.133 MB / 0.9026 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004338/0.1976, allocations: 208.3 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.1976, allocations: 0 / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1976, allocations: 0 / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.1977, allocations: 3.938 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1979, allocations: 19.97 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.378e-05/0.1979, allocations: 27.86 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.198, allocations: 4 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.1981, allocations: 19.92 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.1981, allocations: 7.938 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1981, allocations: 0 / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-05/0.1982, allocations: 31.95 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.1982, allocations: 4 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.1983, allocations: 33.64 kB / 0.9029 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.953e-05/0.1983, allocations: 19.97 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1984, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1984, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.1984, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB 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.0003644/0.1987, allocations: 347.8 kB / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1988, allocations: 8.031 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.1989, allocations: 4.938 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.545e-05/0.199, allocations: 172.3 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.199, allocations: 384 / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.199, allocations: 384 / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1992, allocations: 66.17 kB / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1992, allocations: 192 / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1992, allocations: 3.938 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1992, allocations: 0 / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1994, allocations: 43.97 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.1997, allocations: 249 kB / 0.9038 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.1998, allocations: 38.5 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.1999, allocations: 36.89 kB / 0.9038 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1999, allocations: 7.922 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.1999, allocations: 34.56 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1999, allocations: 3.938 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003374/0.2003, allocations: 97.64 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.2003, allocations: 51.41 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.362e-05/0.2004, allocations: 97.86 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.2004, allocations: 29.7 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.2004, allocations: 80.27 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.2004, allocations: 15.83 kB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.2005, allocations: 0 / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.2005, allocations: 318.8 kB / 0.9045 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.2006, allocations: 19.98 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.2007, allocations: 27.92 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.2008, allocations: 52.81 kB / 0.9046 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2009, allocations: 0 / 0.9046 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001741/0.201, allocations: 81.66 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2011, allocations: 4 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2011, allocations: 0 / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2011, allocations: 0 / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.2012, allocations: 12 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2012, allocations: 8.016 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.2012, allocations: 11.91 kB / 0.9048 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2012, allocations: 0 / 0.9048 GB, free: 59.85 MB / 0.6042 GB 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 4.978e-05/0.2013, allocations: 121.7 kB / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.2013, allocations: 0 / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.2016, allocations: 88.77 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2016, allocations: 4 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2016, allocations: 0 / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2016, allocations: 0 / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.2017, allocations: 161.6 kB / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2017, allocations: 0 / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.727e-05/0.2018, allocations: 19.98 kB / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2018, allocations: 0 / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.2018, allocations: 0 / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2018, allocations: 0 / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2018, allocations: 3.984 kB / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.202, allocations: 187.6 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.2021, allocations: 81.02 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.2021, allocations: 0 / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.2022, allocations: 11.98 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.2022, allocations: 4 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.2022, allocations: 4 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.983e-05/0.2022, allocations: 79.27 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2022, allocations: 8 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002002/0.2025, allocations: 7.938 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.843e-05/0.2025, allocations: 95.25 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.2028, allocations: 55.83 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2028, allocations: 4.062 kB / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.2028, allocations: 23.98 kB / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.2031, allocations: 11.94 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.2034, allocations: 158.3 kB / 0.9058 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2035, allocations: 0.677 MB / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.2036, allocations: 7.438 kB / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2036, allocations: 0 / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.001606/0.2052, allocations: 0.5784 MB / 0.9071 GB, free: 57.32 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)