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.001261/0.001261, 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.001279/0.001279, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002436/0.002436, allocations: 290.8 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.034/1.034, allocations: 178.6 MB / 0.5073 GB, free: 4.598 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 103.1 kB / 0.6065 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1587, allocations: 89.15 MB / 0.6936 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002364/0.1611, allocations: 1.284 MB / 0.6949 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.1621, allocations: 0.5606 MB / 0.6954 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.1621, allocations: 0 / 0.6954 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1621, allocations: 0 / 0.6954 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.1622, allocations: 7.922 kB / 0.6954 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1626, allocations: 95.56 kB / 0.6955 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.1626, allocations: 24.53 kB / 0.6955 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1627, allocations: 0 / 0.6955 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.1627, allocations: 15.92 kB / 0.6955 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.1628, allocations: 11.98 kB / 0.6956 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.1628, allocations: 0 / 0.6956 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.1631, allocations: 139.8 kB / 0.6957 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1631, allocations: 7.938 kB / 0.6957 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.1631, allocations: 4 kB / 0.6957 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1633, allocations: 95.98 kB / 0.6958 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1633, allocations: 0 / 0.6958 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1634, allocations: 0 / 0.6958 GB, free: 2.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1634, allocations: 0 / 0.6958 GB, free: 2.027 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.0004111/0.1638, allocations: 347.4 kB / 0.6961 GB, free: 1.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1638, allocations: 16.02 kB / 0.6961 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.1639, allocations: 30.75 kB / 0.6962 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.1643, allocations: 24.91 kB / 0.6962 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1644, allocations: 164.4 kB / 0.6964 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1644, allocations: 384 / 0.6964 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.1644, allocations: 4.375 kB / 0.6964 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1646, allocations: 50.22 kB / 0.6964 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1646, allocations: 3.938 kB / 0.6964 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1646, allocations: 4 kB / 0.6964 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1646, allocations: 0 / 0.6964 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1648, allocations: 23.91 kB / 0.6964 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.165, allocations: 161.6 kB / 0.6966 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1651, allocations: 46.58 kB / 0.6966 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/0.1652, allocations: 16.92 kB / 0.6966 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1652, allocations: 0 / 0.6966 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/0.1653, allocations: 34.55 kB / 0.6967 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.715e-06/0.1653, allocations: 4 kB / 0.6967 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002967/0.1656, allocations: 77.48 kB / 0.6968 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1657, allocations: 55.39 kB / 0.6968 GB, free: 0.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.1657, allocations: 93.86 kB / 0.6969 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1658, allocations: 25.7 kB / 0.6969 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.1658, allocations: 88.14 kB / 0.697 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.1658, allocations: 11.97 kB / 0.697 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.1659, allocations: 17.7 kB / 0.697 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.166, allocations: 310.8 kB / 0.6973 GB, free: 228 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.1661, allocations: 11.98 kB / 0.6973 GB, free: 216 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.381e-05/0.1662, allocations: 15.98 kB / 0.6974 GB, free: 200 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1663, allocations: 32.91 kB / 0.6974 GB, free: 164 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1663, allocations: 0 / 0.6974 GB, free: 164 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.1665, allocations: 61.61 kB / 0.6975 GB, free: 96 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1665, allocations: 7.938 kB / 0.6975 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.1665, allocations: 3.938 kB / 0.6975 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1666, allocations: 0 / 0.6975 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1667, allocations: 16.02 kB / 0.6975 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1667, allocations: 0 / 0.6975 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.1667, allocations: 0 / 0.6975 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1668, allocations: 7.984 kB / 0.6975 GB, free: 60 kB / 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 9.613e-05/0.1669, allocations: 109.8 kB / 0.6976 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.1669, allocations: 7.844 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.1669, allocations: 3.125 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1669, allocations: 8 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1669, allocations: 0 / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1669, allocations: 192 / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.1671, allocations: 153.7 kB / 0.6978 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1671, allocations: 7.969 kB / 0.6978 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.657e-05/0.1672, allocations: 4 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.1672, allocations: 3.938 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1672, allocations: 11.92 kB / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1672, allocations: 0 / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1672, allocations: 0 / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.1674, allocations: 81.11 kB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.1675, allocations: 85.09 kB / 0.6979 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1675, allocations: 7.875 kB / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.1676, allocations: 4 kB / 0.698 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.1676, allocations: 4 kB / 0.698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.1676, allocations: 8.016 kB / 0.698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.993e-05/0.1677, allocations: 79.28 kB / 0.698 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1677, allocations: 0 / 0.698 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001879/0.1679, allocations: 12 kB / 0.6981 GB, free: 15.39 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.0005446/0.1684, allocations: 0.6319 MB / 0.6987 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1686, allocations: 35.97 kB / 0.6987 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1686, allocations: 0 / 0.6987 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/0.1687, allocations: 15.98 kB / 0.6987 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.1689, allocations: 24.88 kB / 0.6987 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.1694, allocations: 152.2 kB / 0.6989 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1697, allocations: 0.669 MB / 0.6995 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.012e-05/0.1697, allocations: 15.94 kB / 0.6996 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.1698, allocations: 19.42 kB / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1698, allocations: 0 / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.1923, allocations: 1.562 MB / 0.7011 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.56, allocations: 16.73 kB / 0.7011 GB, free: 12.29 MB / 0.4981 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)