Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8089/0.8089, allocations: 143.8 MB / 159.1 MB, free: 6.488 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.0013/0.0013, allocations: 183.3 kB / 192 MB, free: 6.707 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.404/1.404, allocations: 225.7 MB / 450.4 MB, free: 4.918 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.0008835/0.0008834, allocations: 99.52 kB / 0.5211 GB, free: 1.59 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.001669/0.001669, allocations: 292.3 kB / 0.6025 GB, free: 49.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004319, allocations: 13.31 kB / 0.6948 GB, free: 59.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1726, allocations: 82.46 MB / 0.7753 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001523/0.1742, allocations: 0.9849 MB / 0.7763 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006875/0.1749, allocations: 0.5221 MB / 0.7768 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.1749, allocations: 0 / 0.7768 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.175, allocations: 0 / 0.7768 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.175, allocations: 3.938 kB / 0.7768 GB, free: 12.75 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1753, allocations: 35.83 kB / 0.7768 GB, free: 12.72 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.027e-05/0.1754, allocations: 19.92 kB / 0.7768 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1754, allocations: 7.984 kB / 0.7769 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.1755, allocations: 4 kB / 0.7769 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.1755, allocations: 11.94 kB / 0.7769 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1755, allocations: 4 kB / 0.7769 GB, free: 12.67 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1757, allocations: 51.95 kB / 0.7769 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.1757, allocations: 3.984 kB / 0.7769 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.1757, allocations: 37.64 kB / 0.777 GB, free: 12.57 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1759, allocations: 44.17 kB / 0.777 GB, free: 12.53 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1759, allocations: 0 / 0.777 GB, free: 12.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1759, allocations: 0 / 0.777 GB, free: 12.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1759, allocations: 0 / 0.777 GB, free: 12.53 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.000396/0.1763, allocations: 339.5 kB / 0.7773 GB, free: 12.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1764, allocations: 12.03 kB / 0.7773 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.1766, allocations: 16.92 kB / 0.7774 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1767, allocations: 164.4 kB / 0.7775 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1767, allocations: 384 / 0.7775 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.1768, allocations: 384 / 0.7775 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1769, allocations: 42.25 kB / 0.7776 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1769, allocations: 4.188 kB / 0.7776 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1769, allocations: 3.938 kB / 0.7776 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1769, allocations: 0 / 0.7776 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.177, allocations: 27.92 kB / 0.7776 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1772, allocations: 157.6 kB / 0.7777 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.1789, allocations: 270.3 kB / 0.778 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.1789, allocations: 20.86 kB / 0.778 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.179, allocations: 4 kB / 0.778 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.179, allocations: 30.56 kB / 0.778 GB, free: 11.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.179, allocations: 4 kB / 0.7781 GB, free: 11.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001699/0.1792, allocations: 69.75 kB / 0.7781 GB, free: 11.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1792, allocations: 51.41 kB / 0.7782 GB, free: 11.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.995e-05/0.1793, allocations: 93.84 kB / 0.7783 GB, free: 11.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1793, allocations: 25.7 kB / 0.7783 GB, free: 11.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.1793, allocations: 84.14 kB / 0.7784 GB, free: 10.94 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.1794, allocations: 11.81 kB / 0.7784 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.1794, allocations: 3.938 kB / 0.7784 GB, free: 10.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1795, allocations: 315 kB / 0.7787 GB, free: 10.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.1795, allocations: 8 kB / 0.7787 GB, free: 10.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.1795, allocations: 15.97 kB / 0.7787 GB, free: 10.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.1796, allocations: 24.86 kB / 0.7787 GB, free: 10.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1796, allocations: 0 / 0.7787 GB, free: 10.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.091e-05/0.1797, allocations: 57.62 kB / 0.7788 GB, free: 10.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1797, allocations: 4 kB / 0.7788 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1797, allocations: 7.938 kB / 0.7788 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1797, allocations: 0 / 0.7788 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.1798, allocations: 4 kB / 0.7788 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1798, allocations: 4 kB / 0.7788 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.1798, allocations: 3.938 kB / 0.7788 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1799, allocations: 4 kB / 0.7788 GB, free: 10.46 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 6.871e-05/0.1799, allocations: 109.8 kB / 0.7789 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.1799, allocations: 0 / 0.7789 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.18, allocations: 15.44 kB / 0.7789 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.18, allocations: 0 / 0.7789 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.18, allocations: 0 / 0.7789 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.18, allocations: 0 / 0.7789 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1801, allocations: 169.6 kB / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1801, allocations: 0 / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.1802, allocations: 8 kB / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1802, allocations: 0 / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1802, allocations: 3.938 kB / 0.7791 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1802, allocations: 3.938 kB / 0.7791 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1802, allocations: 0 / 0.7791 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.73e-05/0.1803, allocations: 73.12 kB / 0.7792 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.1804, allocations: 89 kB / 0.7793 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1804, allocations: 7.938 kB / 0.7793 GB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.1804, allocations: 8 kB / 0.7793 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.1805, allocations: 0 / 0.7793 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1805, allocations: 4 kB / 0.7793 GB, free: 9.883 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.001e-05/0.1805, allocations: 79.27 kB / 0.7794 GB, free: 9.805 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1805, allocations: 0 / 0.7794 GB, free: 9.805 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000177/0.1807, allocations: 8 kB / 0.7794 GB, free: 9.797 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.0001083/0.1808, allocations: 106 kB / 0.7795 GB, free: 9.684 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.452e-05/0.1809, allocations: 31.92 kB / 0.7795 GB, free: 9.652 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1809, allocations: 0 / 0.7795 GB, free: 9.652 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.1809, allocations: 12 kB / 0.7795 GB, free: 9.641 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1812, allocations: 11.92 kB / 0.7795 GB, free: 9.629 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.1815, allocations: 132.6 kB / 0.7796 GB, free: 9.469 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1817, allocations: 0.6812 MB / 0.7803 GB, free: 8.762 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.1818, allocations: 3.984 kB / 0.7803 GB, free: 8.758 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.1818, allocations: 19.38 kB / 0.7803 GB, free: 8.738 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1818, allocations: 0 / 0.7803 GB, free: 8.738 MB / 458.7 MB Notification: Performance of Templates: time 0.002129/0.184, allocations: 494.4 kB / 0.7808 GB, free: 8.258 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)