Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7505/0.7505, allocations: 143.8 MB / 159.1 MB, free: 6.527 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.001133/0.001133, allocations: 178.3 kB / 192 MB, free: 6.727 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.403/1.403, allocations: 225.7 MB / 450.4 MB, free: 4.98 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.0007664/0.0007665, allocations: 99.55 kB / 0.5211 GB, free: 1.641 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.001668/0.001667, allocations: 273.3 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004185, allocations: 17.28 kB / 0.6948 GB, free: 59.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 82.45 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001593/0.177, allocations: 0.9927 MB / 0.7763 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1786, allocations: 1.413 MB / 0.7777 GB, free: 11.81 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.1787, allocations: 4 kB / 0.7777 GB, free: 11.81 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.1787, allocations: 0 / 0.7777 GB, free: 11.81 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.662e-05/0.1788, allocations: 7.938 kB / 0.7777 GB, free: 11.8 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.1792, allocations: 103.6 kB / 0.7778 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.1793, allocations: 35.78 kB / 0.7778 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.1793, allocations: 0 / 0.7778 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.1794, allocations: 11.98 kB / 0.7778 GB, free: 11.65 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.1794, allocations: 11.94 kB / 0.7778 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1795, allocations: 0 / 0.7778 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.1798, allocations: 171.7 kB / 0.778 GB, free: 11.47 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.1798, allocations: 11.98 kB / 0.778 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.1799, allocations: 33.64 kB / 0.778 GB, free: 11.42 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1801, allocations: 120 kB / 0.7782 GB, free: 11.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1801, allocations: 0 / 0.7782 GB, free: 11.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1801, allocations: 0 / 0.7782 GB, free: 11.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1801, allocations: 0 / 0.7782 GB, free: 11.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004083/0.1805, allocations: 355.5 kB / 0.7785 GB, free: 10.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1806, allocations: 8.031 kB / 0.7785 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.1806, allocations: 12.84 kB / 0.7785 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1807, allocations: 164.3 kB / 0.7787 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.1808, allocations: 30.27 kB / 0.7787 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1808, allocations: 384 / 0.7787 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.181, allocations: 46.23 kB / 0.7787 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.181, allocations: 3.938 kB / 0.7787 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.181, allocations: 4 kB / 0.7787 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.181, allocations: 0 / 0.7787 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.1811, allocations: 15.98 kB / 0.7788 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1813, allocations: 161.7 kB / 0.7789 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.1815, allocations: 46.5 kB / 0.779 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.1815, allocations: 16.86 kB / 0.779 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.1819, allocations: 178.3 kB / 0.7791 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1819, allocations: 38.55 kB / 0.7792 GB, free: 10.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1819, allocations: 0 / 0.7792 GB, free: 10.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.000238/0.1822, allocations: 69.7 kB / 0.7793 GB, free: 9.965 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1822, allocations: 59.33 kB / 0.7793 GB, free: 9.895 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.1823, allocations: 105.8 kB / 0.7794 GB, free: 9.781 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.1823, allocations: 25.7 kB / 0.7794 GB, free: 9.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.1823, allocations: 80.14 kB / 0.7795 GB, free: 9.668 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.1824, allocations: 19.75 kB / 0.7795 GB, free: 9.648 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1824, allocations: 4 kB / 0.7795 GB, free: 9.645 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1825, allocations: 314.8 kB / 0.7798 GB, free: 9.328 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.407e-05/0.1825, allocations: 4 kB / 0.7798 GB, free: 9.324 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.1826, allocations: 15.98 kB / 0.7799 GB, free: 9.309 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.1827, allocations: 24.84 kB / 0.7799 GB, free: 9.281 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1827, allocations: 0 / 0.7799 GB, free: 9.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.1828, allocations: 61.69 kB / 0.7799 GB, free: 9.215 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1828, allocations: 7.938 kB / 0.7799 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1828, allocations: 0 / 0.7799 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1829, allocations: 3.938 kB / 0.7799 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.1829, allocations: 11.98 kB / 0.78 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1829, allocations: 0 / 0.78 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.183, allocations: 3.906 kB / 0.78 GB, free: 9.188 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.183, allocations: 4 kB / 0.78 GB, free: 9.184 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 (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.1831, allocations: 111.8 kB / 0.7801 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.1831, allocations: 7.938 kB / 0.7801 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.1832, allocations: 65.17 kB / 0.7801 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1833, allocations: 4 kB / 0.7801 GB, free: 8.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1833, allocations: 0 / 0.7801 GB, free: 8.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1833, allocations: 0 / 0.7801 GB, free: 8.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1834, allocations: 157.7 kB / 0.7803 GB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1834, allocations: 7.922 kB / 0.7803 GB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.1834, allocations: 4 kB / 0.7803 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1835, allocations: 7.938 kB / 0.7803 GB, free: 8.758 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.1835, allocations: 4 kB / 0.7803 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1835, allocations: 0 / 0.7803 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1835, allocations: 0 / 0.7803 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.1836, allocations: 81.11 kB / 0.7804 GB, free: 8.656 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.1837, allocations: 81.02 kB / 0.7805 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1837, allocations: 11.94 kB / 0.7805 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-05/0.1838, allocations: 3.984 kB / 0.7805 GB, free: 8.543 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1838, allocations: 7.938 kB / 0.7805 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1838, allocations: 4 kB / 0.7805 GB, free: 8.531 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.126e-05/0.1838, allocations: 79.69 kB / 0.7806 GB, free: 8.453 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1838, allocations: 0 / 0.7806 GB, free: 8.453 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.1841, allocations: 39.94 kB / 0.7806 GB, free: 8.414 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 (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.0002072/0.1843, allocations: 147.8 kB / 0.7808 GB, free: 8.258 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.1844, allocations: 31.97 kB / 0.7808 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1844, allocations: 4 kB / 0.7808 GB, free: 8.223 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.805e-05/0.1845, allocations: 19.98 kB / 0.7808 GB, free: 8.203 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1847, allocations: 4 kB / 0.7808 GB, free: 8.199 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.185, allocations: 142.5 kB / 0.7809 GB, free: 8.031 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1852, allocations: 0.6809 MB / 0.7816 GB, free: 7.324 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.306e-05/0.1853, allocations: 4 kB / 0.7816 GB, free: 7.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.1853, allocations: 15.44 kB / 0.7816 GB, free: 7.305 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.1853, allocations: 0 / 0.7816 GB, free: 7.305 MB / 458.7 MB Notification: Performance of Templates: time 0.002972/0.1883, allocations: 1.013 MB / 0.7826 GB, free: 6.293 MB / 458.7 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)