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.001201/0.001201, allocations: 108 kB / 15.6 MB, free: 132 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.001554/0.001554, allocations: 192 kB / 16.53 MB, free: 6.391 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.753/1.753, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.714/1.714, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001567/0.001567, allocations: 62.56 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.273, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002945/0.276, allocations: 1.287 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.277, allocations: 0.5702 MB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.2771, allocations: 4 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.2771, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.2772, allocations: 7.922 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.2776, allocations: 91.56 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.2777, allocations: 23.88 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.731e-05/0.2777, allocations: 4 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.2778, allocations: 7.984 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.2778, allocations: 11.92 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.2778, allocations: 0 / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.2781, allocations: 135.8 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.2781, allocations: 3.938 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.2782, allocations: 7.984 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.2784, allocations: 100 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2784, allocations: 0 / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2784, allocations: 0 / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2784, allocations: 4 kB / 0.7857 GB, free: 11.12 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.0003949/0.2788, allocations: 347.4 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2789, allocations: 8.031 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.2789, allocations: 30.75 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004604/0.2794, allocations: 28.89 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2795, allocations: 164.4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.2795, allocations: 4.375 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2795, allocations: 4.312 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.2797, allocations: 54.22 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2797, allocations: 3.938 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2798, allocations: 3.984 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2798, allocations: 3.938 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.2799, allocations: 27.97 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.2801, allocations: 153.7 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.2803, allocations: 42.59 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.2804, allocations: 16.91 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.2804, allocations: 0 / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2804, allocations: 34.56 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.2804, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003084/0.2807, allocations: 77.53 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2808, allocations: 51.41 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.2809, allocations: 102 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.2809, allocations: 29.7 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.2809, allocations: 80.14 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.2809, allocations: 7.844 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.281, allocations: 21.7 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.2811, allocations: 310.8 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.2812, allocations: 15.98 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.2812, allocations: 15.98 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.2814, allocations: 32.78 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2814, allocations: 0 / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.2816, allocations: 53.67 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2816, allocations: 11.94 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2816, allocations: 4.094 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2816, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2817, allocations: 7.984 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2818, allocations: 0 / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.2818, allocations: 11.84 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2819, allocations: 3.984 kB / 0.7874 GB, free: 9.16 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.386e-05/0.2819, allocations: 109.8 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.282, allocations: 11.94 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.282, allocations: 7.125 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.282, allocations: 3.938 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.282, allocations: 0 / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.282, allocations: 0 / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.2822, allocations: 153.7 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2822, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.2823, allocations: 15.92 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2823, allocations: 3.938 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2823, allocations: 4 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2823, allocations: 0 / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2823, allocations: 3.984 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.2825, allocations: 81.11 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.2826, allocations: 81.09 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.2826, allocations: 7.938 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.2827, allocations: 8.031 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.2827, allocations: 0 / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.2827, allocations: 4 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.2828, allocations: 83.27 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2828, allocations: 0 / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002222/0.283, allocations: 12 kB / 0.7879 GB, free: 8.48 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.0005362/0.2835, allocations: 0.6358 MB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.2837, allocations: 27.97 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2837, allocations: 96 / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.2838, allocations: 23.92 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.2841, allocations: 6.438 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.2847, allocations: 161.1 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.285, allocations: 0.6729 MB / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.18e-05/0.2851, allocations: 16.27 kB / 0.7894 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.2851, allocations: 11.42 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2851, allocations: 0 / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.3028, allocations: 1.553 MB / 0.791 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.25, allocations: 11.69 kB / 0.791 GB, free: 5.398 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)