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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008546/0.0008547, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004916/0.004916, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 262.7 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9429/0.9429, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004537, allocations: 18.28 kB / 0.5987 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1609, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00132/0.1623, allocations: 0.9979 MB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1636, allocations: 0.8275 MB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.1636, allocations: 0 / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.1636, allocations: 4.562 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.1637, allocations: 3.984 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.1641, allocations: 113.8 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.1642, allocations: 23.92 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.1642, allocations: 0 / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.1643, allocations: 16.44 kB / 0.6871 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.1644, allocations: 8.609 kB / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1644, allocations: 0 / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.1647, allocations: 172.4 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.1648, allocations: 19.36 kB / 0.6873 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.1648, allocations: 29.7 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.165, allocations: 127.9 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1651, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1651, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1651, allocations: 0 / 0.6874 GB, free: 12.73 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.0004278/0.1655, allocations: 355.4 kB / 0.6877 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1655, allocations: 8.031 kB / 0.6878 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.1656, allocations: 5.5 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1657, allocations: 168.9 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-05/0.1658, allocations: 30.27 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1658, allocations: 1.219 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.166, allocations: 51.05 kB / 0.688 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.166, allocations: 7.938 kB / 0.688 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.166, allocations: 0.6562 kB / 0.688 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.166, allocations: 0 / 0.688 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.1661, allocations: 16.7 kB / 0.688 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.1663, allocations: 158.2 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1665, allocations: 48.5 kB / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.1666, allocations: 16.86 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.1668, allocations: 182.3 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1669, allocations: 34.5 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1669, allocations: 0 / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002372/0.1671, allocations: 69.61 kB / 0.6885 GB, free: 11.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1672, allocations: 55.41 kB / 0.6886 GB, free: 11.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.1672, allocations: 101.8 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1673, allocations: 29.7 kB / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.1673, allocations: 80.14 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.1673, allocations: 11.75 kB / 0.6888 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.1674, allocations: 13.72 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1675, allocations: 314.8 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.1675, allocations: 7.984 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.222e-05/0.1676, allocations: 15.98 kB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.876e-05/0.1677, allocations: 28.8 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1677, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.1678, allocations: 57.67 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1679, allocations: 11.94 kB / 0.6892 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1679, allocations: 0 / 0.6892 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1679, allocations: 3.938 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.1679, allocations: 4 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1679, allocations: 4 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.168, allocations: 7.984 kB / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.168, allocations: 0 / 0.6892 GB, free: 10.61 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.417e-05/0.1681, allocations: 119.1 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.1681, allocations: 12.3 kB / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1683, allocations: 65.17 kB / 0.6894 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1683, allocations: 4.031 kB / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1683, allocations: 4 kB / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1683, allocations: 0 / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1684, allocations: 157.7 kB / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1684, allocations: 8 kB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.1685, allocations: 7.984 kB / 0.6896 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.1685, allocations: 3.938 kB / 0.6896 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1685, allocations: 0 / 0.6896 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1685, allocations: 4 kB / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1685, allocations: 0 / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.1687, allocations: 85.05 kB / 0.6897 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1687, allocations: 85.11 kB / 0.6898 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1688, allocations: 3.938 kB / 0.6898 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.1688, allocations: 7.984 kB / 0.6898 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.1688, allocations: 0 / 0.6898 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.1689, allocations: 4 kB / 0.6898 GB, free: 9.945 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.1689, allocations: 75.28 kB / 0.6898 GB, free: 9.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1689, allocations: 0 / 0.6898 GB, free: 9.871 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.1691, allocations: 43.92 kB / 0.6899 GB, free: 9.828 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.0002114/0.1694, allocations: 135.2 kB / 0.69 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.1695, allocations: 27.92 kB / 0.69 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1695, allocations: 0 / 0.69 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.1696, allocations: 15.94 kB / 0.6901 GB, free: 9.641 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.1698, allocations: 8.734 kB / 0.6901 GB, free: 9.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.17, allocations: 156.3 kB / 0.6902 GB, free: 9.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.1703, allocations: 0.677 MB / 0.6909 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.413e-05/0.1703, allocations: 7.984 kB / 0.6909 GB, free: 8.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.1704, allocations: 7.438 kB / 0.6909 GB, free: 8.742 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1704, allocations: 7.938 kB / 0.6909 GB, free: 8.734 MB / 494.1 MB Notification: Performance of Templates: time 0.003279/0.1737, allocations: 1.016 MB / 0.6919 GB, free: 7.723 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)