Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007482/0.0007482, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.4 MB / 222.1 MB, free: 5.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005142, allocations: 16.28 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2358, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001842/0.2377, allocations: 1.302 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003277/0.241, allocations: 3.053 MB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.2411, allocations: 0 / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.2411, allocations: 3.938 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.576e-05/0.2412, allocations: 7.922 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.2416, allocations: 95.59 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.2417, allocations: 71.77 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.455e-05/0.2418, allocations: 8.172 kB / 0.7917 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.2419, allocations: 35.86 kB / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.242, allocations: 35.83 kB / 0.7918 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.2421, allocations: 4 kB / 0.7918 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.2423, allocations: 75.88 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.2423, allocations: 7.922 kB / 0.7919 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.2424, allocations: 37.7 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2425, allocations: 84.02 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2425, allocations: 0 / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2425, allocations: 0 / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.2425, allocations: 0 / 0.792 GB, free: 7.082 MB / 0.6075 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.0005209/0.2431, allocations: 387 kB / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2431, allocations: 8.031 kB / 0.7924 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.2432, allocations: 11.86 kB / 0.7924 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2433, allocations: 167 kB / 0.7926 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2433, allocations: 0 / 0.7926 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2433, allocations: 8 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.2435, allocations: 89.58 kB / 0.7926 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2436, allocations: 0 / 0.7926 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2436, allocations: 0 / 0.7926 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.2436, allocations: 4 kB / 0.7926 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.2438, allocations: 87.81 kB / 0.7927 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.2442, allocations: 324.7 kB / 0.793 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.2445, allocations: 98.53 kB / 0.7931 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2446, allocations: 52.83 kB / 0.7932 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/0.2453, allocations: 0.7489 MB / 0.7939 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2453, allocations: 34.56 kB / 0.7939 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2453, allocations: 0 / 0.7939 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003752/0.2457, allocations: 149.5 kB / 0.7941 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2458, allocations: 55.41 kB / 0.7941 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.2459, allocations: 113.8 kB / 0.7943 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2459, allocations: 29.7 kB / 0.7943 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.246, allocations: 96.12 kB / 0.7944 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.246, allocations: 27.59 kB / 0.7944 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.246, allocations: 0 / 0.7944 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2461, allocations: 322.8 kB / 0.7947 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.2462, allocations: 31.98 kB / 0.7947 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.575e-05/0.2463, allocations: 49.69 kB / 0.7948 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.724e-05/0.2464, allocations: 36.09 kB / 0.7948 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2464, allocations: 3.938 kB / 0.7948 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000217/0.2466, allocations: 125.5 kB / 0.7949 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2467, allocations: 4 kB / 0.7949 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2467, allocations: 0 / 0.7949 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2467, allocations: 8.031 kB / 0.795 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2468, allocations: 19.98 kB / 0.795 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2468, allocations: 0 / 0.795 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.2469, allocations: 8 kB / 0.795 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2469, allocations: 7.984 kB / 0.795 GB, free: 3.68 MB / 0.6075 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.819e-05/0.247, allocations: 118.4 kB / 0.7951 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.247, allocations: 11.86 kB / 0.7951 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.2473, allocations: 138.4 kB / 0.7952 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2473, allocations: 0 / 0.7952 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2474, allocations: 0 / 0.7952 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2474, allocations: 4 kB / 0.7952 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2475, allocations: 181.6 kB / 0.7954 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2476, allocations: 8 kB / 0.7954 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.2477, allocations: 15.98 kB / 0.7954 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.2477, allocations: 7.953 kB / 0.7955 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2477, allocations: 8 kB / 0.7955 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2477, allocations: 0 / 0.7955 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2477, allocations: 4.016 kB / 0.7955 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.248, allocations: 215.4 kB / 0.7957 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.248, allocations: 89.03 kB / 0.7958 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.248, allocations: 3.953 kB / 0.7958 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.2481, allocations: 8 kB / 0.7958 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.2482, allocations: 7.984 kB / 0.7958 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.2482, allocations: 0 / 0.7958 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.2482, allocations: 103.6 kB / 0.7959 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2482, allocations: 3.938 kB / 0.7959 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000242/0.2485, allocations: 27.91 kB / 0.7959 GB, free: 2.641 MB / 0.6075 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.000199/0.2487, allocations: 111.2 kB / 0.796 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.2489, allocations: 87.89 kB / 0.7961 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2489, allocations: 0 / 0.7961 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.249, allocations: 47.92 kB / 0.7961 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.2493, allocations: 4 kB / 0.7961 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.2497, allocations: 248.4 kB / 0.7964 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2499, allocations: 0.6872 MB / 0.7971 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.547e-05/0.25, allocations: 20.09 kB / 0.7971 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.25, allocations: 11.44 kB / 0.7971 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.25, allocations: 0 / 0.7971 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of Templates: time 0.002769/0.2528, allocations: 0.9193 MB / 0.798 GB, free: 476 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) Environment - environmentSimulation: