Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_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.00145/0.00145, allocations: 109.4 kB / 15.69 MB, free: 128 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.001658/0.001658, allocations: 188 kB / 16.62 MB, free: 6.582 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.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.716/1.716, 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.00143/0.001431, allocations: 73.89 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2174, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002449/0.2199, allocations: 1.291 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.2208, allocations: 0.5703 MB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.2209, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.2209, allocations: 3.938 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.2209, allocations: 11.91 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.2213, allocations: 91.58 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.2214, allocations: 19.86 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.2215, allocations: 4 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.2215, allocations: 8 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.2215, allocations: 7.938 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.2216, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.2218, allocations: 143.8 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.2219, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.2219, allocations: 8 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.2221, allocations: 92.05 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2221, allocations: 0 / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2221, allocations: 0 / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2221, allocations: 4 kB / 0.7858 GB, free: 11 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003794/0.2225, allocations: 347.4 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2226, allocations: 11.97 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.2226, allocations: 34.69 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.223, allocations: 28.89 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2231, allocations: 168.4 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2231, allocations: 384 / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.2232, allocations: 4.375 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.2233, allocations: 50.17 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2233, allocations: 7.922 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2234, allocations: 0 / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2234, allocations: 0 / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.2235, allocations: 19.98 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.2237, allocations: 153.7 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.2238, allocations: 54.52 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.2239, allocations: 16.91 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.2239, allocations: 0 / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.224, allocations: 34.56 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.224, allocations: 4 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002966/0.2243, allocations: 77.53 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.2243, allocations: 51.41 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.2244, allocations: 93.86 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2244, allocations: 25.7 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.2244, allocations: 84.25 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.2245, allocations: 15.84 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.2245, allocations: 13.72 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2246, allocations: 314.8 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.2247, allocations: 12 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.2248, allocations: 11.98 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.2249, allocations: 32.91 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2249, allocations: 0 / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001686/0.2251, allocations: 61.59 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2251, allocations: 11.94 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2251, allocations: 0 / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2251, allocations: 0 / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.2252, allocations: 12.02 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2252, allocations: 0 / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.2253, allocations: 7.906 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2253, allocations: 4 kB / 0.7875 GB, free: 9.039 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 7.191e-05/0.2254, allocations: 117.8 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.2254, allocations: 3.938 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.2255, allocations: 11.23 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.2255, allocations: 7.984 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2255, allocations: 3.938 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2255, allocations: 0 / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.2256, allocations: 153.7 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2256, allocations: 4 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-05/0.2257, allocations: 7.984 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2257, allocations: 3.938 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2257, allocations: 0 / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2257, allocations: 0 / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2257, allocations: 0 / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.226, allocations: 93.03 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.226, allocations: 77.11 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.226, allocations: 7.938 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.2261, allocations: 3.984 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.2261, allocations: 0 / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2262, allocations: 12.03 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.2262, allocations: 75.28 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2262, allocations: 0 / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002107/0.2264, allocations: 12 kB / 0.7881 GB, free: 8.355 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.0005194/0.2269, allocations: 0.6397 MB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.2271, allocations: 27.97 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.2271, allocations: 0 / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.2272, allocations: 15.98 kB / 0.7887 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.2275, allocations: 8.156 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.2279, allocations: 157.1 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.2282, allocations: 0.6768 MB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.087e-05/0.2283, allocations: 11.94 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.2283, allocations: 11.44 kB / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2283, allocations: 0 / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.2486, allocations: 1.563 MB / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/7.977, allocations: 14.62 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)