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.005442/0.005443, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.001489/0.001489, allocations: 196.4 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002453/0.002453, allocations: 294.1 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.122/1.122, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003321/0.003321, allocations: 100.3 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1909, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003242/0.1942, allocations: 1.298 MB / 0.7672 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1954, allocations: 0.5655 MB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.1954, allocations: 0 / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.1954, allocations: 3.984 kB / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.1955, allocations: 7.938 kB / 0.7677 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.196, allocations: 95.56 kB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.784e-05/0.1961, allocations: 23.86 kB / 0.7678 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.1962, allocations: 0 / 0.7678 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.1962, allocations: 7.938 kB / 0.7679 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.1963, allocations: 8 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.1963, allocations: 0 / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.1966, allocations: 147.7 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.1966, allocations: 0 / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1966, allocations: 15.92 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1968, allocations: 92 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1969, allocations: 0 / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1969, allocations: 0 / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1969, allocations: 0 / 0.7681 GB, free: 6.652 MB / 0.5606 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.0004644/0.1973, allocations: 343.2 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1974, allocations: 12.03 kB / 0.7684 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.1974, allocations: 38.69 kB / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.1978, allocations: 36.89 kB / 0.7685 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.198, allocations: 160.4 kB / 0.7687 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.198, allocations: 384 / 0.7687 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.198, allocations: 8.312 kB / 0.7687 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1982, allocations: 50.22 kB / 0.7687 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1982, allocations: 3.938 kB / 0.7687 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.1982, allocations: 0 / 0.7687 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1982, allocations: 4 kB / 0.7687 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1983, allocations: 19.98 kB / 0.7688 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.1985, allocations: 153.7 kB / 0.7689 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1987, allocations: 38.58 kB / 0.7689 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.262e-05/0.1988, allocations: 28.84 kB / 0.769 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1988, allocations: 3.984 kB / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1988, allocations: 34.56 kB / 0.769 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1989, allocations: 0 / 0.769 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003146/0.1992, allocations: 73.67 kB / 0.7691 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1992, allocations: 59.41 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.1993, allocations: 97.83 kB / 0.7692 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1994, allocations: 33.7 kB / 0.7693 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.1994, allocations: 84.08 kB / 0.7693 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1994, allocations: 4.469 kB / 0.7693 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1995, allocations: 13.72 kB / 0.7694 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1997, allocations: 318.8 kB / 0.7697 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.1998, allocations: 15.94 kB / 0.7697 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.1998, allocations: 11.98 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.2, allocations: 28.83 kB / 0.7697 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2, allocations: 4 kB / 0.7697 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000173/0.2001, allocations: 57.73 kB / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2002, allocations: 7.938 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2002, allocations: 0 / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2002, allocations: 4 kB / 0.7698 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2003, allocations: 11.98 kB / 0.7698 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2003, allocations: 0 / 0.7698 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.2004, allocations: 3.938 kB / 0.7698 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2004, allocations: 4 kB / 0.7698 GB, free: 4.684 MB / 0.5606 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 0.0001036/0.2005, allocations: 110.5 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.2005, allocations: 7.922 kB / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.2006, allocations: 7.125 kB / 0.7699 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2006, allocations: 3.938 kB / 0.7699 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2006, allocations: 0 / 0.7699 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2006, allocations: 0 / 0.7699 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.2008, allocations: 161.6 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2008, allocations: 0 / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.2009, allocations: 11.98 kB / 0.7701 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2009, allocations: 3.938 kB / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.2009, allocations: 4 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2009, allocations: 4 kB / 0.7701 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2009, allocations: 0 / 0.7701 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.2011, allocations: 93.05 kB / 0.7702 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.502e-05/0.2012, allocations: 81.11 kB / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.2013, allocations: 11.86 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.2013, allocations: 4 kB / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.2013, allocations: 0 / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.2013, allocations: 0 / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.2014, allocations: 83.22 kB / 0.7704 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2014, allocations: 0 / 0.7704 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002187/0.2016, allocations: 15.98 kB / 0.7704 GB, free: 4 MB / 0.5606 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.0006134/0.2022, allocations: 0.6319 MB / 0.771 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2025, allocations: 39.94 kB / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2025, allocations: 0 / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.2025, allocations: 11.98 kB / 0.771 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2028, allocations: 8 kB / 0.7711 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.2033, allocations: 148.3 kB / 0.7712 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.2037, allocations: 0.6768 MB / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.839e-05/0.2037, allocations: 11.94 kB / 0.7719 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.2038, allocations: 11.42 kB / 0.7719 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2038, allocations: 0 / 0.7719 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.2275, allocations: 1.6 MB / 0.7734 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/7.939, allocations: 15.62 kB / 0.7735 GB, free: 0.918 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)