Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_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.001987/0.001987, 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.002082/0.002082, allocations: 194.6 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 294.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.901/0.901, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 100.5 kB / 0.5954 GB, free: 27.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1481, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002332/0.1504, allocations: 1.268 MB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1516, allocations: 0.8174 MB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.1516, allocations: 0.7812 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.1517, allocations: 3.938 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.1517, allocations: 9.703 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.1522, allocations: 124.3 kB / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.827e-05/0.1523, allocations: 27.91 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.1523, allocations: 3.938 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.1524, allocations: 20.48 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.1524, allocations: 4.531 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1525, allocations: 3.938 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.1528, allocations: 168.8 kB / 0.6827 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.1528, allocations: 4 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.1528, allocations: 12.92 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1531, allocations: 120.1 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1531, allocations: 0 / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1531, allocations: 4 kB / 0.6828 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1531, allocations: 0 / 0.6828 GB, free: 14.01 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.0004107/0.1535, allocations: 363.3 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1535, allocations: 8.031 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1536, allocations: 42.73 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1536, allocations: 4.844 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1537, allocations: 172.4 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/0.1538, allocations: 26.27 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1538, allocations: 8.375 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1539, allocations: 49.98 kB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.154, allocations: 0 / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.154, allocations: 0 / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.154, allocations: 3.938 kB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1541, allocations: 23.92 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.1543, allocations: 153.7 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1545, allocations: 50.56 kB / 0.6837 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1545, allocations: 16.86 kB / 0.6837 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/0.1548, allocations: 174.3 kB / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1548, allocations: 38.5 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1548, allocations: 0 / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002322/0.1551, allocations: 73.61 kB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1551, allocations: 51.41 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.1552, allocations: 101.8 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1552, allocations: 25.7 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.1552, allocations: 80.14 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1553, allocations: 11.75 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.1553, allocations: 17.72 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.1554, allocations: 318.8 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.1555, allocations: 12 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/0.1555, allocations: 7.984 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.417e-05/0.1556, allocations: 36.78 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1556, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.1558, allocations: 54.14 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1558, allocations: 11.94 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1558, allocations: 0 / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1558, allocations: 4 kB / 0.6847 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.1559, allocations: 7.984 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1559, allocations: 4 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.1559, allocations: 3.906 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.1559, allocations: 0 / 0.6847 GB, free: 11.82 MB / 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 (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.169e-05/0.156, allocations: 115.2 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.156, allocations: 3.938 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.1562, allocations: 73.09 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1562, allocations: 4 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1562, allocations: 0 / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1562, allocations: 3.984 kB / 0.6849 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1564, allocations: 157.7 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1564, allocations: 4 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.1565, allocations: 4 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1565, allocations: 3.938 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1565, allocations: 4 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1565, allocations: 4 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1565, allocations: 0 / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.1567, allocations: 89.56 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1568, allocations: 92.89 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1568, allocations: 3.984 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.69e-05/0.1569, allocations: 4 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.1569, allocations: 0 / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1569, allocations: 4 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.907e-05/0.1569, allocations: 83.27 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1569, allocations: 4 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.1572, allocations: 31.94 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB 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 (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 Backend phase and start with SimCode phase: time 0.0005156/0.1577, allocations: 0.6631 MB / 0.686 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1579, allocations: 31.92 kB / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1579, allocations: 0 / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.1579, allocations: 15.98 kB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.1582, allocations: 6.641 kB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.1586, allocations: 170.9 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1589, allocations: 0.6806 MB / 0.6869 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.477e-05/0.159, allocations: 11.97 kB / 0.6869 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.159, allocations: 11.44 kB / 0.6869 GB, free: 9.355 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.159, allocations: 0 / 0.6869 GB, free: 9.355 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.1751, allocations: 1.94 MB / 0.6888 GB, free: 7.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.115, allocations: 15.06 kB / 0.6888 GB, free: 7.523 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)