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.00137/0.00137, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 196.7 kB / 16.53 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.457/1.457, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.768/1.768, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.002656/0.002656, allocations: 71.33 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3023, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003729/0.3061, allocations: 1.602 MB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.3105, allocations: 3.258 MB / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.3106, allocations: 0 / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.3106, allocations: 7.875 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.3108, allocations: 11.86 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.3114, allocations: 119.5 kB / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.3116, allocations: 75.77 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.3117, allocations: 12.17 kB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.3118, allocations: 43.8 kB / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3119, allocations: 35.89 kB / 0.7885 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3119, allocations: 12 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.3123, allocations: 111.7 kB / 0.7886 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.3123, allocations: 4 kB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.3124, allocations: 31.8 kB / 0.7887 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.3127, allocations: 123.9 kB / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3127, allocations: 0 / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3127, allocations: 0 / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3127, allocations: 0 / 0.7888 GB, free: 7.879 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.0006362/0.3134, allocations: 395.2 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3134, allocations: 12.03 kB / 0.7892 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.3135, allocations: 38.67 kB / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.3135, allocations: 8.844 kB / 0.7892 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3137, allocations: 180.2 kB / 0.7894 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3137, allocations: 3.938 kB / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3137, allocations: 7.984 kB / 0.7894 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3139, allocations: 81.64 kB / 0.7895 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.314, allocations: 4 kB / 0.7895 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.314, allocations: 0 / 0.7895 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.314, allocations: 7.938 kB / 0.7895 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.3142, allocations: 75.88 kB / 0.7896 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.3148, allocations: 328.7 kB / 0.7899 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.315, allocations: 94.55 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3151, allocations: 44.83 kB / 0.79 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008664/0.316, allocations: 0.7567 MB / 0.7908 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3161, allocations: 38.5 kB / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3161, allocations: 4 kB / 0.7908 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004142/0.3165, allocations: 125.5 kB / 0.7909 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3165, allocations: 55.41 kB / 0.791 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.3166, allocations: 117.8 kB / 0.7911 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3167, allocations: 33.7 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.3167, allocations: 88.05 kB / 0.7912 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.3168, allocations: 27.64 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.3168, allocations: 37.67 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3169, allocations: 310.8 kB / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/0.317, allocations: 27.98 kB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.3172, allocations: 49.8 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3174, allocations: 85.61 kB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3174, allocations: 0 / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002519/0.3176, allocations: 113.5 kB / 0.7918 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3176, allocations: 7.938 kB / 0.7918 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3177, allocations: 0 / 0.7918 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3177, allocations: 4.031 kB / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.3178, allocations: 19.98 kB / 0.7918 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3178, allocations: 0 / 0.7918 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.3179, allocations: 11.92 kB / 0.7919 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3179, allocations: 4 kB / 0.7919 GB, free: 4.367 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.615e-05/0.318, allocations: 114.5 kB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3181, allocations: 11.84 kB / 0.792 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.3184, allocations: 122.4 kB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3185, allocations: 7.984 kB / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3185, allocations: 0 / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3185, allocations: 0 / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3187, allocations: 193.5 kB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3187, allocations: 0 / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.3188, allocations: 23.92 kB / 0.7923 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3188, allocations: 3.938 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3188, allocations: 4 kB / 0.7923 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3188, allocations: 4 kB / 0.7923 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3188, allocations: 192 / 0.7923 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3191, allocations: 199.4 kB / 0.7925 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.3192, allocations: 88.98 kB / 0.7926 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3192, allocations: 0 / 0.7926 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.3193, allocations: 8 kB / 0.7926 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.3194, allocations: 7.984 kB / 0.7926 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.3194, allocations: 8 kB / 0.7926 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.3194, allocations: 95.2 kB / 0.7927 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.986e-06/0.3194, allocations: 0 / 0.7927 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000258/0.3197, allocations: 23.94 kB / 0.7927 GB, free: 3.367 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.000679/0.3204, allocations: 0.767 MB / 0.7935 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.3207, allocations: 75.89 kB / 0.7936 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3207, allocations: 4 kB / 0.7936 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3208, allocations: 43.91 kB / 0.7936 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3211, allocations: 12.06 kB / 0.7936 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.3218, allocations: 250.7 kB / 0.7939 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.3222, allocations: 0.6947 MB / 0.7945 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.184e-05/0.3223, allocations: 4 kB / 0.7945 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.3223, allocations: 23.42 kB / 0.7946 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3223, allocations: 0 / 0.7946 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.3409, allocations: 2.213 MB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.855, allocations: 19.56 kB / 0.7967 GB, free: 15.29 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)