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 1.632/1.632, allocations: 287.5 MB / 302.6 MB, free: 8.188 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.001179/0.001179, allocations: 185.7 kB / 371.2 MB, free: 10.75 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.398/1.398, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008431/0.0008431, allocations: 88.8 kB / 0.7432 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.000396, allocations: 13.56 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001622/0.2096, allocations: 1.309 MB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.2121, allocations: 3.042 MB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.2122, allocations: 0 / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.2122, allocations: 3.938 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.796e-05/0.2123, allocations: 19.86 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.2126, allocations: 91.59 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.555e-05/0.2127, allocations: 75.7 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.2128, allocations: 8.172 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.2129, allocations: 31.91 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.213, allocations: 43.83 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.213, allocations: 4 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.2132, allocations: 71.81 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.2132, allocations: 15.97 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.2133, allocations: 41.58 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.2134, allocations: 72.09 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2134, allocations: 0 / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2134, allocations: 0 / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2134, allocations: 0 / 0.9834 GB, free: 23.32 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.0004606/0.2139, allocations: 387.3 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2139, allocations: 8.031 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.214, allocations: 8.844 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.593e-05/0.2141, allocations: 176.2 kB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.2141, allocations: 8.125 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2141, allocations: 8 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.2143, allocations: 89.52 kB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2144, allocations: 0 / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2144, allocations: 4 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2144, allocations: 0 / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.2146, allocations: 75.95 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.215, allocations: 332.8 kB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.2152, allocations: 90.48 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.2153, allocations: 56.83 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.2159, allocations: 0.7448 MB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.2159, allocations: 30.56 kB / 0.9853 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2159, allocations: 0 / 0.9853 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003582/0.2163, allocations: 153.8 kB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.2163, allocations: 51.41 kB / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.2164, allocations: 125.7 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.2164, allocations: 29.7 kB / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.2164, allocations: 92.12 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.2164, allocations: 27.56 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.2165, allocations: 4 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.2165, allocations: 322.8 kB / 0.9861 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.2166, allocations: 27.98 kB / 0.9861 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.2167, allocations: 49.69 kB / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.2169, allocations: 89.62 kB / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2169, allocations: 192 / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002009/0.2171, allocations: 125.5 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2171, allocations: 11.88 kB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2171, allocations: 0 / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2171, allocations: 0 / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.2172, allocations: 23.92 kB / 0.9864 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2173, allocations: 4 kB / 0.9864 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.2173, allocations: 4 kB / 0.9864 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.2174, allocations: 12.02 kB / 0.9864 GB, free: 19.86 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.574e-05/0.2174, allocations: 113.8 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.2174, allocations: 7.844 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.2177, allocations: 138.3 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2177, allocations: 0 / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2177, allocations: 0 / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2177, allocations: 0 / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2179, allocations: 189.6 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2179, allocations: 0 / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.218, allocations: 19.98 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.218, allocations: 3.938 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.218, allocations: 8 kB / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.218, allocations: 0 / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.218, allocations: 4 kB / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2183, allocations: 219.3 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.2183, allocations: 92.92 kB / 0.9872 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2183, allocations: 11.94 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.2184, allocations: 8 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.2185, allocations: 7.984 kB / 0.9872 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2185, allocations: 0 / 0.9872 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.2185, allocations: 91.27 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2185, allocations: 0 / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002222/0.2187, allocations: 28 kB / 0.9873 GB, free: 18.83 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.0001716/0.2189, allocations: 111.2 kB / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.2191, allocations: 87.89 kB / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2192, allocations: 0 / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.2192, allocations: 47.98 kB / 0.9876 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.2195, allocations: 8 kB / 0.9876 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.2199, allocations: 248.3 kB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.22, allocations: 0.6926 MB / 0.9885 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.441e-05/0.2201, allocations: 11.92 kB / 0.9885 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2201, allocations: 11.44 kB / 0.9885 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2201, allocations: 3.938 kB / 0.9885 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.002842/0.2229, allocations: 0.9238 MB / 0.9894 GB, free: 16.64 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)