Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 252 MB / 267.3 MB, free: 10.84 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.00103/0.00103, allocations: 174.4 kB / 327 MB, free: 2.113 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.47/1.47, allocations: 205.4 MB / 0.578 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.0006811/0.0006811, allocations: 82.41 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 11.12 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1735, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001152/0.1747, allocations: 1.02 MB / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007507/0.1754, allocations: 0.5718 MB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.1755, allocations: 0 / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.1755, allocations: 3.938 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.1755, allocations: 7.969 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1758, allocations: 79.66 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.041e-05/0.1759, allocations: 23.8 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.1759, allocations: 8 kB / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.176, allocations: 4 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.176, allocations: 7.984 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.176, allocations: 0 / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.1763, allocations: 147.7 kB / 0.9027 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.1763, allocations: 7.922 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1763, allocations: 33.7 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1765, allocations: 92.05 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1765, allocations: 0 / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1765, allocations: 0 / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1765, allocations: 4 kB / 0.9029 GB, free: 61.37 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002903/0.1768, allocations: 339.5 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1769, allocations: 15.97 kB / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.1769, allocations: 30.75 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.1773, allocations: 32.83 kB / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.292e-05/0.1774, allocations: 164.3 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1774, allocations: 4.375 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.1774, allocations: 4.375 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1775, allocations: 50.22 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.1776, allocations: 3.938 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1776, allocations: 0 / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1776, allocations: 0 / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1777, allocations: 19.98 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.1778, allocations: 169.5 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1779, allocations: 38.53 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.178, allocations: 20.91 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.178, allocations: 3.984 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.1781, allocations: 38.56 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1781, allocations: 3.938 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002538/0.1783, allocations: 69.59 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.1784, allocations: 59.34 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.352e-05/0.1784, allocations: 97.84 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.1784, allocations: 33.83 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.1784, allocations: 80.14 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.1785, allocations: 3.906 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.1785, allocations: 0 / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.1785, allocations: 314.8 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.1786, allocations: 11.98 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.747e-05/0.1786, allocations: 11.98 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.1788, allocations: 32.91 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1788, allocations: 0 / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001408/0.1789, allocations: 57.67 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1789, allocations: 15.88 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1789, allocations: 0 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.179, allocations: 4.031 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.179, allocations: 7.984 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1791, allocations: 0 / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.1791, allocations: 7.984 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1791, allocations: 0 / 0.9045 GB, free: 59.43 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.597e-05/0.1792, allocations: 105.8 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-06/0.1792, allocations: 7.938 kB / 0.9047 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.1792, allocations: 15.06 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1792, allocations: 0 / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1793, allocations: 0 / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1793, allocations: 0 / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.14e-05/0.1793, allocations: 153.7 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1793, allocations: 0 / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.1794, allocations: 16 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1794, allocations: 3.938 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1794, allocations: 3.984 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1794, allocations: 0 / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1794, allocations: 4 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1796, allocations: 85.05 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.1797, allocations: 88.94 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1797, allocations: 3.938 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.1797, allocations: 4.031 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.1798, allocations: 4 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1798, allocations: 3.984 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.728e-05/0.1798, allocations: 79.28 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1798, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001772/0.18, allocations: 19.94 kB / 0.9051 GB, free: 58.75 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.0003405/0.1803, allocations: 0.6319 MB / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.1805, allocations: 31.91 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1805, allocations: 0 / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.629e-05/0.1806, allocations: 16.08 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.1808, allocations: 11.98 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.1812, allocations: 154.3 kB / 0.9059 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.1813, allocations: 0.6731 MB / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.428e-05/0.1814, allocations: 19.98 kB / 0.9066 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.1814, allocations: 7.438 kB / 0.9066 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.1814, allocations: 7.938 kB / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.1919, allocations: 1.372 MB / 0.908 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.192, allocations: 243.9 kB / 0.9082 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.768, allocations: 0 / 0.9082 GB, free: 55.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)