Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",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.001412/0.001412, 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.001661/0.001661, allocations: 193.8 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002662/0.002662, allocations: 294.9 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 95.8 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1554, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002638/0.1581, allocations: 1.494 MB / 0.6951 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1593, allocations: 0.8074 MB / 0.6958 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.1594, allocations: 3.938 kB / 0.6958 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.1594, allocations: 3.938 kB / 0.6958 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.1595, allocations: 16.8 kB / 0.6959 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.1599, allocations: 135.3 kB / 0.696 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.16, allocations: 47.86 kB / 0.696 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.1601, allocations: 20.2 kB / 0.6961 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.1602, allocations: 15.94 kB / 0.6961 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.1602, allocations: 27.91 kB / 0.6961 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1602, allocations: 4 kB / 0.6961 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.1606, allocations: 172.6 kB / 0.6963 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.1606, allocations: 7.938 kB / 0.6963 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.1606, allocations: 24.52 kB / 0.6963 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1609, allocations: 143.6 kB / 0.6964 GB, free: 1.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1609, allocations: 4 kB / 0.6964 GB, free: 1.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1609, allocations: 4 kB / 0.6964 GB, free: 1.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1609, allocations: 0 / 0.6964 GB, free: 1.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005576/0.1615, allocations: 395.2 kB / 0.6968 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1615, allocations: 8.031 kB / 0.6968 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1616, allocations: 42.73 kB / 0.6969 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.1616, allocations: 0.9375 kB / 0.6969 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1617, allocations: 168.3 kB / 0.697 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1618, allocations: 8.375 kB / 0.697 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1618, allocations: 384 / 0.697 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.162, allocations: 78.14 kB / 0.6971 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.162, allocations: 3.938 kB / 0.6971 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1621, allocations: 4 kB / 0.6971 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1621, allocations: 0 / 0.6971 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.1624, allocations: 75.91 kB / 0.6972 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.1628, allocations: 288.7 kB / 0.6975 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.163, allocations: 54.48 kB / 0.6975 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1631, allocations: 44.91 kB / 0.6976 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.1633, allocations: 89.09 kB / 0.6976 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1634, allocations: 34.56 kB / 0.6977 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1634, allocations: 0 / 0.6977 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005676/0.1639, allocations: 129.6 kB / 0.6978 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.164, allocations: 59.33 kB / 0.6979 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1641, allocations: 121.8 kB / 0.698 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1641, allocations: 25.7 kB / 0.698 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.1642, allocations: 92.05 kB / 0.6981 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.1642, allocations: 3.906 kB / 0.6981 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.1642, allocations: 25.7 kB / 0.6981 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1644, allocations: 314.8 kB / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1645, allocations: 35.95 kB / 0.6985 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1647, allocations: 27.97 kB / 0.6985 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.165, allocations: 72.78 kB / 0.6985 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.165, allocations: 3.938 kB / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000337/0.1653, allocations: 97.53 kB / 0.6986 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1654, allocations: 11.94 kB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1654, allocations: 0 / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1654, allocations: 0 / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1655, allocations: 19.97 kB / 0.6987 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1655, allocations: 4 kB / 0.6987 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.1656, allocations: 11.98 kB / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1656, allocations: 8 kB / 0.6987 GB, free: 14.75 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 (3): * Single equations (assignments): 3 * 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.888e-05/0.1657, allocations: 110.4 kB / 0.6988 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.1657, allocations: 4 kB / 0.6988 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.1661, allocations: 113.5 kB / 0.6989 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1661, allocations: 0 / 0.6989 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1661, allocations: 0 / 0.6989 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1661, allocations: 0 / 0.6989 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.1663, allocations: 177.5 kB / 0.6991 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1663, allocations: 3.938 kB / 0.6991 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.1664, allocations: 15.98 kB / 0.6991 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1664, allocations: 4 kB / 0.6991 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.1665, allocations: 0 / 0.6991 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1665, allocations: 3.984 kB / 0.6991 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1665, allocations: 4 kB / 0.6991 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.1668, allocations: 191.8 kB / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.1669, allocations: 89.05 kB / 0.6994 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1669, allocations: 4 kB / 0.6994 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.167, allocations: 11.97 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.1671, allocations: 8 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1671, allocations: 0 / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.581e-05/0.1672, allocations: 91.7 kB / 0.6995 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1672, allocations: 0 / 0.6995 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002582/0.1674, allocations: 28 kB / 0.6995 GB, free: 13.81 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 (3): * Single equations (assignments): 3 * 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.0007993/0.1682, allocations: 0.7786 MB / 0.7003 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.1686, allocations: 75.91 kB / 0.7004 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1686, allocations: 0 / 0.7004 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.1688, allocations: 35.91 kB / 0.7004 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1692, allocations: 4.328 kB / 0.7004 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1713, allocations: 1.43 MB / 0.7018 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.1716, allocations: 0.6846 MB / 0.7025 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.036e-05/0.1717, allocations: 0 / 0.7025 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.1718, allocations: 19.44 kB / 0.7025 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.1718, allocations: 0 / 0.7025 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.1971, allocations: 2.447 MB / 0.7049 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.765, allocations: 9.484 kB / 0.7049 GB, free: 8.293 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_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_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)