Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001609/0.001609, 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.001818/0.001818, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.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.002486/0.002486, allocations: 287.1 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 103.5 kB / 0.6065 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1558, allocations: 89.15 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.00241/0.1583, allocations: 1.288 MB / 0.6949 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1595, allocations: 0.7719 MB / 0.6956 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.1595, allocations: 4 kB / 0.6956 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.1595, allocations: 3.984 kB / 0.6956 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.1596, allocations: 3.938 kB / 0.6956 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.1601, allocations: 163.2 kB / 0.6958 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.71e-05/0.1601, allocations: 23.88 kB / 0.6958 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1602, allocations: 4 kB / 0.6958 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.795e-05/0.1602, allocations: 11.98 kB / 0.6958 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.1603, allocations: 15.92 kB / 0.6958 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1603, allocations: 0 / 0.6958 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.1608, allocations: 291.5 kB / 0.6961 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.1608, allocations: 0 / 0.6961 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.1608, allocations: 15.94 kB / 0.6961 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.1611, allocations: 171.9 kB / 0.6963 GB, free: 1.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1611, allocations: 0 / 0.6963 GB, free: 1.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1611, allocations: 0 / 0.6963 GB, free: 1.488 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1611, allocations: 0 / 0.6963 GB, free: 1.488 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004228/0.1616, allocations: 363.5 kB / 0.6966 GB, free: 1.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1616, allocations: 8.031 kB / 0.6966 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.1617, allocations: 38.75 kB / 0.6967 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.1619, allocations: 24.75 kB / 0.6967 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.162, allocations: 164.4 kB / 0.6969 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.162, allocations: 4.375 kB / 0.6969 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.162, allocations: 384 / 0.6969 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.1622, allocations: 58.23 kB / 0.6969 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1622, allocations: 3.938 kB / 0.6969 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.1622, allocations: 0 / 0.6969 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1622, allocations: 0 / 0.6969 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.1623, allocations: 23.98 kB / 0.697 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1625, allocations: 161.6 kB / 0.6971 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1626, allocations: 62.59 kB / 0.6972 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.1626, allocations: 32.89 kB / 0.6972 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1627, allocations: 0 / 0.6972 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1627, allocations: 30.56 kB / 0.6972 GB, free: 368 kB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.1627, allocations: 3.938 kB / 0.6972 GB, free: 364 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001931/0.1629, allocations: 89.55 kB / 0.6973 GB, free: 268 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.1629, allocations: 55.41 kB / 0.6974 GB, free: 200 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.163, allocations: 89.86 kB / 0.6975 GB, free: 100 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.163, allocations: 25.83 kB / 0.6975 GB, free: 68 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.1631, allocations: 88.14 kB / 0.6976 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1631, allocations: 15.72 kB / 0.6976 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.1632, allocations: 25.64 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1633, allocations: 310.8 kB / 0.6979 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.1633, allocations: 12 kB / 0.6979 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.1634, allocations: 11.98 kB / 0.6979 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.1634, allocations: 32.86 kB / 0.698 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1634, allocations: 0 / 0.698 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001028/0.1636, allocations: 77.61 kB / 0.698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1636, allocations: 7.938 kB / 0.698 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1636, allocations: 0 / 0.698 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1636, allocations: 0 / 0.698 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1637, allocations: 15.98 kB / 0.6981 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1637, allocations: 3.984 kB / 0.6981 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.1638, allocations: 4 kB / 0.6981 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1638, allocations: 0 / 0.6981 GB, free: 15.45 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 (6): * Single equations (assignments): 6 * 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 8.148e-05/0.1639, allocations: 113.8 kB / 0.6982 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.1639, allocations: 15.83 kB / 0.6982 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.1641, allocations: 85.52 kB / 0.6983 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1641, allocations: 0 / 0.6983 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1641, allocations: 4 kB / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1641, allocations: 0 / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1643, allocations: 165.7 kB / 0.6984 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1643, allocations: 4.438 kB / 0.6984 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.1644, allocations: 15.98 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1644, allocations: 3.938 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1644, allocations: 4 kB / 0.6985 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1644, allocations: 4 kB / 0.6985 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1644, allocations: 0 / 0.6985 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.1646, allocations: 97.05 kB / 0.6985 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.1646, allocations: 85.02 kB / 0.6986 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1647, allocations: 7.938 kB / 0.6986 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.1647, allocations: 7.984 kB / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.1647, allocations: 4 kB / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1647, allocations: 0 / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.1648, allocations: 79.28 kB / 0.6987 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.044e-06/0.1648, allocations: 0 / 0.6987 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00019/0.165, allocations: 15.88 kB / 0.6987 GB, free: 14.64 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 (7): * Single equations (assignments): 7 * 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.0004521/0.1655, allocations: 0.6412 MB / 0.6994 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1656, allocations: 43.98 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1656, allocations: 0 / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.1656, allocations: 23.92 kB / 0.6994 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1659, allocations: 8 kB / 0.6994 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.1663, allocations: 164.2 kB / 0.6996 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1666, allocations: 0.6807 MB / 0.7003 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.541e-05/0.1667, allocations: 8.234 kB / 0.7003 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1667, allocations: 7.438 kB / 0.7003 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1667, allocations: 4 kB / 0.7003 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.1878, allocations: 1.425 MB / 0.7017 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.656, allocations: 20.12 kB / 0.7017 GB, free: 11.7 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_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_comparison.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)