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.001264/0.001264, allocations: 108 kB / 15.61 MB, free: 152 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.001311/0.001311, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002221/0.002221, allocations: 290.7 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9066/0.9066, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 104.5 kB / 0.5954 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1673, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002476/0.1698, allocations: 1.278 MB / 0.6815 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00092/0.1708, allocations: 0.561 MB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.1708, allocations: 0 / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1708, allocations: 2.469 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.1709, allocations: 11.91 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.1713, allocations: 91.58 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.705e-05/0.1714, allocations: 19.81 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.1714, allocations: 10.05 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.093e-05/0.1715, allocations: 4 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.1715, allocations: 4 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1715, allocations: 0 / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.1718, allocations: 147.8 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.1718, allocations: 3.938 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.1719, allocations: 8.562 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1721, allocations: 96.05 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1721, allocations: 0.7188 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1721, allocations: 0 / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1721, allocations: 0.875 kB / 0.6825 GB, free: 14.36 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.0003669/0.1725, allocations: 344.1 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1725, allocations: 13.38 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.1726, allocations: 34.75 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.173, allocations: 25.62 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1731, allocations: 172.3 kB / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1731, allocations: 384 / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1732, allocations: 4.375 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1733, allocations: 50.17 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1733, allocations: 3.938 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1734, allocations: 0 / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1734, allocations: 0 / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1735, allocations: 27.97 kB / 0.6831 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.1737, allocations: 153.7 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1739, allocations: 42.58 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.1739, allocations: 16.92 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.174, allocations: 11.97 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.174, allocations: 34.56 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.174, allocations: 7.875 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000298/0.1743, allocations: 69.59 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1743, allocations: 55.41 kB / 0.6835 GB, free: 13.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.1744, allocations: 97.98 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1745, allocations: 29.7 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.1745, allocations: 80.14 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1745, allocations: 11.78 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1746, allocations: 17.7 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1747, allocations: 314.8 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.1748, allocations: 7.984 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.1748, allocations: 19.98 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.175, allocations: 28.78 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.175, allocations: 4 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.1752, allocations: 57.67 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1752, allocations: 12.03 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1752, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1752, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1753, allocations: 11.98 kB / 0.6842 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1753, allocations: 0 / 0.6842 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.1754, allocations: 3.984 kB / 0.6842 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1754, allocations: 4 kB / 0.6842 GB, free: 12.39 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 6.99e-05/0.1755, allocations: 107.2 kB / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.1755, allocations: 7.938 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.1756, allocations: 11.12 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1756, allocations: 0 / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1756, allocations: 0 / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1756, allocations: 0 / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.705e-05/0.1757, allocations: 161.5 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1757, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-05/0.1758, allocations: 8 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1758, allocations: 7.938 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1758, allocations: 7.984 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1758, allocations: 4 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1758, allocations: 0 / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.176, allocations: 81.11 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.1761, allocations: 85.03 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1761, allocations: 7.969 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.1762, allocations: 4 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1762, allocations: 0 / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1762, allocations: 3.984 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.1763, allocations: 79.28 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1763, allocations: 0 / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.1765, allocations: 12 kB / 0.6847 GB, free: 11.72 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.0005193/0.177, allocations: 0.6435 MB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1772, allocations: 23.97 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1772, allocations: 8.094 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.1773, allocations: 19.92 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.1775, allocations: 9.859 kB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.178, allocations: 152.3 kB / 0.6856 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.1783, allocations: 0.6768 MB / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.445e-05/0.1783, allocations: 7.984 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1784, allocations: 11.44 kB / 0.6862 GB, free: 10.08 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1784, allocations: 0 / 0.6862 GB, free: 10.08 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.1945, allocations: 1.583 MB / 0.6878 GB, free: 8.641 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.089, allocations: 11.33 kB / 0.6878 GB, free: 8.633 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 & 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)