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.001507/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001744/0.001744, allocations: 191.6 kB / 16.13 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 286.9 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9717/0.9717, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 93.45 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1707, allocations: 86.99 MB / 0.6794 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002131/0.1728, allocations: 1.328 MB / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.174, allocations: 0.842 MB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.1741, allocations: 0 / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.1741, allocations: 0 / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.1741, allocations: 8.516 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.1745, allocations: 104.8 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.634e-05/0.1746, allocations: 28.7 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.1746, allocations: 4 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.1747, allocations: 16.44 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/0.1747, allocations: 15.98 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1748, allocations: 4 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.1751, allocations: 167.7 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1751, allocations: 7.922 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.1751, allocations: 8 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1753, allocations: 112 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1753, allocations: 0 / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1754, allocations: 0 / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1754, allocations: 0 / 0.682 GB, free: 14.57 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.000404/0.1758, allocations: 375.3 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1758, allocations: 12.03 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.1759, allocations: 4.844 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.176, allocations: 164.4 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.176, allocations: 34.25 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1761, allocations: 4.375 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1762, allocations: 46.23 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1762, allocations: 3.938 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1762, allocations: 0 / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1762, allocations: 4 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.374e-05/0.1763, allocations: 19.98 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1765, allocations: 153.7 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1767, allocations: 50.55 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.1768, allocations: 16.94 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.1771, allocations: 182.2 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1771, allocations: 34.56 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1771, allocations: 0 / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002388/0.1774, allocations: 69.55 kB / 0.6831 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.1774, allocations: 55.41 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.63e-05/0.1775, allocations: 97.86 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1775, allocations: 29.7 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.1775, allocations: 80.14 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1775, allocations: 19.67 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.1776, allocations: 17.72 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.1777, allocations: 310.8 kB / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.1777, allocations: 19.98 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.973e-05/0.1778, allocations: 4 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.678e-05/0.1779, allocations: 36.84 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1779, allocations: 0 / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.178, allocations: 57.61 kB / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.178, allocations: 7.938 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1781, allocations: 4 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1781, allocations: 3.938 kB / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.1781, allocations: 4 kB / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1781, allocations: 0 / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.1782, allocations: 4 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1782, allocations: 11.98 kB / 0.6839 GB, free: 12.4 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 6.283e-05/0.1783, allocations: 111.2 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.1783, allocations: 8.359 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.1785, allocations: 73.09 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1785, allocations: 0 / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1785, allocations: 0 / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1785, allocations: 0 / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.648e-05/0.1786, allocations: 153.7 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1786, allocations: 4 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.1786, allocations: 11.98 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1787, allocations: 3.938 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1787, allocations: 4 kB / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1787, allocations: 0 / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1787, allocations: 4 kB / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.1788, allocations: 73.12 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1789, allocations: 89 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1789, allocations: 7.938 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.179, allocations: 4 kB / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.179, allocations: 7.922 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.179, allocations: 0 / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.138e-05/0.1791, allocations: 83.28 kB / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1791, allocations: 0 / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1793, allocations: 35.94 kB / 0.6845 GB, free: 11.64 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.0001995/0.1795, allocations: 135.2 kB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1796, allocations: 35.97 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1797, allocations: 0 / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.213e-05/0.1797, allocations: 15.88 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.1799, allocations: 16.67 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.1802, allocations: 136.9 kB / 0.6848 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1805, allocations: 0.677 MB / 0.6855 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.529e-05/0.1805, allocations: 7.984 kB / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1806, allocations: 7.438 kB / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1806, allocations: 0 / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.003202/0.1838, allocations: 1.03 MB / 0.6865 GB, free: 9.531 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)