Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_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.001284/0.001284, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001407, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001996, allocations: 271.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9218/0.9218, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 92.09 kB / 0.5946 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.194, allocations: 86.98 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002344/0.1964, allocations: 1.347 MB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009015/0.1973, allocations: 0.5836 MB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.1974, allocations: 0 / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1974, allocations: 0 / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.1974, allocations: 3.938 kB / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1978, allocations: 79.7 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.1978, allocations: 19.88 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.1979, allocations: 3.984 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.1979, allocations: 7.984 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.1979, allocations: 19.92 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1979, allocations: 0 / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.1982, allocations: 143.7 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1982, allocations: 4 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.1983, allocations: 7.984 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.1984, allocations: 92 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1985, allocations: 0 / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1985, allocations: 4 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1985, allocations: 0 / 0.6818 GB, free: 14.77 MB / 494.1 MB 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.0003585/0.1988, allocations: 347.5 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1989, allocations: 8.031 kB / 0.6821 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.1989, allocations: 34.75 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/0.1993, allocations: 24.91 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1994, allocations: 172.3 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1995, allocations: 4.312 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1995, allocations: 384 / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1996, allocations: 46.23 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1996, allocations: 3.938 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1997, allocations: 4 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1997, allocations: 0 / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1998, allocations: 23.91 kB / 0.6824 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.2, allocations: 161.7 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.2001, allocations: 42.55 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.2002, allocations: 20.91 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2002, allocations: 0 / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.2003, allocations: 30.56 kB / 0.6827 GB, free: 13.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.2003, allocations: 7.938 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002826/0.2005, allocations: 77.53 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2006, allocations: 51.41 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.2007, allocations: 93.86 kB / 0.6829 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2007, allocations: 25.7 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.2007, allocations: 88.27 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.2007, allocations: 15.84 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.2008, allocations: 13.7 kB / 0.683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2009, allocations: 314.8 kB / 0.6833 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.201, allocations: 11.98 kB / 0.6834 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.201, allocations: 11.98 kB / 0.6834 GB, free: 12.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.2011, allocations: 32.91 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2011, allocations: 0 / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001729/0.2013, allocations: 61.61 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2013, allocations: 7.938 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2014, allocations: 3.984 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.2014, allocations: 0 / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.2015, allocations: 8.031 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2015, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.2016, allocations: 7.984 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.2016, allocations: 0 / 0.6835 GB, free: 12.81 MB / 494.1 MB 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.988e-05/0.2016, allocations: 115.2 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.2017, allocations: 3.938 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.2017, allocations: 7.062 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2017, allocations: 4 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2017, allocations: 0 / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2017, allocations: 3.984 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.2018, allocations: 165.6 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2019, allocations: 0 / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.2019, allocations: 7.984 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2019, allocations: 3.938 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.202, allocations: 0 / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.202, allocations: 0 / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.202, allocations: 3.938 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.2022, allocations: 85.11 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.2022, allocations: 81.28 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2023, allocations: 7.938 kB / 0.6839 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.2023, allocations: 7.984 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.2023, allocations: 3.984 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.2024, allocations: 11.97 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.125e-05/0.2024, allocations: 75.28 kB / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2024, allocations: 0 / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001933/0.2026, allocations: 16 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB 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.0004868/0.2031, allocations: 0.6397 MB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.2033, allocations: 27.98 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2033, allocations: 0 / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.091e-05/0.2033, allocations: 15.97 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.2036, allocations: 12.16 kB / 0.6847 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.204, allocations: 157.9 kB / 0.6849 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2043, allocations: 0.677 MB / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.324e-05/0.2044, allocations: 8 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.2044, allocations: 15.44 kB / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2044, allocations: 0 / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.2152, allocations: 1.437 MB / 0.687 GB, free: 9.211 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.2155, allocations: 241.7 kB / 0.6872 GB, free: 8.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.844, allocations: 0 / 0.6872 GB, free: 8.957 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)