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.641/1.641, allocations: 288.4 MB / 303.7 MB, free: 8.07 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.0009217/0.0009217, allocations: 184.5 kB / 372.3 MB, free: 10.14 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.474/1.474, allocations: 205.4 MB / 0.631 GB, free: 9.93 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.0008891/0.0008891, allocations: 94.12 kB / 0.7444 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 13.72 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.219, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00161/0.2207, allocations: 1.309 MB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.2233, allocations: 3.049 MB / 0.9844 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.2233, allocations: 0 / 0.9844 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.2234, allocations: 7.938 kB / 0.9844 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.2234, allocations: 7.922 kB / 0.9844 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.2238, allocations: 103.6 kB / 0.9845 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.2239, allocations: 75.7 kB / 0.9846 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.224, allocations: 8.172 kB / 0.9846 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.39e-05/0.2241, allocations: 31.92 kB / 0.9846 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.483e-05/0.2242, allocations: 39.81 kB / 0.9847 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2242, allocations: 4 kB / 0.9847 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.2244, allocations: 91.8 kB / 0.9848 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.2244, allocations: 11.92 kB / 0.9848 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.2245, allocations: 53.55 kB / 0.9848 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.2246, allocations: 88.08 kB / 0.9849 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2246, allocations: 0 / 0.9849 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2246, allocations: 0 / 0.9849 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2246, allocations: 0 / 0.9849 GB, free: 22.46 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.000421/0.2251, allocations: 383.3 kB / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2251, allocations: 8.031 kB / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.2251, allocations: 8.844 kB / 0.9853 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.2252, allocations: 176.2 kB / 0.9854 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2253, allocations: 8.125 kB / 0.9855 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2253, allocations: 4 kB / 0.9855 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2255, allocations: 89.58 kB / 0.9855 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2255, allocations: 4 kB / 0.9856 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2255, allocations: 0 / 0.9856 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2255, allocations: 0 / 0.9856 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.2257, allocations: 83.94 kB / 0.9856 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.2261, allocations: 328.8 kB / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.2263, allocations: 94.48 kB / 0.986 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.091e-05/0.2264, allocations: 52.77 kB / 0.9861 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.227, allocations: 0.7488 MB / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.227, allocations: 38.5 kB / 0.9869 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.227, allocations: 4 kB / 0.9869 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000373/0.2274, allocations: 149.8 kB / 0.987 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.2274, allocations: 51.41 kB / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.2275, allocations: 129.6 kB / 0.9872 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.2275, allocations: 25.7 kB / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.2276, allocations: 92.12 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.2276, allocations: 27.56 kB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.2276, allocations: 0 / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.2276, allocations: 318.8 kB / 0.9876 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.2277, allocations: 35.98 kB / 0.9876 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.2278, allocations: 49.69 kB / 0.9877 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.228, allocations: 89.62 kB / 0.9878 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.228, allocations: 4 kB / 0.9878 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001999/0.2282, allocations: 113.5 kB / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2282, allocations: 7.938 kB / 0.9879 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2282, allocations: 4.031 kB / 0.9879 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2283, allocations: 4 kB / 0.9879 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.2284, allocations: 27.92 kB / 0.9879 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2284, allocations: 0 / 0.9879 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.122e-05/0.2285, allocations: 8 kB / 0.9879 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2285, allocations: 3.984 kB / 0.9879 GB, free: 19 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 5.623e-05/0.2286, allocations: 113.8 kB / 0.9881 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.2286, allocations: 15.84 kB / 0.9881 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.2289, allocations: 126.5 kB / 0.9882 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2289, allocations: 7.938 kB / 0.9882 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2289, allocations: 0 / 0.9882 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2289, allocations: 7.984 kB / 0.9882 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.229, allocations: 185.6 kB / 0.9884 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.229, allocations: 0 / 0.9884 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.2292, allocations: 19.98 kB / 0.9884 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2292, allocations: 7.875 kB / 0.9884 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2292, allocations: 4 kB / 0.9884 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2292, allocations: 0 / 0.9884 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2292, allocations: 3.984 kB / 0.9884 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.2294, allocations: 215.4 kB / 0.9886 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.2294, allocations: 92.94 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.2295, allocations: 3.938 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.2296, allocations: 8 kB / 0.9887 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.2296, allocations: 7.984 kB / 0.9887 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2296, allocations: 8 kB / 0.9887 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.126e-05/0.2297, allocations: 91.27 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2297, allocations: 0 / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002389/0.2299, allocations: 20 kB / 0.9888 GB, free: 17.98 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.0001928/0.2301, allocations: 111.2 kB / 0.989 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2303, allocations: 91.88 kB / 0.989 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2304, allocations: 0 / 0.989 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.2304, allocations: 43.98 kB / 0.9891 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.2307, allocations: 9.031 kB / 0.9891 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.2311, allocations: 252.3 kB / 0.9893 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.2313, allocations: 0.6848 MB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.573e-05/0.2313, allocations: 19.86 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.2314, allocations: 15.44 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2314, allocations: 0 / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.00283/0.2342, allocations: 0.9133 MB / 0.9909 GB, free: 15.8 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)