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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001385/0.001385, allocations: 200 kB / 16.14 MB, free: 6.664 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.5/1.5, allocations: 205.1 MB / 222 MB, free: 4.719 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.76/1.76, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.002129/0.002129, allocations: 67.39 kB / 0.6709 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.273, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002994/0.2761, allocations: 1.664 MB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003694/0.2798, allocations: 3.23 MB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.2799, allocations: 0 / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.28, allocations: 4 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.2801, allocations: 19.84 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.2805, allocations: 107.6 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.2806, allocations: 67.78 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.2807, allocations: 16.19 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.2808, allocations: 43.83 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.2809, allocations: 31.91 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2809, allocations: 0 / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.2812, allocations: 103.7 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.2813, allocations: 11.97 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.2813, allocations: 31.8 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.2815, allocations: 115.9 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2816, allocations: 7.938 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2816, allocations: 0 / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2816, allocations: 0 / 0.7881 GB, free: 8.395 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.000615/0.2822, allocations: 395.2 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2822, allocations: 12.03 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.2823, allocations: 30.75 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.2823, allocations: 8.844 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2825, allocations: 176.2 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2825, allocations: 11.94 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.2825, allocations: 7.984 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.2827, allocations: 77.66 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.2827, allocations: 0 / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2828, allocations: 3.938 kB / 0.7888 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2828, allocations: 7.938 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.283, allocations: 71.94 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.2835, allocations: 324.7 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.2837, allocations: 90.72 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.866e-05/0.2838, allocations: 48.78 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/0.2846, allocations: 0.7527 MB / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2846, allocations: 42.48 kB / 0.7901 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.2846, allocations: 0 / 0.7901 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003819/0.285, allocations: 137.5 kB / 0.7902 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/0.2851, allocations: 59.44 kB / 0.7903 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.2852, allocations: 117.8 kB / 0.7904 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2852, allocations: 25.7 kB / 0.7904 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.2853, allocations: 96.03 kB / 0.7905 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.2853, allocations: 23.66 kB / 0.7906 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.2854, allocations: 25.7 kB / 0.7906 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2855, allocations: 318.8 kB / 0.7909 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.2856, allocations: 31.97 kB / 0.7909 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.2857, allocations: 45.75 kB / 0.791 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.2859, allocations: 85.56 kB / 0.791 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2859, allocations: 0 / 0.791 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002449/0.2861, allocations: 113.6 kB / 0.7911 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2862, allocations: 7.938 kB / 0.7912 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2862, allocations: 0 / 0.7912 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2862, allocations: 0 / 0.7912 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2863, allocations: 23.92 kB / 0.7912 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2864, allocations: 0 / 0.7912 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.2864, allocations: 7.984 kB / 0.7912 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2865, allocations: 4 kB / 0.7912 GB, free: 4.898 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 8.503e-05/0.2866, allocations: 118.5 kB / 0.7913 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.2866, allocations: 11.84 kB / 0.7913 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.2869, allocations: 125.9 kB / 0.7914 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2869, allocations: 0 / 0.7914 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2869, allocations: 8 kB / 0.7914 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2869, allocations: 0 / 0.7914 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.2871, allocations: 193.5 kB / 0.7916 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2871, allocations: 0 / 0.7916 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.2873, allocations: 19.98 kB / 0.7916 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2873, allocations: 3.938 kB / 0.7916 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2873, allocations: 3.984 kB / 0.7916 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2873, allocations: 4 kB / 0.7917 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2873, allocations: 0 / 0.7917 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.2876, allocations: 203.9 kB / 0.7918 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.2876, allocations: 81.05 kB / 0.7919 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2877, allocations: 7.938 kB / 0.7919 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2878, allocations: 15.97 kB / 0.7919 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2878, allocations: 0 / 0.7919 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2878, allocations: 4 kB / 0.792 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.785e-05/0.2879, allocations: 95.2 kB / 0.792 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2879, allocations: 192 / 0.792 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002501/0.2881, allocations: 20 kB / 0.7921 GB, free: 3.898 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.000644/0.2888, allocations: 0.767 MB / 0.7928 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.289, allocations: 83.88 kB / 0.7929 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2891, allocations: 0 / 0.7929 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.2892, allocations: 43.91 kB / 0.7929 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.2895, allocations: 8 kB / 0.7929 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.2901, allocations: 269.4 kB / 0.7932 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.2903, allocations: 0.6887 MB / 0.7939 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.532e-05/0.2904, allocations: 11.98 kB / 0.7939 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.2905, allocations: 19.44 kB / 0.7939 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.2905, allocations: 0 / 0.7939 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.3016, allocations: 2.032 MB / 0.7959 GB, free: 20 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.3019, allocations: 234.4 kB / 0.7961 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.035, allocations: 0 / 0.7961 GB, free: 15.75 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)