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.001303/0.001303, 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.00123/0.00123, allocations: 195.3 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.366/1.366, 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.002387/0.002387, allocations: 279 kB / 290.7 MB, free: 2.004 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.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 95.86 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1511, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002317/0.1535, allocations: 1.264 MB / 0.6948 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1547, allocations: 0.8293 MB / 0.6957 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.1548, allocations: 0 / 0.6957 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.1548, allocations: 0 / 0.6957 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.1548, allocations: 8.547 kB / 0.6957 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.1553, allocations: 135.4 kB / 0.6958 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.1553, allocations: 23.92 kB / 0.6958 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.1554, allocations: 0 / 0.6958 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.962e-05/0.1554, allocations: 15.92 kB / 0.6958 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.1555, allocations: 15.92 kB / 0.6958 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1555, allocations: 0 / 0.6958 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.1558, allocations: 167.7 kB / 0.696 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.1559, allocations: 3.984 kB / 0.696 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.1559, allocations: 16.7 kB / 0.696 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1562, allocations: 120 kB / 0.6961 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1562, allocations: 4 kB / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1562, allocations: 0 / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1562, allocations: 0 / 0.6961 GB, free: 1.633 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.000512/0.1567, allocations: 369.4 kB / 0.6965 GB, free: 1.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1568, allocations: 8.031 kB / 0.6965 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.1568, allocations: 30.75 kB / 0.6965 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1568, allocations: 8.922 kB / 0.6965 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.157, allocations: 164.4 kB / 0.6967 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/0.1571, allocations: 34.27 kB / 0.6967 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1571, allocations: 4.375 kB / 0.6967 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1572, allocations: 53.94 kB / 0.6968 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1573, allocations: 0 / 0.6968 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1573, allocations: 3.984 kB / 0.6968 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1573, allocations: 0 / 0.6968 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.491e-05/0.1574, allocations: 19.98 kB / 0.6968 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1576, allocations: 153.7 kB / 0.697 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1578, allocations: 50.56 kB / 0.697 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.1578, allocations: 8.859 kB / 0.697 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.1582, allocations: 182.3 kB / 0.6972 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1582, allocations: 38.44 kB / 0.6972 GB, free: 320 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1582, allocations: 4 kB / 0.6972 GB, free: 316 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002595/0.1585, allocations: 69.58 kB / 0.6973 GB, free: 240 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1585, allocations: 55.41 kB / 0.6973 GB, free: 172 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.1586, allocations: 93.84 kB / 0.6974 GB, free: 68 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1586, allocations: 29.7 kB / 0.6975 GB, free: 32 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.1587, allocations: 84.14 kB / 0.6975 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.1587, allocations: 7.844 kB / 0.6976 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.1588, allocations: 17.72 kB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1589, allocations: 318.8 kB / 0.6979 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.998e-05/0.1589, allocations: 12 kB / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.159, allocations: 11.98 kB / 0.6979 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.65e-05/0.1591, allocations: 28.78 kB / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1591, allocations: 7.938 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001354/0.1592, allocations: 58.06 kB / 0.698 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1593, allocations: 7.938 kB / 0.698 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1593, allocations: 0 / 0.698 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1593, allocations: 11.94 kB / 0.698 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.252e-05/0.1594, allocations: 7.984 kB / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1594, allocations: 0 / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.1594, allocations: 4 kB / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1594, allocations: 0 / 0.698 GB, free: 15.44 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.811e-05/0.1595, allocations: 113.8 kB / 0.6981 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.1595, allocations: 11.97 kB / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.1597, allocations: 65.17 kB / 0.6982 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1597, allocations: 4 kB / 0.6982 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1597, allocations: 0 / 0.6982 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1597, allocations: 0 / 0.6982 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1599, allocations: 153.7 kB / 0.6983 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1599, allocations: 3.984 kB / 0.6984 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.1599, allocations: 8 kB / 0.6984 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1599, allocations: 3.938 kB / 0.6984 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1599, allocations: 0 / 0.6984 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1599, allocations: 0 / 0.6984 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1599, allocations: 0 / 0.6984 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1601, allocations: 92.95 kB / 0.6985 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.1602, allocations: 89.05 kB / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.1602, allocations: 0 / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.1603, allocations: 3.984 kB / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1603, allocations: 4 kB / 0.6985 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1603, allocations: 0 / 0.6985 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.1603, allocations: 83.28 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1603, allocations: 0 / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002263/0.1606, allocations: 39.92 kB / 0.6987 GB, free: 14.67 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 (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.0005495/0.1611, allocations: 0.6552 MB / 0.6993 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1613, allocations: 39.97 kB / 0.6993 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1613, allocations: 0 / 0.6993 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.1614, allocations: 11.94 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.1616, allocations: 12.73 kB / 0.6994 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.162, allocations: 164.7 kB / 0.6995 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1623, allocations: 0.6768 MB / 0.7002 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.732e-05/0.1624, allocations: 7.984 kB / 0.7002 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.1624, allocations: 20.05 kB / 0.7002 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1624, allocations: 0 / 0.7002 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.1836, allocations: 1.941 MB / 0.7021 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.707, allocations: 12.48 kB / 0.7021 GB, free: 11.16 MB / 0.4981 GB (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)