Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_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.001282/0.001282, 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.001323/0.001323, allocations: 196.8 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 290.5 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 104.9 kB / 0.6065 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1596, allocations: 89.14 MB / 0.6936 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002614/0.1622, allocations: 1.414 MB / 0.695 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000932/0.1632, allocations: 0.5928 MB / 0.6956 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.1632, allocations: 0 / 0.6956 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.1632, allocations: 0 / 0.6956 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.1633, allocations: 3.938 kB / 0.6956 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1637, allocations: 99.55 kB / 0.6957 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.076e-05/0.1637, allocations: 31.86 kB / 0.6957 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.1638, allocations: 8 kB / 0.6957 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.1639, allocations: 8 kB / 0.6957 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.1639, allocations: 11.92 kB / 0.6957 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.1639, allocations: 0 / 0.6957 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.1642, allocations: 151.7 kB / 0.6959 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1642, allocations: 4 kB / 0.6959 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.1642, allocations: 7.938 kB / 0.6959 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.1644, allocations: 104 kB / 0.696 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1645, allocations: 0 / 0.696 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1645, allocations: 0 / 0.696 GB, free: 1.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1645, allocations: 0 / 0.696 GB, free: 1.832 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004604/0.1649, allocations: 363.4 kB / 0.6963 GB, free: 1.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.165, allocations: 8.031 kB / 0.6963 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.165, allocations: 30.75 kB / 0.6963 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.1654, allocations: 28.89 kB / 0.6964 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1656, allocations: 176.3 kB / 0.6965 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1656, allocations: 384 / 0.6965 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1656, allocations: 8.359 kB / 0.6966 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.1659, allocations: 66.14 kB / 0.6966 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1659, allocations: 3.938 kB / 0.6966 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1659, allocations: 7.938 kB / 0.6966 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1659, allocations: 0 / 0.6966 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.1662, allocations: 55.94 kB / 0.6967 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1666, allocations: 272.8 kB / 0.6969 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1669, allocations: 70.41 kB / 0.697 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.167, allocations: 28.89 kB / 0.697 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.167, allocations: 4 kB / 0.697 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1671, allocations: 30.56 kB / 0.6971 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1671, allocations: 0 / 0.6971 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004991/0.1676, allocations: 113.6 kB / 0.6972 GB, free: 420 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1676, allocations: 51.41 kB / 0.6972 GB, free: 356 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.1677, allocations: 101.8 kB / 0.6973 GB, free: 244 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1677, allocations: 29.7 kB / 0.6973 GB, free: 208 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.1678, allocations: 80.14 kB / 0.6974 GB, free: 124 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1678, allocations: 15.91 kB / 0.6974 GB, free: 108 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.1679, allocations: 17.7 kB / 0.6975 GB, free: 84 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.168, allocations: 314.8 kB / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1681, allocations: 27.97 kB / 0.6978 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1683, allocations: 23.97 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1685, allocations: 60.86 kB / 0.6979 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.1685, allocations: 3.938 kB / 0.6979 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003046/0.1688, allocations: 85.64 kB / 0.698 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1689, allocations: 4 kB / 0.698 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1689, allocations: 4 kB / 0.698 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1689, allocations: 0 / 0.698 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.169, allocations: 23.91 kB / 0.698 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.169, allocations: 4 kB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.1691, allocations: 7.984 kB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1692, allocations: 0 / 0.698 GB, free: 15.52 MB / 0.4981 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 9.794e-05/0.1693, allocations: 117.8 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1693, allocations: 0 / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.1693, allocations: 3.125 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1693, allocations: 4 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1693, allocations: 0 / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1694, allocations: 0 / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1695, allocations: 173.5 kB / 0.6983 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1695, allocations: 0 / 0.6983 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1697, allocations: 15.98 kB / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1697, allocations: 4 kB / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1697, allocations: 3.938 kB / 0.6983 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1697, allocations: 0 / 0.6983 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1697, allocations: 0 / 0.6983 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.1701, allocations: 191.4 kB / 0.6985 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.1701, allocations: 81.11 kB / 0.6986 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1701, allocations: 0 / 0.6986 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.1703, allocations: 7.984 kB / 0.6986 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1703, allocations: 192 / 0.6986 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1703, allocations: 7.984 kB / 0.6986 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.1704, allocations: 83.27 kB / 0.6987 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1704, allocations: 7.969 kB / 0.6987 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002329/0.1706, allocations: 12 kB / 0.6987 GB, free: 14.73 MB / 0.4981 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.0007067/0.1713, allocations: 0.7358 MB / 0.6994 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.1717, allocations: 55.88 kB / 0.6994 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1717, allocations: 0 / 0.6994 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1718, allocations: 40.03 kB / 0.6995 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1721, allocations: 0.75 kB / 0.6995 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.1727, allocations: 160.3 kB / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.173, allocations: 0.6768 MB / 0.7003 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.505e-05/0.1731, allocations: 12 kB / 0.7003 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.1732, allocations: 15.42 kB / 0.7003 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1732, allocations: 0 / 0.7003 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.1966, allocations: 1.664 MB / 0.7019 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.671, allocations: 14.8 kB / 0.702 GB, free: 11.39 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)