Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 252 MB / 268 MB, free: 10.85 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.0009813/0.0009813, allocations: 184 kB / 327.6 MB, free: 2.078 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.873/1.873, 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.0009039/0.000904, allocations: 95.95 kB / 0.6833 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 11.69 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1987, allocations: 106.3 MB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001569/0.2003, allocations: 1.145 MB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009057/0.2013, allocations: 0.5977 MB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.2013, allocations: 4 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.2014, allocations: 0 / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.2014, allocations: 7.922 kB / 0.9032 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.2018, allocations: 87.64 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.2019, allocations: 19.88 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.202, allocations: 15.92 kB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.2021, allocations: 4 kB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.2021, allocations: 15.92 kB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2021, allocations: 0 / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.2024, allocations: 151.7 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2024, allocations: 4 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.2025, allocations: 33.64 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.2026, allocations: 76.12 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2027, allocations: 0 / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2027, allocations: 0 / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.2027, allocations: 4 kB / 0.9035 GB, free: 61.15 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.0004018/0.2031, allocations: 347.5 kB / 0.9039 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2031, allocations: 8.031 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004495/0.2036, allocations: 32.89 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2037, allocations: 168.3 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2037, allocations: 8.359 kB / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2037, allocations: 384 / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.204, allocations: 74.2 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.204, allocations: 192 / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.204, allocations: 3.938 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.204, allocations: 0 / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.2043, allocations: 71.81 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.2047, allocations: 280.7 kB / 0.9045 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.2049, allocations: 70.47 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.2051, allocations: 36.89 kB / 0.9046 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2051, allocations: 0 / 0.9046 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.2051, allocations: 30.56 kB / 0.9046 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.2051, allocations: 7.938 kB / 0.9046 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004953/0.2056, allocations: 129.7 kB / 0.9048 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.2057, allocations: 55.39 kB / 0.9048 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.2057, allocations: 93.86 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2057, allocations: 25.7 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.2058, allocations: 88.14 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2058, allocations: 3.906 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.2058, allocations: 0 / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.2059, allocations: 318.9 kB / 0.9053 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.206, allocations: 35.97 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.2061, allocations: 31.97 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.2064, allocations: 68.81 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2064, allocations: 0 / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002861/0.2067, allocations: 109.5 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2067, allocations: 4 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2067, allocations: 3.938 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2067, allocations: 0 / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2069, allocations: 20.02 kB / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2069, allocations: 0 / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.207, allocations: 15.92 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.207, allocations: 0 / 0.9056 GB, free: 58.83 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 5.896e-05/0.2071, allocations: 115.8 kB / 0.9057 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.2071, allocations: 8 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.2071, allocations: 7.109 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2071, allocations: 0 / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2071, allocations: 0 / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2072, allocations: 3.938 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.2073, allocations: 177.5 kB / 0.9059 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2073, allocations: 0 / 0.9059 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2074, allocations: 19.98 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2074, allocations: 0 / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2074, allocations: 3.984 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2075, allocations: 0 / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2075, allocations: 0 / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.2078, allocations: 195.4 kB / 0.9061 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.2078, allocations: 81.09 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2078, allocations: 0 / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2079, allocations: 11.98 kB / 0.9062 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.208, allocations: 4.188 kB / 0.9062 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.208, allocations: 4.031 kB / 0.9062 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.546e-05/0.208, allocations: 83.27 kB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.208, allocations: 0 / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002373/0.2083, allocations: 23.89 kB / 0.9063 GB, free: 58.02 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 (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.0001509/0.2084, allocations: 107.2 kB / 0.9064 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.2087, allocations: 75.92 kB / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2087, allocations: 0 / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.2089, allocations: 36.03 kB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.2091, allocations: 7.875 kB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.2096, allocations: 170.3 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.2097, allocations: 0.677 MB / 0.9073 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.2097, allocations: 15.48 kB / 0.9074 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of SimCode: time 1.353e-06/0.2097, allocations: 0 / 0.9074 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.002173/0.2119, allocations: 0.8934 MB / 0.9082 GB, free: 55.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)