Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.81/0.81, allocations: 143.8 MB / 159.1 MB, free: 6.508 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009624/0.0009627, allocations: 187.3 kB / 192 MB, free: 6.734 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.7 MB / 450.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008538/0.000854, allocations: 103.5 kB / 0.5211 GB, free: 1.664 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 279.7 kB / 0.6025 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.0004429, allocations: 11.88 kB / 0.6948 GB, free: 59.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1728, allocations: 82.46 MB / 0.7753 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00164/0.1745, allocations: 1.197 MB / 0.7765 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1758, allocations: 1.39 MB / 0.7778 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.1759, allocations: 0 / 0.7778 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.1759, allocations: 8 kB / 0.7778 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.176, allocations: 11.86 kB / 0.7779 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.1764, allocations: 107.6 kB / 0.778 GB, free: 11.54 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.1764, allocations: 51.86 kB / 0.778 GB, free: 11.49 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.1765, allocations: 24.19 kB / 0.778 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.1766, allocations: 23.88 kB / 0.7781 GB, free: 11.44 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.1767, allocations: 27.84 kB / 0.7781 GB, free: 11.41 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1767, allocations: 0 / 0.7781 GB, free: 11.41 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.177, allocations: 167.8 kB / 0.7782 GB, free: 11.25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.177, allocations: 3.938 kB / 0.7782 GB, free: 11.25 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.1771, allocations: 49.56 kB / 0.7783 GB, free: 11.19 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.1773, allocations: 143.6 kB / 0.7784 GB, free: 11.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1773, allocations: 0 / 0.7784 GB, free: 11.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1773, allocations: 0 / 0.7784 GB, free: 11.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1773, allocations: 4 kB / 0.7784 GB, free: 11.05 MB / 458.7 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.0005002/0.1778, allocations: 399.3 kB / 0.7788 GB, free: 10.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1779, allocations: 8.031 kB / 0.7788 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.1779, allocations: 8.844 kB / 0.7788 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.1781, allocations: 172.2 kB / 0.779 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1781, allocations: 16.31 kB / 0.779 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1781, allocations: 384 / 0.779 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1784, allocations: 86.2 kB / 0.7791 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1784, allocations: 192 / 0.7791 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1784, allocations: 3.938 kB / 0.7791 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1784, allocations: 0 / 0.7791 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.1787, allocations: 95.91 kB / 0.7792 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.1791, allocations: 288.7 kB / 0.7795 GB, free: 9.848 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1793, allocations: 66.55 kB / 0.7795 GB, free: 9.773 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.1795, allocations: 48.91 kB / 0.7796 GB, free: 9.723 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.1797, allocations: 89.09 kB / 0.7797 GB, free: 9.617 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1797, allocations: 34.56 kB / 0.7797 GB, free: 9.574 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1797, allocations: 0 / 0.7797 GB, free: 9.574 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005307/0.1802, allocations: 165.4 kB / 0.7798 GB, free: 9.406 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1803, allocations: 55.39 kB / 0.7799 GB, free: 9.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.1804, allocations: 121.8 kB / 0.78 GB, free: 9.211 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.1804, allocations: 29.7 kB / 0.78 GB, free: 9.176 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.1804, allocations: 84.14 kB / 0.7801 GB, free: 9.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.1805, allocations: 15.81 kB / 0.7801 GB, free: 9.074 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.1805, allocations: 0 / 0.7801 GB, free: 9.074 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1806, allocations: 318.8 kB / 0.7804 GB, free: 8.754 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1807, allocations: 43.97 kB / 0.7805 GB, free: 8.711 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1809, allocations: 43.95 kB / 0.7805 GB, free: 8.668 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.1812, allocations: 88.78 kB / 0.7806 GB, free: 8.578 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1812, allocations: 0 / 0.7806 GB, free: 8.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003168/0.1815, allocations: 121.6 kB / 0.7807 GB, free: 8.453 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1815, allocations: 12 kB / 0.7807 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1815, allocations: 0 / 0.7807 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1815, allocations: 0 / 0.7807 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1817, allocations: 23.98 kB / 0.7808 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1817, allocations: 0 / 0.7808 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.1818, allocations: 19.97 kB / 0.7808 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.1818, allocations: 4 kB / 0.7808 GB, free: 8.395 MB / 458.7 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 (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.307e-05/0.1819, allocations: 117.7 kB / 0.7809 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1819, allocations: 4.234 kB / 0.7809 GB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.1823, allocations: 137.4 kB / 0.781 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1823, allocations: 0 / 0.781 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1823, allocations: 0 / 0.781 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1823, allocations: 7.938 kB / 0.781 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.1825, allocations: 173.6 kB / 0.7812 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1825, allocations: 0 / 0.7812 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.1826, allocations: 23.98 kB / 0.7812 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1826, allocations: 0 / 0.7812 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1826, allocations: 4 kB / 0.7812 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1826, allocations: 0 / 0.7812 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1826, allocations: 0 / 0.7812 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.183, allocations: 219.3 kB / 0.7814 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.1831, allocations: 81.11 kB / 0.7815 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1831, allocations: 4 kB / 0.7815 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1832, allocations: 23.92 kB / 0.7815 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1833, allocations: 7.922 kB / 0.7816 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1833, allocations: 8 kB / 0.7816 GB, free: 7.492 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.1834, allocations: 91.27 kB / 0.7816 GB, free: 7.402 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1834, allocations: 0 / 0.7816 GB, free: 7.402 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.1836, allocations: 28 kB / 0.7817 GB, free: 7.375 MB / 458.7 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 (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.0002508/0.1839, allocations: 147.2 kB / 0.7818 GB, free: 7.223 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.1843, allocations: 91.92 kB / 0.7819 GB, free: 7.133 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1843, allocations: 0 / 0.7819 GB, free: 7.133 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1844, allocations: 43.97 kB / 0.7819 GB, free: 7.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1847, allocations: 18.33 kB / 0.782 GB, free: 7.074 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.1851, allocations: 174.4 kB / 0.7821 GB, free: 6.875 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1855, allocations: 0.6848 MB / 0.7828 GB, free: 6.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.1855, allocations: 4 kB / 0.7828 GB, free: 6.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.1855, allocations: 11.44 kB / 0.7828 GB, free: 6.148 MB / 458.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1855, allocations: 0 / 0.7828 GB, free: 6.148 MB / 458.7 MB Notification: Performance of Templates: time 0.003858/0.1894, allocations: 1.221 MB / 0.784 GB, free: 4.934 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)