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.0007798/0.0007799, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008216/0.0008215, allocations: 168.7 kB / 15.95 MB, free: 204 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.56/1.56, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.751/1.751, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005216/0.0005216, allocations: 23.19 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2763, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001882/0.2782, allocations: 1.306 MB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003391/0.2816, allocations: 3.053 MB / 0.7917 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.2817, allocations: 4 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.2817, allocations: 11.92 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.115e-05/0.2818, allocations: 7.922 kB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.2822, allocations: 91.61 kB / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2823, allocations: 71.7 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.2824, allocations: 16.17 kB / 0.7919 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.221e-05/0.2825, allocations: 27.91 kB / 0.7919 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.665e-05/0.2826, allocations: 35.84 kB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2827, allocations: 4 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.2829, allocations: 71.81 kB / 0.792 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.2829, allocations: 11.92 kB / 0.792 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.283, allocations: 37.64 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.2831, allocations: 88.02 kB / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2832, allocations: 0 / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2832, allocations: 0 / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2832, allocations: 0 / 0.7921 GB, free: 6.984 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.000548/0.2837, allocations: 383.1 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2838, allocations: 8.031 kB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.2838, allocations: 38.55 kB / 0.7925 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.2839, allocations: 15.86 kB / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.284, allocations: 167 kB / 0.7927 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.284, allocations: 8 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.284, allocations: 0 / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.2842, allocations: 85.58 kB / 0.7928 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2843, allocations: 0 / 0.7928 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2843, allocations: 7.938 kB / 0.7928 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2843, allocations: 4 kB / 0.7928 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.2845, allocations: 83.91 kB / 0.7929 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.285, allocations: 316.8 kB / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2852, allocations: 106.5 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2853, allocations: 48.83 kB / 0.7933 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008028/0.2862, allocations: 0.7526 MB / 0.7941 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2862, allocations: 34.56 kB / 0.7941 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2862, allocations: 0 / 0.7941 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000397/0.2866, allocations: 145.8 kB / 0.7942 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.2867, allocations: 55.41 kB / 0.7943 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.2868, allocations: 117.8 kB / 0.7944 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2868, allocations: 25.7 kB / 0.7944 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.2869, allocations: 100 kB / 0.7945 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2869, allocations: 23.66 kB / 0.7946 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.2869, allocations: 0 / 0.7946 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.287, allocations: 322.8 kB / 0.7949 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.2871, allocations: 28.09 kB / 0.7949 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.2872, allocations: 61.56 kB / 0.7949 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.997e-05/0.2873, allocations: 35.98 kB / 0.795 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.2873, allocations: 3.953 kB / 0.795 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002341/0.2876, allocations: 125.8 kB / 0.7951 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2876, allocations: 4 kB / 0.7951 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2876, allocations: 80 / 0.7951 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2876, allocations: 4 kB / 0.7951 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.2878, allocations: 19.98 kB / 0.7951 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2878, allocations: 3.984 kB / 0.7951 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.2879, allocations: 15.94 kB / 0.7952 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2879, allocations: 7.922 kB / 0.7952 GB, free: 3.523 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 8.457e-05/0.288, allocations: 113.8 kB / 0.7953 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.288, allocations: 7.953 kB / 0.7953 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.2883, allocations: 133.9 kB / 0.7954 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2883, allocations: 4 kB / 0.7954 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2883, allocations: 0 / 0.7954 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2883, allocations: 0 / 0.7954 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.2885, allocations: 189.6 kB / 0.7956 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2885, allocations: 4 kB / 0.7956 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.2887, allocations: 27.88 kB / 0.7956 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2887, allocations: 4 kB / 0.7956 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2887, allocations: 4 kB / 0.7956 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2887, allocations: 0 / 0.7956 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2887, allocations: 0 / 0.7956 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.289, allocations: 203.4 kB / 0.7958 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.289, allocations: 93 kB / 0.7959 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.289, allocations: 7.953 kB / 0.7959 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.2891, allocations: 4 kB / 0.7959 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.2892, allocations: 7.984 kB / 0.7959 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.2892, allocations: 0 / 0.7959 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.2893, allocations: 99.2 kB / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2893, allocations: 192 / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000253/0.2895, allocations: 20 kB / 0.796 GB, free: 2.516 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.0006961/0.2902, allocations: 0.7631 MB / 0.7968 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.2905, allocations: 87.89 kB / 0.7969 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2905, allocations: 0 / 0.7969 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.2906, allocations: 47.97 kB / 0.7969 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2909, allocations: 16 kB / 0.7969 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.2915, allocations: 285.8 kB / 0.7972 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2918, allocations: 0.6926 MB / 0.7979 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.561e-05/0.2919, allocations: 12.7 kB / 0.7979 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.292, allocations: 19.44 kB / 0.7979 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.292, allocations: 0 / 0.7979 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.3045, allocations: 1.974 MB / 0.7998 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.3047, allocations: 196.1 kB / 0.8 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.135, allocations: 0 / 0.8 GB, free: 14.47 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/linux/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) Environment - environmentSimulation: