Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001432/0.001432, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 222.1 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.2 MB / 0.5485 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 65.2 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.274, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002997/0.277, allocations: 1.652 MB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003457/0.2805, allocations: 3.23 MB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.2806, allocations: 3.938 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/0.2806, allocations: 3.938 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.083e-05/0.2807, allocations: 11.86 kB / 0.7877 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.2812, allocations: 111.6 kB / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2813, allocations: 75.77 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.2814, allocations: 24.16 kB / 0.7879 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.2815, allocations: 39.78 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.2816, allocations: 31.91 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.2816, allocations: 8 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.2819, allocations: 103.8 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.2819, allocations: 15.92 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.282, allocations: 35.8 kB / 0.7881 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.2822, allocations: 123.9 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2822, allocations: 4 kB / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2822, allocations: 0 / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2822, allocations: 0 / 0.7882 GB, free: 8.383 MB / 0.6075 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.0005255/0.2828, allocations: 383.2 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2828, allocations: 12.03 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.2828, allocations: 8.844 kB / 0.7886 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.283, allocations: 176.2 kB / 0.7888 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.283, allocations: 12.12 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.283, allocations: 4 kB / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.2832, allocations: 77.64 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2832, allocations: 0 / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2833, allocations: 4 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2833, allocations: 4 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.2835, allocations: 75.88 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.284, allocations: 328.6 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.2842, allocations: 90.55 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.735e-05/0.2843, allocations: 48.83 kB / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/0.2851, allocations: 0.7527 MB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2851, allocations: 34.78 kB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2851, allocations: 0 / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003805/0.2855, allocations: 141.5 kB / 0.7903 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.2856, allocations: 55.41 kB / 0.7903 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.2856, allocations: 125.7 kB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2857, allocations: 25.7 kB / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.2857, allocations: 92.05 kB / 0.7906 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.2857, allocations: 27.64 kB / 0.7906 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.2858, allocations: 17.72 kB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2859, allocations: 326.8 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.286, allocations: 27.98 kB / 0.7909 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/0.2861, allocations: 53.56 kB / 0.791 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.2863, allocations: 77.67 kB / 0.7911 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2863, allocations: 0 / 0.7911 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002162/0.2865, allocations: 113.5 kB / 0.7912 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2865, allocations: 12.05 kB / 0.7912 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2865, allocations: 3.938 kB / 0.7912 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2866, allocations: 0 / 0.7912 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2867, allocations: 27.98 kB / 0.7912 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2867, allocations: 0 / 0.7912 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.2868, allocations: 7.984 kB / 0.7912 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2868, allocations: 4 kB / 0.7912 GB, free: 4.93 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/0.2869, allocations: 121.8 kB / 0.7913 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.2869, allocations: 7.844 kB / 0.7914 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.2872, allocations: 118 kB / 0.7915 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2872, allocations: 0 / 0.7915 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2872, allocations: 0 / 0.7915 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2872, allocations: 7.984 kB / 0.7915 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.2874, allocations: 189.5 kB / 0.7917 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2874, allocations: 4 kB / 0.7917 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.2875, allocations: 15.98 kB / 0.7917 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2875, allocations: 3.938 kB / 0.7917 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2875, allocations: 7.938 kB / 0.7917 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2876, allocations: 0 / 0.7917 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2876, allocations: 4 kB / 0.7917 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.2878, allocations: 207.9 kB / 0.7919 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.2879, allocations: 84.95 kB / 0.792 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.2879, allocations: 8.125 kB / 0.792 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.288, allocations: 4 kB / 0.792 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.2881, allocations: 11.92 kB / 0.792 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2881, allocations: 4 kB / 0.792 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.2881, allocations: 91.27 kB / 0.7921 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2881, allocations: 0 / 0.7921 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002478/0.2884, allocations: 20 kB / 0.7921 GB, free: 3.934 MB / 0.6075 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 (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.0001996/0.2886, allocations: 129.5 kB / 0.7922 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.2888, allocations: 83.94 kB / 0.7923 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2888, allocations: 0 / 0.7923 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-05/0.2889, allocations: 39.92 kB / 0.7923 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.2893, allocations: 16.05 kB / 0.7924 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.2897, allocations: 226.7 kB / 0.7926 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.2899, allocations: 0.6963 MB / 0.7933 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.192e-05/0.29, allocations: 4 kB / 0.7933 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.29, allocations: 15.42 kB / 0.7933 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.29, allocations: 0 / 0.7933 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of Templates: time 0.003101/0.2931, allocations: 0.9754 MB / 0.7942 GB, free: 1.711 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)