Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.4 MB / 303.6 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 175.6 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 0.631 GB, free: 9.84 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 94.86 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004275, allocations: 12.56 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2623, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001987/0.2643, allocations: 1.305 MB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003483/0.2678, allocations: 3.069 MB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.2679, allocations: 0 / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.268, allocations: 0 / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/0.2681, allocations: 11.88 kB / 0.9845 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.2686, allocations: 99.64 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.051e-05/0.2687, allocations: 71.7 kB / 0.9846 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.433e-05/0.2688, allocations: 8.188 kB / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.269, allocations: 35.84 kB / 0.9847 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.2691, allocations: 31.91 kB / 0.9847 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.2691, allocations: 0 / 0.9847 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.2693, allocations: 91.78 kB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.2694, allocations: 19.91 kB / 0.9848 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.2694, allocations: 49.56 kB / 0.9849 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.2696, allocations: 88.08 kB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2696, allocations: 0 / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2696, allocations: 0 / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2696, allocations: 4 kB / 0.985 GB, free: 22.32 MB / 0.6198 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.0004981/0.2701, allocations: 379.3 kB / 0.9853 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2702, allocations: 8.031 kB / 0.9853 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.2702, allocations: 38.75 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2703, allocations: 8.844 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2704, allocations: 180.2 kB / 0.9855 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2704, allocations: 7.875 kB / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2704, allocations: 8 kB / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.2707, allocations: 85.64 kB / 0.9856 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2707, allocations: 0 / 0.9856 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2707, allocations: 0 / 0.9856 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2707, allocations: 0 / 0.9856 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.2709, allocations: 83.94 kB / 0.9857 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.2714, allocations: 320.8 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.2716, allocations: 98.48 kB / 0.9861 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.2717, allocations: 48.83 kB / 0.9862 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006156/0.2723, allocations: 0.7565 MB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.2724, allocations: 38.5 kB / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.2724, allocations: 0 / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003751/0.2727, allocations: 149.8 kB / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.2728, allocations: 51.41 kB / 0.9871 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.2729, allocations: 125.7 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.2729, allocations: 29.7 kB / 0.9873 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.2729, allocations: 88.14 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.273, allocations: 31.55 kB / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.273, allocations: 0 / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.2731, allocations: 318.8 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.018e-05/0.2731, allocations: 35.97 kB / 0.9877 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.2732, allocations: 45.7 kB / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.2734, allocations: 89.61 kB / 0.9879 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2734, allocations: 4 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002128/0.2736, allocations: 125.8 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2737, allocations: 7.938 kB / 0.988 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2737, allocations: 4 kB / 0.988 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2737, allocations: 0 / 0.988 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.2738, allocations: 19.98 kB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2738, allocations: 0 / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.2739, allocations: 15.98 kB / 0.988 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2739, allocations: 4 kB / 0.988 GB, free: 18.8 MB / 0.6198 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 6.803e-05/0.274, allocations: 117.9 kB / 0.9882 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.274, allocations: 15.83 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.2743, allocations: 125.9 kB / 0.9883 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2743, allocations: 4 kB / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2744, allocations: 4 kB / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2744, allocations: 0 / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2745, allocations: 193.6 kB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2745, allocations: 0 / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.2746, allocations: 24.11 kB / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2746, allocations: 3.938 kB / 0.9885 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2747, allocations: 7.922 kB / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2747, allocations: 0 / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2747, allocations: 0 / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.2749, allocations: 215.4 kB / 0.9887 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.2749, allocations: 88.95 kB / 0.9888 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.275, allocations: 0 / 0.9888 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.275, allocations: 4 kB / 0.9888 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.2751, allocations: 11.98 kB / 0.9888 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2751, allocations: 4 kB / 0.9888 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.447e-05/0.2751, allocations: 95.27 kB / 0.9889 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2752, allocations: 0 / 0.9889 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002511/0.2754, allocations: 16 kB / 0.9889 GB, free: 17.79 MB / 0.6198 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.000492/0.2759, allocations: 0.7669 MB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.2761, allocations: 88.02 kB / 0.9898 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2761, allocations: 0 / 0.9898 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.2762, allocations: 47.91 kB / 0.9898 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.2765, allocations: 9.031 kB / 0.9898 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.277, allocations: 293.8 kB / 0.9901 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.2772, allocations: 0.6887 MB / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.868e-05/0.2772, allocations: 8.625 kB / 0.9908 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.2773, allocations: 19.44 kB / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2773, allocations: 0 / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.2936, allocations: 1.97 MB / 0.9927 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.2939, allocations: 208.3 kB / 0.9929 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.975, allocations: 4 kB / 0.9929 GB, free: 13.75 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)