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.00153/0.00153, allocations: 105.4 kB / 15.7 MB, free: 28 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.002052/0.002052, allocations: 186.3 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.388/1.388, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.77 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.001482/0.001482, allocations: 72.09 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1962, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002421/0.1987, allocations: 1.291 MB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.1997, allocations: 0.574 MB / 0.7855 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.1997, allocations: 0 / 0.7855 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.1997, allocations: 0 / 0.7855 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.1998, allocations: 11.91 kB / 0.7855 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.2002, allocations: 95.58 kB / 0.7856 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.2003, allocations: 15.88 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.2003, allocations: 3.984 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.2004, allocations: 7.938 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.2004, allocations: 12 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.2004, allocations: 0 / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.2007, allocations: 143.8 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.2007, allocations: 4 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2007, allocations: 11.88 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.2009, allocations: 84.12 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2009, allocations: 4 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2009, allocations: 3.984 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.201, allocations: 0 / 0.7858 GB, free: 11.03 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.0003619/0.2013, allocations: 347.4 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2014, allocations: 12.03 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.2014, allocations: 30.75 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.2018, allocations: 28.91 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2019, allocations: 172.3 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.2019, allocations: 384 / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2019, allocations: 4.375 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2021, allocations: 54.17 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2021, allocations: 3.938 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.2021, allocations: 0 / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2021, allocations: 0 / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.2023, allocations: 19.97 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.2024, allocations: 157.7 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.2026, allocations: 42.58 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.2026, allocations: 24.84 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2027, allocations: 0 / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.2027, allocations: 34.56 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2027, allocations: 3.938 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000282/0.203, allocations: 73.59 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.203, allocations: 55.41 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.2031, allocations: 89.86 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.2031, allocations: 29.7 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.2032, allocations: 84.14 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.2032, allocations: 15.95 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.2032, allocations: 13.72 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.2033, allocations: 310.8 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.2034, allocations: 15.98 kB / 0.7874 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.331e-05/0.2035, allocations: 11.98 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2036, allocations: 32.84 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2036, allocations: 7.938 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001547/0.2037, allocations: 53.67 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2038, allocations: 11.92 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2038, allocations: 0 / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2038, allocations: 4 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.2039, allocations: 4 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2039, allocations: 4.031 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.204, allocations: 11.89 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.204, allocations: 4 kB / 0.7875 GB, free: 9.059 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 6.011e-05/0.204, allocations: 110.5 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2041, allocations: 3.938 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.2041, allocations: 7.125 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2041, allocations: 4 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2041, allocations: 0 / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2041, allocations: 3.984 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.666e-05/0.2042, allocations: 157.6 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2042, allocations: 0 / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.2043, allocations: 11.98 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2043, allocations: 3.938 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.2043, allocations: 4 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2043, allocations: 0 / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2043, allocations: 0 / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.2045, allocations: 85.11 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.2046, allocations: 81.09 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2046, allocations: 11.88 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.2047, allocations: 4 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.2047, allocations: 4.172 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2047, allocations: 4.031 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.2047, allocations: 83.27 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2047, allocations: 0 / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001968/0.2049, allocations: 12 kB / 0.7881 GB, free: 8.379 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.0004564/0.2054, allocations: 0.6397 MB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001732/0.2056, allocations: 23.98 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2056, allocations: 4 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.208e-05/0.2057, allocations: 23.84 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.2059, allocations: 12.16 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.2064, allocations: 149.2 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.2066, allocations: 0.6768 MB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.008e-05/0.2066, allocations: 4 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.2067, allocations: 19.44 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2067, allocations: 0 / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.221, allocations: 1.574 MB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.285, allocations: 6.438 kB / 0.7911 GB, free: 5.297 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)