Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.565/1.565, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 184.5 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008611/0.000861, allocations: 103.9 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 12.56 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001789/0.2344, allocations: 1.289 MB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.237, allocations: 2.851 MB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.2371, allocations: 4 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2371, allocations: 3.984 kB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.2372, allocations: 19.91 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.2376, allocations: 91.69 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.2376, allocations: 43.94 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.2377, allocations: 16.17 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.2379, allocations: 35.84 kB / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.238, allocations: 35.89 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.238, allocations: 4 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.2382, allocations: 75.83 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.2382, allocations: 15.97 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.2383, allocations: 33.64 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.2384, allocations: 76.09 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.2384, allocations: 4 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2384, allocations: 0 / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.2384, allocations: 0 / 0.9046 GB, free: 59.24 MB / 0.6042 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.0004213/0.2389, allocations: 375.2 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2389, allocations: 8.031 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.2389, allocations: 38.56 kB / 0.905 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.239, allocations: 11.91 kB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.671e-05/0.2391, allocations: 171 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.2391, allocations: 0 / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2391, allocations: 11.94 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2393, allocations: 81.59 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2393, allocations: 0 / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2393, allocations: 3.953 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.2393, allocations: 0 / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.2395, allocations: 87.92 kB / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.2399, allocations: 324.8 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.2401, allocations: 106.5 kB / 0.9058 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005695/0.2407, allocations: 0.7448 MB / 0.9065 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.2407, allocations: 38.5 kB / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2407, allocations: 0 / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0003406/0.241, allocations: 154 kB / 0.9067 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.2411, allocations: 51.41 kB / 0.9068 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.2411, allocations: 117.8 kB / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.2412, allocations: 33.7 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.2412, allocations: 84.14 kB / 0.907 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2412, allocations: 35.66 kB / 0.907 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.2412, allocations: 3.938 kB / 0.907 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.2413, allocations: 322.8 kB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.2414, allocations: 31.98 kB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.2415, allocations: 49.69 kB / 0.9074 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.458e-05/0.2416, allocations: 36.05 kB / 0.9074 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2416, allocations: 0 / 0.9074 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002006/0.2418, allocations: 125.5 kB / 0.9076 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2418, allocations: 8.031 kB / 0.9076 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2418, allocations: 0 / 0.9076 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2418, allocations: 4 kB / 0.9076 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.242, allocations: 19.98 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.242, allocations: 3.938 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.2421, allocations: 19.92 kB / 0.9076 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.2421, allocations: 0 / 0.9076 GB, free: 55.84 MB / 0.6042 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 5.617e-05/0.2421, allocations: 121.8 kB / 0.9077 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.2422, allocations: 7.906 kB / 0.9077 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.2424, allocations: 118 kB / 0.9079 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2424, allocations: 7.984 kB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2424, allocations: 4.188 kB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2424, allocations: 0 / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.2426, allocations: 193.5 kB / 0.9081 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2426, allocations: 3.938 kB / 0.9081 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.2427, allocations: 15.98 kB / 0.9081 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2427, allocations: 4 kB / 0.9081 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2427, allocations: 0 / 0.9081 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2427, allocations: 0 / 0.9081 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2427, allocations: 0 / 0.9081 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.243, allocations: 223.3 kB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.243, allocations: 85.02 kB / 0.9084 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.243, allocations: 0 / 0.9084 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.2431, allocations: 4 kB / 0.9084 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.2432, allocations: 15.98 kB / 0.9084 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2432, allocations: 3.938 kB / 0.9084 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.796e-05/0.2432, allocations: 99.64 kB / 0.9085 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2432, allocations: 0 / 0.9085 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002478/0.2435, allocations: 27.94 kB / 0.9085 GB, free: 54.82 MB / 0.6042 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.0005648/0.2441, allocations: 0.7553 MB / 0.9092 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.2443, allocations: 91.95 kB / 0.9093 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2443, allocations: 0 / 0.9093 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.2444, allocations: 44.44 kB / 0.9094 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.2446, allocations: 12.27 kB / 0.9094 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.2452, allocations: 281.9 kB / 0.9097 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.2454, allocations: 0.6926 MB / 0.9103 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.734e-05/0.2454, allocations: 20.25 kB / 0.9104 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.2455, allocations: 23.42 kB / 0.9104 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2455, allocations: 0 / 0.9104 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.2577, allocations: 1.936 MB / 0.9123 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.2579, allocations: 217.9 kB / 0.9125 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/1.799, allocations: 4 kB / 0.9125 GB, free: 50.81 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)