Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.73/2.73, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.001642/0.001642, allocations: 193.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001084/0.001083, allocations: 96.08 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006744/0.0006747, allocations: 20.56 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2164, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001955/0.2184, allocations: 1.293 MB / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.2223, allocations: 2.836 MB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.2224, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.2224, allocations: 3.984 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.2225, allocations: 19.91 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.223, allocations: 95.67 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.295e-05/0.2231, allocations: 47.89 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.566e-05/0.2232, allocations: 12.17 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2234, allocations: 31.91 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.2235, allocations: 39.83 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2235, allocations: 4 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.2238, allocations: 79.81 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.2239, allocations: 11.98 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.2239, allocations: 37.64 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.2241, allocations: 76.09 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2241, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2241, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2241, allocations: 0 / 0.9827 GB, free: 23.79 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.0005742/0.2247, allocations: 379.1 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2248, allocations: 8.031 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.2248, allocations: 15.86 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2249, allocations: 174.9 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.225, allocations: 8 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.225, allocations: 3.938 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.2253, allocations: 81.59 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2253, allocations: 0 / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2253, allocations: 4 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2253, allocations: 4 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.2257, allocations: 87.89 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.2262, allocations: 316.8 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.2265, allocations: 110.5 kB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008484/0.2274, allocations: 0.741 MB / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2274, allocations: 30.56 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/0.2274, allocations: 4 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005678/0.228, allocations: 153.8 kB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.2281, allocations: 51.52 kB / 0.9848 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.2282, allocations: 125.7 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2282, allocations: 25.7 kB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.2282, allocations: 100 kB / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2283, allocations: 23.66 kB / 0.985 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.2283, allocations: 0 / 0.985 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.2284, allocations: 318.8 kB / 0.9853 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2285, allocations: 31.98 kB / 0.9854 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.2287, allocations: 57.62 kB / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.2288, allocations: 35.98 kB / 0.9854 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2289, allocations: 3.953 kB / 0.9855 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003662/0.2292, allocations: 121.5 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2293, allocations: 8 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2293, allocations: 0 / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2293, allocations: 0 / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2295, allocations: 23.98 kB / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2296, allocations: 4 kB / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2297, allocations: 8 kB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.2297, allocations: 7.984 kB / 0.9856 GB, free: 20.43 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.586e-05/0.2298, allocations: 119.9 kB / 0.9857 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.2298, allocations: 11.86 kB / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.2303, allocations: 134.3 kB / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2303, allocations: 4 kB / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2303, allocations: 0 / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2303, allocations: 3.984 kB / 0.9859 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.2305, allocations: 181.6 kB / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2306, allocations: 0 / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.2307, allocations: 27.88 kB / 0.9861 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2308, allocations: 0 / 0.9861 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2308, allocations: 4 kB / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2308, allocations: 4 kB / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2308, allocations: 0 / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.2312, allocations: 215.3 kB / 0.9863 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.2312, allocations: 85.03 kB / 0.9864 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2313, allocations: 3.953 kB / 0.9864 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2314, allocations: 16 kB / 0.9864 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.2315, allocations: 7.984 kB / 0.9864 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2315, allocations: 192 / 0.9864 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.543e-05/0.2316, allocations: 91.27 kB / 0.9865 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2316, allocations: 3.938 kB / 0.9865 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003383/0.2319, allocations: 31.91 kB / 0.9865 GB, free: 19.41 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.000212/0.2322, allocations: 115.2 kB / 0.9866 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.2325, allocations: 79.95 kB / 0.9867 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2325, allocations: 0 / 0.9867 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2327, allocations: 51.91 kB / 0.9868 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.233, allocations: 8.062 kB / 0.9868 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.2334, allocations: 253.3 kB / 0.987 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2336, allocations: 0.6926 MB / 0.9877 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.2337, allocations: 8.172 kB / 0.9877 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.2338, allocations: 15.38 kB / 0.9877 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2338, allocations: 0 / 0.9877 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.004233/0.238, allocations: 0.9143 MB / 0.9886 GB, free: 17.23 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)