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.756/1.756, allocations: 288.3 MB / 303.2 MB, free: 8.23 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.001166/0.001166, allocations: 178.1 kB / 371.8 MB, free: 10.26 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.617/1.617, allocations: 205.4 MB / 0.6306 GB, free: 9.895 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.0009572/0.0009572, allocations: 110.8 kB / 0.7439 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004007, allocations: 16.39 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2324, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001836/0.2342, allocations: 1.293 MB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002983/0.2372, allocations: 2.84 MB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.2373, allocations: 4 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.2374, allocations: 3.984 kB / 0.9835 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.835e-05/0.2375, allocations: 19.91 kB / 0.9835 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.2379, allocations: 99.69 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2381, allocations: 43.94 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2382, allocations: 12.16 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.2383, allocations: 43.84 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.778e-05/0.2384, allocations: 27.91 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2384, allocations: 0 / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.2387, allocations: 83.81 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2388, allocations: 7.984 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.2388, allocations: 37.64 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.239, allocations: 80.08 kB / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.239, allocations: 0 / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.92e-07/0.239, allocations: 0 / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.239, allocations: 4 kB / 0.9839 GB, free: 23.05 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.0004945/0.2395, allocations: 379.1 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2396, allocations: 11.97 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.2396, allocations: 11.86 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2397, allocations: 171 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2397, allocations: 7.938 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.2398, allocations: 8 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.24, allocations: 81.59 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.24, allocations: 0 / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.24, allocations: 4 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.24, allocations: 0 / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.2402, allocations: 87.94 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.2407, allocations: 316.7 kB / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2409, allocations: 102.5 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006631/0.2416, allocations: 0.7488 MB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.2416, allocations: 30.56 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.364e-06/0.2416, allocations: 112 / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003673/0.242, allocations: 157.9 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.242, allocations: 51.41 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.2421, allocations: 121.8 kB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.2421, allocations: 25.7 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.2422, allocations: 96.02 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.2422, allocations: 23.66 kB / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.2422, allocations: 0 / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.042e-05/0.2423, allocations: 326.8 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.2424, allocations: 31.98 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.2425, allocations: 45.69 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.813e-05/0.2426, allocations: 44.05 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2426, allocations: 4 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002092/0.2428, allocations: 121.5 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2428, allocations: 6.031 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2428, allocations: 4 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2429, allocations: 32 / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.243, allocations: 23.98 kB / 0.9868 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.243, allocations: 0 / 0.9868 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.27e-05/0.2431, allocations: 8 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2431, allocations: 4.172 kB / 0.9868 GB, free: 19.71 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 7.329e-05/0.2432, allocations: 117.8 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.2432, allocations: 15.8 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.2435, allocations: 133.9 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2435, allocations: 4 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2435, allocations: 0 / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2436, allocations: 0 / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.2437, allocations: 185.6 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2437, allocations: 4 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.2438, allocations: 27.92 kB / 0.9873 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2439, allocations: 7.938 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2439, allocations: 0 / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2439, allocations: 3.938 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2439, allocations: 0 / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.2441, allocations: 207.4 kB / 0.9875 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.2442, allocations: 89.03 kB / 0.9876 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.2442, allocations: 11.95 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.2443, allocations: 4 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.2444, allocations: 7.984 kB / 0.9876 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.2444, allocations: 4 kB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.2444, allocations: 95.27 kB / 0.9877 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2444, allocations: 0 / 0.9877 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002542/0.2447, allocations: 27.91 kB / 0.9877 GB, free: 18.68 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.0002192/0.2449, allocations: 119.2 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.2452, allocations: 88.02 kB / 0.9879 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2452, allocations: 0 / 0.9879 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.2453, allocations: 43.92 kB / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.2455, allocations: 8.688 kB / 0.988 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.2459, allocations: 252.2 kB / 0.9882 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.246, allocations: 0.6926 MB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.58e-05/0.2461, allocations: 12.67 kB / 0.9889 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.2461, allocations: 11.44 kB / 0.9889 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2462, allocations: 0 / 0.9889 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.003249/0.2494, allocations: 0.913 MB / 0.9898 GB, free: 16.51 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)