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.399/1.399, allocations: 252 MB / 267.6 MB, free: 10.97 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.001016/0.001016, allocations: 171.7 kB / 327.3 MB, free: 2.223 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.979/1.979, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0007567/0.0007567, allocations: 82.38 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 11.19 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2268, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001817/0.2286, allocations: 1.301 MB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.2319, allocations: 3.064 MB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.232, allocations: 4 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.2321, allocations: 3.984 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.2322, allocations: 11.86 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.2326, allocations: 95.66 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.2327, allocations: 63.72 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.2328, allocations: 12.19 kB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.233, allocations: 35.83 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.2331, allocations: 27.91 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2331, allocations: 7.938 kB / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.2334, allocations: 83.8 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.2334, allocations: 7.984 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.2334, allocations: 33.64 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2336, allocations: 84.03 kB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2336, allocations: 0 / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2336, allocations: 0 / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2336, allocations: 0 / 0.9056 GB, free: 59.05 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.0005228/0.2342, allocations: 380 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2342, allocations: 8.031 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.2343, allocations: 11.89 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2344, allocations: 174.9 kB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2344, allocations: 4 kB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.2344, allocations: 4 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.2346, allocations: 81.59 kB / 0.9062 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2347, allocations: 4 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2347, allocations: 11.94 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2347, allocations: 3.984 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.2349, allocations: 83.89 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.2354, allocations: 320.8 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.2356, allocations: 98.48 kB / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.608e-05/0.2357, allocations: 44.84 kB / 0.9067 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006509/0.2364, allocations: 0.7565 MB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2364, allocations: 34.56 kB / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.2364, allocations: 0 / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0003821/0.2368, allocations: 145.9 kB / 0.9076 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2368, allocations: 51.41 kB / 0.9077 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.2369, allocations: 121.8 kB / 0.9078 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.2369, allocations: 25.7 kB / 0.9078 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.237, allocations: 92.12 kB / 0.9079 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.237, allocations: 31.55 kB / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.237, allocations: 0 / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.2371, allocations: 322.8 kB / 0.9083 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.2372, allocations: 35.98 kB / 0.9083 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.2373, allocations: 53.62 kB / 0.9083 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.2374, allocations: 44.03 kB / 0.9084 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2374, allocations: 3.938 kB / 0.9084 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002202/0.2376, allocations: 117.6 kB / 0.9085 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2376, allocations: 4 kB / 0.9085 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2376, allocations: 0 / 0.9085 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2376, allocations: 0 / 0.9085 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.2378, allocations: 27.95 kB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2378, allocations: 4 kB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.2379, allocations: 7.938 kB / 0.9085 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2379, allocations: 8 kB / 0.9085 GB, free: 55.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.238, allocations: 121.8 kB / 0.9087 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.238, allocations: 3.906 kB / 0.9087 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.2383, allocations: 138.3 kB / 0.9088 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2383, allocations: 0 / 0.9088 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2383, allocations: 0 / 0.9088 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2383, allocations: 0 / 0.9088 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.2385, allocations: 197.6 kB / 0.909 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2385, allocations: 0 / 0.909 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.2386, allocations: 23.98 kB / 0.909 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2387, allocations: 0 / 0.909 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.2387, allocations: 4 kB / 0.909 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2387, allocations: 0 / 0.909 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2387, allocations: 0 / 0.909 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.2389, allocations: 215.3 kB / 0.9092 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.239, allocations: 81.02 kB / 0.9093 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.239, allocations: 11.98 kB / 0.9093 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.2391, allocations: 4 kB / 0.9093 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.2391, allocations: 7.984 kB / 0.9093 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2391, allocations: 0 / 0.9093 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.2392, allocations: 91.27 kB / 0.9094 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2392, allocations: 8.125 kB / 0.9094 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000234/0.2394, allocations: 27.94 kB / 0.9094 GB, free: 54.62 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 (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.0001897/0.2396, allocations: 119.2 kB / 0.9096 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.2399, allocations: 87.97 kB / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2399, allocations: 0 / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.24, allocations: 39.97 kB / 0.9097 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.2402, allocations: 12 kB / 0.9097 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.2406, allocations: 281.9 kB / 0.91 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.2408, allocations: 0.6887 MB / 0.9106 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.2408, allocations: 15.42 kB / 0.9106 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.2408, allocations: 0 / 0.9106 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.002581/0.2434, allocations: 1.238 MB / 0.9119 GB, free: 52.09 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)