Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.7 MB, free: 11.61 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.001342/0.001342, allocations: 172.9 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009081/0.0009078, allocations: 91.22 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006388/0.0006389, allocations: 13.28 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2084, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002863/0.2113, allocations: 1.301 MB / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006309/0.2177, allocations: 3.068 MB / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.607e-05/0.2178, allocations: 0 / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.2179, allocations: 3.938 kB / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.218, allocations: 15.91 kB / 0.9038 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.2187, allocations: 83.61 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.2189, allocations: 67.78 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.219, allocations: 12.16 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.2192, allocations: 43.86 kB / 0.904 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.2193, allocations: 35.83 kB / 0.904 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.2194, allocations: 0 / 0.904 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.2198, allocations: 71.88 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.2199, allocations: 11.86 kB / 0.9041 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2199, allocations: 37.7 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.2202, allocations: 84.02 kB / 0.9042 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.403e-06/0.2202, allocations: 0 / 0.9042 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2202, allocations: 4 kB / 0.9042 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2203, allocations: 0 / 0.9042 GB, free: 60.63 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.0007835/0.2211, allocations: 379.3 kB / 0.9046 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.2211, allocations: 8.031 kB / 0.9046 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.2212, allocations: 8.844 kB / 0.9046 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2214, allocations: 176.2 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2214, allocations: 4.375 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.2214, allocations: 12.36 kB / 0.9048 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.2219, allocations: 81.59 kB / 0.9049 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2219, allocations: 0 / 0.9049 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.2219, allocations: 0 / 0.9049 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.222, allocations: 4 kB / 0.9049 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.2225, allocations: 87.88 kB / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/0.2233, allocations: 324.7 kB / 0.9053 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.2238, allocations: 106.5 kB / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.2241, allocations: 44.84 kB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.2254, allocations: 0.7488 MB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.2255, allocations: 34.56 kB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 4.098e-06/0.2255, allocations: 0 / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0008809/0.2264, allocations: 149.6 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.2265, allocations: 55.41 kB / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2266, allocations: 113.8 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.2267, allocations: 29.7 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.2267, allocations: 96.05 kB / 0.9066 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.2268, allocations: 31.55 kB / 0.9066 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.2268, allocations: 0 / 0.9066 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.2269, allocations: 314.8 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.2272, allocations: 40 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.2274, allocations: 49.7 kB / 0.907 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.2277, allocations: 32.17 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2277, allocations: 0 / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006067/0.2283, allocations: 125.6 kB / 0.9072 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.2284, allocations: 7.938 kB / 0.9072 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.2284, allocations: 0 / 0.9072 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2284, allocations: 4 kB / 0.9072 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.2288, allocations: 27.92 kB / 0.9072 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2288, allocations: 0 / 0.9072 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.229, allocations: 19.83 kB / 0.9072 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.2291, allocations: 4 kB / 0.9072 GB, free: 57.22 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 0.0001163/0.2292, allocations: 117.9 kB / 0.9073 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.2293, allocations: 7.906 kB / 0.9073 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/0.23, allocations: 134.3 kB / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.23, allocations: 7.938 kB / 0.9075 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.23, allocations: 0 / 0.9075 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.2301, allocations: 85.02 kB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.2301, allocations: 0 / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.2304, allocations: 7.984 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.2305, allocations: 4 kB / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007233/0.2313, allocations: 201 kB / 0.9078 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005926/0.2319, allocations: 294.6 kB / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002443/0.2322, allocations: 39.98 kB / 0.9081 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.217e-05/0.2322, allocations: 91.27 kB / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of Backend: time 1.102e-06/0.2323, allocations: 0 / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.2333, allocations: 155.1 kB / 0.9083 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007075/0.2341, allocations: 0.685 MB / 0.909 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.007764/0.2419, allocations: 1.387 MB / 0.9103 GB, free: 53.93 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)