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.0007462/0.0007462, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005163/0.005163, allocations: 172.4 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.715/1.715, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005174/0.0005176, allocations: 20.22 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2602, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001882/0.2621, allocations: 1.333 MB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003317/0.2654, allocations: 3.187 MB / 0.7923 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.2655, allocations: 0 / 0.7923 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.2655, allocations: 11.88 kB / 0.7923 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.2656, allocations: 11.86 kB / 0.7923 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.2661, allocations: 95.66 kB / 0.7924 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.815e-05/0.2662, allocations: 75.77 kB / 0.7925 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.2663, allocations: 20.17 kB / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2664, allocations: 31.86 kB / 0.7925 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.2665, allocations: 35.83 kB / 0.7926 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.2665, allocations: 0 / 0.7926 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.2668, allocations: 103.8 kB / 0.7927 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2668, allocations: 7.922 kB / 0.7927 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.2669, allocations: 61.48 kB / 0.7927 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.2671, allocations: 119.9 kB / 0.7928 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2671, allocations: 0 / 0.7928 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2671, allocations: 3.938 kB / 0.7928 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2671, allocations: 0 / 0.7928 GB, free: 6.465 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.000533/0.2676, allocations: 379.3 kB / 0.7932 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2677, allocations: 8.031 kB / 0.7932 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.2677, allocations: 12.84 kB / 0.7932 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2679, allocations: 184.2 kB / 0.7934 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2679, allocations: 4.125 kB / 0.7934 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.2679, allocations: 4 kB / 0.7934 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.2681, allocations: 85.64 kB / 0.7935 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2681, allocations: 0 / 0.7935 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2682, allocations: 3.984 kB / 0.7935 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.2682, allocations: 4 kB / 0.7935 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.2684, allocations: 79.95 kB / 0.7936 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.2689, allocations: 328.7 kB / 0.7939 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.2691, allocations: 94.55 kB / 0.794 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2692, allocations: 52.83 kB / 0.794 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/0.2699, allocations: 0.749 MB / 0.7948 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.27, allocations: 42.5 kB / 0.7948 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.27, allocations: 0 / 0.7948 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003777/0.2704, allocations: 141.6 kB / 0.7949 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2704, allocations: 51.41 kB / 0.795 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.2705, allocations: 133.6 kB / 0.7951 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2705, allocations: 25.7 kB / 0.7951 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.2706, allocations: 92.12 kB / 0.7952 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2706, allocations: 27.55 kB / 0.7953 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.2707, allocations: 21.7 kB / 0.7953 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.2707, allocations: 314.8 kB / 0.7956 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.925e-05/0.2708, allocations: 27.98 kB / 0.7956 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-05/0.2709, allocations: 61.62 kB / 0.7957 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.2711, allocations: 81.69 kB / 0.7957 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2711, allocations: 4 kB / 0.7957 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002262/0.2714, allocations: 121.5 kB / 0.7959 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2714, allocations: 7.938 kB / 0.7959 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2714, allocations: 304 / 0.7959 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2714, allocations: 3.938 kB / 0.7959 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2716, allocations: 27.95 kB / 0.7959 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2716, allocations: 4.391 kB / 0.7959 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.2716, allocations: 7.984 kB / 0.7959 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.2717, allocations: 4 kB / 0.7959 GB, free: 2.973 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.645e-05/0.2717, allocations: 117.8 kB / 0.796 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.2718, allocations: 15.84 kB / 0.796 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.2721, allocations: 126 kB / 0.7962 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2721, allocations: 3.984 kB / 0.7962 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2721, allocations: 0 / 0.7962 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2721, allocations: 4 kB / 0.7962 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.2723, allocations: 185.6 kB / 0.7963 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2723, allocations: 8 kB / 0.7964 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2724, allocations: 19.98 kB / 0.7964 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2724, allocations: 7.875 kB / 0.7964 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2724, allocations: 4 kB / 0.7964 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2724, allocations: 0 / 0.7964 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2725, allocations: 0 / 0.7964 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.2727, allocations: 211.4 kB / 0.7966 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.2728, allocations: 88.95 kB / 0.7967 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2728, allocations: 7.938 kB / 0.7967 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.2729, allocations: 4 kB / 0.7967 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.2729, allocations: 7.984 kB / 0.7967 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.273, allocations: 0 / 0.7967 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.273, allocations: 95.27 kB / 0.7968 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.273, allocations: 4 kB / 0.7968 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002475/0.2733, allocations: 24 kB / 0.7968 GB, free: 1.953 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 (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.0002105/0.2735, allocations: 129.9 kB / 0.7969 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.2737, allocations: 84.02 kB / 0.797 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2737, allocations: 0 / 0.797 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.2739, allocations: 43.92 kB / 0.7971 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2742, allocations: 15.92 kB / 0.7971 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.2746, allocations: 252.3 kB / 0.7973 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.2749, allocations: 0.6911 MB / 0.798 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.5e-05/0.2749, allocations: 19.91 kB / 0.798 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.275, allocations: 11.44 kB / 0.798 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.275, allocations: 0 / 0.798 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of Templates: time 0.00324/0.2782, allocations: 0.9219 MB / 0.7989 GB, free: 15.75 MB / 0.6231 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: