Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009264/0.00927, allocations: 114.3 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001145/0.001145, allocations: 180 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.983/1.983, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.243/2.243, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009546/0.0009549, allocations: 12 kB / 0.5869 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5321/0.5331, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001663/0.5348, allocations: 1.27 MB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003573/0.5384, allocations: 2.829 MB / 0.6873 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.5385, allocations: 1.125 kB / 0.6873 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.5385, allocations: 9.234 kB / 0.6874 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.5386, allocations: 12.16 kB / 0.6874 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.539, allocations: 95.05 kB / 0.6875 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.903e-05/0.5391, allocations: 45.52 kB / 0.6875 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.5392, allocations: 12.45 kB / 0.6875 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.5394, allocations: 34.77 kB / 0.6875 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.163e-05/0.5395, allocations: 37.14 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.5395, allocations: 6.844 kB / 0.6876 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.5398, allocations: 79.58 kB / 0.6877 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.5398, allocations: 8.516 kB / 0.6877 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.5399, allocations: 34.05 kB / 0.6877 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.5401, allocations: 77.52 kB / 0.6878 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.657e-06/0.5401, allocations: 1.312 kB / 0.6878 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.333e-06/0.5401, allocations: 0 / 0.6878 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.615e-06/0.5401, allocations: 0 / 0.6878 GB, free: 13.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004859/0.5406, allocations: 381.1 kB / 0.6881 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5406, allocations: 9.25 kB / 0.6882 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.5407, allocations: 7.781 kB / 0.6882 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.5408, allocations: 175.9 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.5408, allocations: 6.781 kB / 0.6883 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.5408, allocations: 3.266 kB / 0.6883 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.5411, allocations: 82.59 kB / 0.6884 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5411, allocations: 3.953 kB / 0.6884 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5411, allocations: 5.828 kB / 0.6884 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.5412, allocations: 1.5 kB / 0.6884 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.5414, allocations: 79.39 kB / 0.6885 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.5419, allocations: 324 kB / 0.6888 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.5422, allocations: 99.25 kB / 0.6889 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007652/0.543, allocations: 0.7519 MB / 0.6896 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.5431, allocations: 32.25 kB / 0.6897 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 3.137e-06/0.5431, allocations: 0 / 0.6897 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0005145/0.5436, allocations: 153.2 kB / 0.6898 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.5436, allocations: 52.81 kB / 0.6899 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.5437, allocations: 117.1 kB / 0.69 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.5438, allocations: 26.8 kB / 0.69 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.5438, allocations: 87.83 kB / 0.6901 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.5438, allocations: 29.27 kB / 0.6901 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-06/0.5439, allocations: 0 / 0.6901 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.5439, allocations: 323.6 kB / 0.6904 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5441, allocations: 36.56 kB / 0.6905 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.5442, allocations: 50.16 kB / 0.6905 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.5443, allocations: 40.67 kB / 0.6905 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5444, allocations: 4 kB / 0.6906 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003375/0.5447, allocations: 115 kB / 0.6907 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.5447, allocations: 5.875 kB / 0.6907 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.783e-06/0.5447, allocations: 1.031 kB / 0.6907 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5448, allocations: 1.188 kB / 0.6907 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.545, allocations: 33.05 kB / 0.6907 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.046e-06/0.545, allocations: 1.828 kB / 0.6907 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.787e-05/0.5451, allocations: 10.48 kB / 0.6907 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.5451, allocations: 4.125 kB / 0.6907 GB, free: 10.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/0.5452, allocations: 117.4 kB / 0.6908 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.5453, allocations: 7.703 kB / 0.6908 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.5457, allocations: 133 kB / 0.691 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.5457, allocations: 2.391 kB / 0.691 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.5457, allocations: 3.938 kB / 0.691 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.556e-06/0.5457, allocations: 4.688 kB / 0.691 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.5459, allocations: 190.5 kB / 0.6912 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5459, allocations: 0 / 0.6912 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.5461, allocations: 24.09 kB / 0.6912 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.093e-06/0.5461, allocations: 0.875 kB / 0.6912 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.5461, allocations: 4.703 kB / 0.6912 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5462, allocations: 4.875 kB / 0.6912 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.5462, allocations: 1.688 kB / 0.6912 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.5465, allocations: 211.5 kB / 0.6914 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.5466, allocations: 84.33 kB / 0.6915 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.5466, allocations: 1.359 kB / 0.6915 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.5467, allocations: 15.28 kB / 0.6915 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.5468, allocations: 10.23 kB / 0.6915 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.5468, allocations: 2.062 kB / 0.6915 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.5469, allocations: 95.98 kB / 0.6916 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.47e-07/0.5469, allocations: 4 kB / 0.6916 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000362/0.5473, allocations: 25.44 kB / 0.6916 GB, free: 10.16 MB / 0.5261 GB 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001996/0.5475, allocations: 117.1 kB / 0.6917 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.5478, allocations: 94.8 kB / 0.6918 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.987e-06/0.5478, allocations: 0 / 0.6918 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.548, allocations: 46 kB / 0.6919 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.5482, allocations: 9.609 kB / 0.6919 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.5487, allocations: 254.1 kB / 0.6921 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.5489, allocations: 0.6911 MB / 0.6928 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.152e-05/0.549, allocations: 9.172 kB / 0.6928 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.549, allocations: 12.2 kB / 0.6928 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of SimCode: time 1.55e-06/0.549, allocations: 0 / 0.6928 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of Templates: time 0.004379/0.5534, allocations: 0.9111 MB / 0.6937 GB, free: 9.02 MB / 0.5261 GB