Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.761/1.761, allocations: 288.4 MB / 303.4 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 184.5 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 0.6307 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000886/0.0008861, allocations: 88.94 kB / 0.7441 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006715/0.0006716, allocations: 17.52 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2639, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001734/0.2656, allocations: 1.297 MB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003358/0.269, allocations: 3.065 MB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.2691, allocations: 0 / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.2692, allocations: 0 / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.659e-05/0.2693, allocations: 11.86 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.2698, allocations: 99.59 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2699, allocations: 59.78 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.27, allocations: 16.17 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2701, allocations: 35.84 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.2703, allocations: 31.84 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2703, allocations: 0 / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.2706, allocations: 83.86 kB / 0.9842 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.2706, allocations: 11.92 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.2707, allocations: 29.7 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.2708, allocations: 80.09 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2709, allocations: 0 / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2709, allocations: 0 / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2709, allocations: 0 / 0.9843 GB, free: 22.78 MB / 0.6198 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.0005519/0.2714, allocations: 383.1 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2715, allocations: 8.031 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.2715, allocations: 11.86 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.2716, allocations: 171 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2717, allocations: 7.938 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.2717, allocations: 4 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.2719, allocations: 89.62 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2719, allocations: 0 / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.272, allocations: 4 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.272, allocations: 4 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.2722, allocations: 79.94 kB / 0.985 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.2726, allocations: 328.6 kB / 0.9853 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.2729, allocations: 94.55 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.273, allocations: 48.83 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006464/0.2736, allocations: 0.7529 MB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2737, allocations: 34.56 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.2737, allocations: 112 / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003786/0.274, allocations: 149.5 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2741, allocations: 55.41 kB / 0.9864 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.2742, allocations: 121.7 kB / 0.9866 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2742, allocations: 29.64 kB / 0.9866 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.2743, allocations: 96.03 kB / 0.9867 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.2743, allocations: 23.66 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.2743, allocations: 0 / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.2744, allocations: 318.8 kB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.2744, allocations: 39.92 kB / 0.987 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.2745, allocations: 49.69 kB / 0.9871 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.2746, allocations: 39.98 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2746, allocations: 0 / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002141/0.2749, allocations: 125.4 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2749, allocations: 4 kB / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2749, allocations: 400 / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2749, allocations: 0 / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.2751, allocations: 32.02 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2751, allocations: 0 / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-05/0.2752, allocations: 7.984 kB / 0.9873 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2752, allocations: 8 kB / 0.9873 GB, free: 19.36 MB / 0.6198 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 6.434e-05/0.2752, allocations: 113.8 kB / 0.9874 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.2753, allocations: 11.86 kB / 0.9874 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.2756, allocations: 137.8 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2756, allocations: 0 / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2756, allocations: 0 / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2756, allocations: 3.984 kB / 0.9876 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.2757, allocations: 185.6 kB / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2757, allocations: 0 / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2759, allocations: 23.98 kB / 0.9878 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2759, allocations: 4.141 kB / 0.9878 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2759, allocations: 8 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2759, allocations: 7.875 kB / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2759, allocations: 0 / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.2761, allocations: 215.3 kB / 0.988 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.2762, allocations: 81.05 kB / 0.9881 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.2762, allocations: 7.953 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.44e-05/0.2763, allocations: 8 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.2763, allocations: 7.984 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2764, allocations: 0 / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.2764, allocations: 91.27 kB / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2764, allocations: 8 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002343/0.2766, allocations: 27.91 kB / 0.9882 GB, free: 18.34 MB / 0.6198 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.0002132/0.2769, allocations: 115.2 kB / 0.9883 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.2771, allocations: 91.94 kB / 0.9884 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2771, allocations: 0 / 0.9884 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.2772, allocations: 43.98 kB / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2775, allocations: 4 kB / 0.9884 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.2779, allocations: 252.3 kB / 0.9887 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.278, allocations: 0.6887 MB / 0.9894 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.918e-05/0.2781, allocations: 12.17 kB / 0.9894 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.2781, allocations: 7.438 kB / 0.9894 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2781, allocations: 4 kB / 0.9894 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.003279/0.2814, allocations: 0.9174 MB / 0.9903 GB, free: 16.16 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)