Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001661/0.001661, allocations: 108 kB / 15.6 MB, free: 132 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.001574/0.001574, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002416/0.002416, allocations: 274.9 kB / 290.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.00265, allocations: 98.8 kB / 0.6065 GB, free: 24.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.167, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002326/0.1693, allocations: 1.271 MB / 0.6948 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1706, allocations: 0.8682 MB / 0.6957 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.1707, allocations: 0 / 0.6957 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.1707, allocations: 3.938 kB / 0.6957 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.1707, allocations: 3.938 kB / 0.6957 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.1713, allocations: 202.5 kB / 0.6959 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.1714, allocations: 27.91 kB / 0.6959 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.1714, allocations: 0 / 0.6959 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.1715, allocations: 7.938 kB / 0.6959 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.1715, allocations: 8 kB / 0.6959 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.1715, allocations: 0 / 0.6959 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.1718, allocations: 196.9 kB / 0.6961 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.1719, allocations: 0 / 0.6961 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.1719, allocations: 11.94 kB / 0.6961 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1721, allocations: 147.7 kB / 0.6963 GB, free: 1.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1722, allocations: 0 / 0.6963 GB, free: 1.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1722, allocations: 4 kB / 0.6963 GB, free: 1.477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1722, allocations: 0 / 0.6963 GB, free: 1.477 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004089/0.1726, allocations: 363.5 kB / 0.6966 GB, free: 1.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1726, allocations: 8.031 kB / 0.6966 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.1727, allocations: 34.75 kB / 0.6967 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.1728, allocations: 12.83 kB / 0.6967 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1729, allocations: 160.4 kB / 0.6968 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.173, allocations: 4.359 kB / 0.6968 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.173, allocations: 7.938 kB / 0.6968 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1731, allocations: 41.69 kB / 0.6969 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1731, allocations: 0 / 0.6969 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.1731, allocations: 4 kB / 0.6969 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1731, allocations: 0 / 0.6969 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.1732, allocations: 23.91 kB / 0.6969 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.1734, allocations: 157.7 kB / 0.6971 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.1742, allocations: 134.5 kB / 0.6972 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.1743, allocations: 16.86 kB / 0.6972 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.1744, allocations: 85.09 kB / 0.6973 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1744, allocations: 38.56 kB / 0.6973 GB, free: 224 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.1745, allocations: 0 / 0.6973 GB, free: 224 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001553/0.1746, allocations: 65.56 kB / 0.6974 GB, free: 152 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1747, allocations: 55.41 kB / 0.6974 GB, free: 84 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.1747, allocations: 89.86 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1748, allocations: 29.7 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.1748, allocations: 80.14 kB / 0.6976 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1748, allocations: 19.73 kB / 0.6976 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.1749, allocations: 17.72 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.175, allocations: 310.8 kB / 0.698 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.175, allocations: 16.11 kB / 0.698 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.175, allocations: 7.938 kB / 0.698 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.1751, allocations: 24.86 kB / 0.698 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1751, allocations: 0 / 0.698 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.092e-05/0.1752, allocations: 61.56 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1752, allocations: 4 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.1752, allocations: 4 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1752, allocations: 3.984 kB / 0.6981 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.1753, allocations: 4 kB / 0.6981 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1753, allocations: 0 / 0.6981 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.1754, allocations: 4 kB / 0.6981 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1754, allocations: 4 kB / 0.6981 GB, free: 15.37 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 (4): * Single equations (assignments): 4 * 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.895e-05/0.1754, allocations: 113.8 kB / 0.6982 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.1755, allocations: 4 kB / 0.6982 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.1757, allocations: 85.02 kB / 0.6983 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1757, allocations: 3.984 kB / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.1757, allocations: 0 / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1757, allocations: 0 / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.1759, allocations: 169.6 kB / 0.6984 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1759, allocations: 0 / 0.6984 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.1759, allocations: 8 kB / 0.6985 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1759, allocations: 0 / 0.6985 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1759, allocations: 0 / 0.6985 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1759, allocations: 0 / 0.6985 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.176, allocations: 4 kB / 0.6985 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.1761, allocations: 89.33 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.1762, allocations: 85.09 kB / 0.6986 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1762, allocations: 3.938 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.1762, allocations: 7.984 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.1763, allocations: 4 kB / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1763, allocations: 0 / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.1763, allocations: 87.27 kB / 0.6987 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1763, allocations: 0 / 0.6987 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002337/0.1765, allocations: 44 kB / 0.6988 GB, free: 14.57 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 (5): * Single equations (assignments): 5 * 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.0006429/0.1772, allocations: 0.6911 MB / 0.6994 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1773, allocations: 35.92 kB / 0.6995 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1773, allocations: 0 / 0.6995 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.1774, allocations: 19.98 kB / 0.6995 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.1775, allocations: 8 kB / 0.6995 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.178, allocations: 172.2 kB / 0.6997 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1782, allocations: 0.6801 MB / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.771e-05/0.1783, allocations: 7.984 kB / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.1783, allocations: 11.44 kB / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1783, allocations: 0 / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.2003, allocations: 1.962 MB / 0.7023 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.667, allocations: 13.8 kB / 0.7023 GB, free: 11.03 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_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_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)