Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.611/1.611, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009913/0.0009912, allocations: 178.2 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007008/0.0007008, allocations: 87.48 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003295, allocations: 8.781 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1874, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001588/0.1891, allocations: 1.324 MB / 0.9027 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.1922, allocations: 3.214 MB / 0.9059 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.1923, allocations: 0 / 0.9059 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.1923, allocations: 3.938 kB / 0.9059 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.396e-05/0.1924, allocations: 19.91 kB / 0.9059 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.1929, allocations: 103.6 kB / 0.906 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.193, allocations: 75.7 kB / 0.9061 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.667e-05/0.1931, allocations: 8.188 kB / 0.9061 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1932, allocations: 43.84 kB / 0.9061 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.1933, allocations: 35.83 kB / 0.9062 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1933, allocations: 4 kB / 0.9062 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.1936, allocations: 95.78 kB / 0.9063 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.1936, allocations: 11.94 kB / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.1937, allocations: 53.55 kB / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1938, allocations: 84.08 kB / 0.9064 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1939, allocations: 0 / 0.9064 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1939, allocations: 4 kB / 0.9064 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1939, allocations: 0 / 0.9064 GB, free: 58.37 MB / 0.6042 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.0004711/0.1943, allocations: 379.3 kB / 0.9068 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1944, allocations: 8.031 kB / 0.9068 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.1944, allocations: 8.844 kB / 0.9068 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.944e-05/0.1945, allocations: 168.3 kB / 0.9069 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1945, allocations: 4.375 kB / 0.9069 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1946, allocations: 8.375 kB / 0.907 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1948, allocations: 93.45 kB / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1948, allocations: 0 / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1948, allocations: 0 / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1948, allocations: 4 kB / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.195, allocations: 83.94 kB / 0.9071 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.1954, allocations: 336.6 kB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1957, allocations: 106.5 kB / 0.9075 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.1958, allocations: 60.75 kB / 0.9076 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.1964, allocations: 0.7371 MB / 0.9083 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.1964, allocations: 30.56 kB / 0.9084 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1964, allocations: 0 / 0.9084 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0003827/0.1968, allocations: 161.7 kB / 0.9085 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.1968, allocations: 51.41 kB / 0.9086 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.1969, allocations: 117.8 kB / 0.9087 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.1969, allocations: 29.7 kB / 0.9087 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.197, allocations: 96.05 kB / 0.9088 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.197, allocations: 23.64 kB / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.197, allocations: 4 kB / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.1971, allocations: 314.8 kB / 0.9091 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.717e-05/0.1971, allocations: 35.97 kB / 0.9092 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.1972, allocations: 49.7 kB / 0.9092 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.1974, allocations: 85.62 kB / 0.9093 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1974, allocations: 0 / 0.9093 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002394/0.1976, allocations: 121.5 kB / 0.9094 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1977, allocations: 8 kB / 0.9094 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1977, allocations: 0 / 0.9094 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1977, allocations: 3.938 kB / 0.9094 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.1978, allocations: 23.92 kB / 0.9094 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1979, allocations: 0 / 0.9094 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.1979, allocations: 19.95 kB / 0.9095 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.198, allocations: 8.109 kB / 0.9095 GB, free: 54.89 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.198, allocations: 113.8 kB / 0.9096 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1981, allocations: 7.906 kB / 0.9096 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.1983, allocations: 134.1 kB / 0.9097 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1983, allocations: 3.938 kB / 0.9097 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1984, allocations: 3.938 kB / 0.9097 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1984, allocations: 0 / 0.9097 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.1985, allocations: 193.5 kB / 0.9099 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1985, allocations: 0 / 0.9099 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1986, allocations: 19.98 kB / 0.9099 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1986, allocations: 0 / 0.9099 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1987, allocations: 4 kB / 0.9099 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1987, allocations: 11.92 kB / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1987, allocations: 0 / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1989, allocations: 207.9 kB / 0.9101 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.1989, allocations: 85.02 kB / 0.9102 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1989, allocations: 4 kB / 0.9102 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.199, allocations: 7.938 kB / 0.9102 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1991, allocations: 7.984 kB / 0.9102 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1991, allocations: 0 / 0.9102 GB, free: 54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.1992, allocations: 95.27 kB / 0.9103 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1992, allocations: 0 / 0.9103 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002468/0.1994, allocations: 23.94 kB / 0.9103 GB, free: 53.89 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.1996, allocations: 119.2 kB / 0.9105 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1998, allocations: 91.94 kB / 0.9105 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1998, allocations: 0 / 0.9105 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-05/0.1999, allocations: 48.03 kB / 0.9106 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2002, allocations: 15.31 kB / 0.9106 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.2006, allocations: 282.9 kB / 0.9109 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2007, allocations: 0.6887 MB / 0.9115 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.2008, allocations: 11.44 kB / 0.9116 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2008, allocations: 0 / 0.9116 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.002437/0.2032, allocations: 1.248 MB / 0.9128 GB, free: 51.34 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)