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.0009054/0.0009054, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.0009427/0.0009429, allocations: 177.3 kB / 15.94 MB, free: 228 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.459/1.459, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.572/1.572, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005635/0.0005635, allocations: 18.75 kB / 0.6736 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2295, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001692/0.2312, allocations: 1.29 MB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003236/0.2345, allocations: 2.831 MB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.2346, allocations: 0 / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.2346, allocations: 11.92 kB / 0.7912 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.2347, allocations: 7.969 kB / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.2351, allocations: 107.7 kB / 0.7913 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.2352, allocations: 39.89 kB / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.2353, allocations: 12.17 kB / 0.7913 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.172e-05/0.2354, allocations: 31.91 kB / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.2355, allocations: 31.84 kB / 0.7914 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2355, allocations: 4 kB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.2357, allocations: 83.88 kB / 0.7915 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.2358, allocations: 15.91 kB / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.2358, allocations: 33.7 kB / 0.7915 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.236, allocations: 80.09 kB / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.236, allocations: 0 / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.384e-06/0.236, allocations: 0 / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.236, allocations: 3.938 kB / 0.7916 GB, free: 7.344 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.0004976/0.2365, allocations: 383.1 kB / 0.792 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2365, allocations: 8.031 kB / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.2366, allocations: 11.86 kB / 0.792 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2367, allocations: 182.9 kB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2367, allocations: 0 / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2367, allocations: 8 kB / 0.7922 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.237, allocations: 81.66 kB / 0.7922 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.237, allocations: 0 / 0.7922 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.237, allocations: 0 / 0.7922 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.237, allocations: 0 / 0.7922 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.2372, allocations: 83.88 kB / 0.7923 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.2377, allocations: 328.7 kB / 0.7926 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.2379, allocations: 94.53 kB / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007184/0.2386, allocations: 0.7607 MB / 0.7935 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.2386, allocations: 38.5 kB / 0.7935 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2386, allocations: 0 / 0.7935 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003788/0.239, allocations: 145.8 kB / 0.7936 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.2391, allocations: 51.41 kB / 0.7937 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.2392, allocations: 121.8 kB / 0.7938 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.2392, allocations: 29.7 kB / 0.7938 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.2392, allocations: 96.03 kB / 0.7939 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.2393, allocations: 19.66 kB / 0.7939 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.2393, allocations: 4 kB / 0.7939 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.2394, allocations: 326.8 kB / 0.7943 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.2395, allocations: 36.02 kB / 0.7943 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.615e-05/0.2396, allocations: 49.69 kB / 0.7943 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.88e-05/0.2397, allocations: 36.05 kB / 0.7944 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2397, allocations: 0 / 0.7944 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002306/0.2399, allocations: 129.5 kB / 0.7945 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2399, allocations: 4 kB / 0.7945 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2399, allocations: 0 / 0.7945 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2399, allocations: 4 kB / 0.7945 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2401, allocations: 19.98 kB / 0.7945 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2401, allocations: 0 / 0.7945 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.2402, allocations: 12.03 kB / 0.7945 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2402, allocations: 7.984 kB / 0.7945 GB, free: 3.98 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.425e-05/0.2403, allocations: 113.8 kB / 0.7946 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2403, allocations: 11.86 kB / 0.7947 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.2406, allocations: 133.8 kB / 0.7948 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2406, allocations: 4.188 kB / 0.7948 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2406, allocations: 0 / 0.7948 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2406, allocations: 7.922 kB / 0.7948 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.2408, allocations: 185.6 kB / 0.795 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2408, allocations: 0 / 0.795 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.2409, allocations: 15.98 kB / 0.795 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2409, allocations: 11.89 kB / 0.795 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2409, allocations: 4 kB / 0.795 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.241, allocations: 0 / 0.795 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.241, allocations: 0 / 0.795 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.2412, allocations: 219.3 kB / 0.7952 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.2413, allocations: 93.03 kB / 0.7953 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.2413, allocations: 3.953 kB / 0.7953 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.2414, allocations: 4 kB / 0.7953 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.2415, allocations: 7.984 kB / 0.7953 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2415, allocations: 7.984 kB / 0.7953 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.2415, allocations: 95.27 kB / 0.7954 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2415, allocations: 0 / 0.7954 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002424/0.2418, allocations: 19.91 kB / 0.7954 GB, free: 2.957 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.0001794/0.242, allocations: 119.2 kB / 0.7956 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.2422, allocations: 83.89 kB / 0.7956 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2422, allocations: 0 / 0.7956 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.2423, allocations: 47.98 kB / 0.7957 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.2425, allocations: 8 kB / 0.7957 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.2429, allocations: 256.2 kB / 0.7959 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2431, allocations: 0.6887 MB / 0.7966 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.771e-05/0.2432, allocations: 4.734 kB / 0.7966 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.2432, allocations: 23.36 kB / 0.7966 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2432, allocations: 0 / 0.7966 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.003112/0.2463, allocations: 0.9131 MB / 0.7975 GB, free: 0.7773 MB / 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: