Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 192.5 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 74.62 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1939, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002366/0.1963, allocations: 1.413 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.1972, allocations: 0.5985 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.1972, allocations: 0 / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.1973, allocations: 0 / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.489e-05/0.1973, allocations: 11.92 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.1977, allocations: 99.56 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.1978, allocations: 19.92 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.1978, allocations: 11.98 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.1979, allocations: 7.938 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.1979, allocations: 11.98 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.198, allocations: 4 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.1982, allocations: 151.7 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.1982, allocations: 7.938 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.1983, allocations: 0 / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.1984, allocations: 104 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1985, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1985, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1985, allocations: 7.984 kB / 0.786 GB, free: 10.81 MB / 0.6075 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.0004321/0.1989, allocations: 355.3 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.199, allocations: 15.97 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.199, allocations: 30.75 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.1994, allocations: 28.91 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1995, allocations: 168.4 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1995, allocations: 4.375 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1995, allocations: 8.312 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1998, allocations: 62.2 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1998, allocations: 3.938 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1998, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1998, allocations: 4 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.2001, allocations: 51.94 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.2005, allocations: 276.8 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.2007, allocations: 66.41 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.2009, allocations: 32.89 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2009, allocations: 0 / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2009, allocations: 34.56 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2009, allocations: 0 / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000486/0.2014, allocations: 113.6 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2015, allocations: 51.41 kB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.2015, allocations: 109.9 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.2016, allocations: 25.7 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.2016, allocations: 84.14 kB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.2016, allocations: 7.906 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.2017, allocations: 13.7 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2018, allocations: 318.8 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2019, allocations: 23.97 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.202, allocations: 31.97 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.2023, allocations: 52.81 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2023, allocations: 7.938 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002934/0.2026, allocations: 89.69 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2026, allocations: 4 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2026, allocations: 3.938 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2027, allocations: 3.938 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.2028, allocations: 11.98 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2028, allocations: 0 / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.2029, allocations: 16.02 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2029, allocations: 7.984 kB / 0.788 GB, free: 8.496 MB / 0.6075 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 8.158e-05/0.203, allocations: 110.4 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.203, allocations: 7.906 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.2031, allocations: 7.062 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2031, allocations: 0 / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2031, allocations: 4 kB / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2031, allocations: 0 / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.2033, allocations: 169.6 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2033, allocations: 0 / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.2035, allocations: 15.97 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2035, allocations: 0 / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.2035, allocations: 0 / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2035, allocations: 0 / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2035, allocations: 0 / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.2038, allocations: 195.4 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.2039, allocations: 77.11 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2039, allocations: 0 / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.204, allocations: 11.98 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.2041, allocations: 4.031 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.2041, allocations: 0 / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.2041, allocations: 87.27 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2041, allocations: 0 / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002642/0.2044, allocations: 16 kB / 0.7887 GB, free: 7.711 MB / 0.6075 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.0007677/0.2052, allocations: 0.7241 MB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.2055, allocations: 67.89 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2055, allocations: 0 / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.2056, allocations: 27.97 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2059, allocations: 8 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.2065, allocations: 172.2 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2068, allocations: 0.6768 MB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.812e-05/0.2069, allocations: 11.94 kB / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.2069, allocations: 7.438 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of SimCode: time 1.763e-06/0.2069, allocations: 0 / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.2241, allocations: 1.656 MB / 0.792 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.832, allocations: 9.125 kB / 0.792 GB, free: 4.359 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)