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.44/1.44, allocations: 252 MB / 267.3 MB, free: 10.85 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.001143/0.001143, allocations: 168.3 kB / 327 MB, free: 2.105 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.891/1.891, allocations: 205.4 MB / 0.578 GB, free: 20.36 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.0009041/0.0009038, allocations: 94.38 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 9.188 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2531, allocations: 106.3 MB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002615/0.2558, allocations: 1.324 MB / 0.9022 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.2602, allocations: 3.203 MB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.2603, allocations: 0 / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.2603, allocations: 7.922 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2604, allocations: 7.922 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.261, allocations: 115.6 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2611, allocations: 75.66 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.2612, allocations: 8.188 kB / 0.9055 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2614, allocations: 39.83 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2615, allocations: 31.84 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.2615, allocations: 4 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.2619, allocations: 99.78 kB / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2619, allocations: 15.91 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.262, allocations: 53.56 kB / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2623, allocations: 115.9 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2623, allocations: 0 / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2623, allocations: 0 / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2623, allocations: 0 / 0.9059 GB, free: 58.61 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.0005631/0.2629, allocations: 379.4 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2629, allocations: 11.97 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.263, allocations: 38.75 kB / 0.9063 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.263, allocations: 12.83 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.816e-05/0.2631, allocations: 172.2 kB / 0.9065 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2631, allocations: 4.375 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.2631, allocations: 8.125 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.2634, allocations: 85.58 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2634, allocations: 11.98 kB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2634, allocations: 4 kB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2634, allocations: 0 / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.2636, allocations: 79.95 kB / 0.9067 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.2641, allocations: 332.6 kB / 0.907 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.2643, allocations: 94.55 kB / 0.9071 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.562e-05/0.2644, allocations: 44.95 kB / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.2651, allocations: 0.7526 MB / 0.9078 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2651, allocations: 38.78 kB / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2651, allocations: 0 / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0003852/0.2655, allocations: 157.5 kB / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2655, allocations: 51.41 kB / 0.9081 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.2656, allocations: 113.8 kB / 0.9082 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.2656, allocations: 29.7 kB / 0.9082 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.2657, allocations: 92.03 kB / 0.9083 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2657, allocations: 23.66 kB / 0.9083 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.2657, allocations: 0 / 0.9083 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.2658, allocations: 322.8 kB / 0.9086 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.2659, allocations: 35.98 kB / 0.9087 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/0.266, allocations: 53.56 kB / 0.9087 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2661, allocations: 89.98 kB / 0.9088 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2662, allocations: 0 / 0.9088 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002183/0.2664, allocations: 121.5 kB / 0.9089 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2664, allocations: 4 kB / 0.9089 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2664, allocations: 4.031 kB / 0.9089 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2664, allocations: 7.938 kB / 0.9089 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.2666, allocations: 19.98 kB / 0.909 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.2666, allocations: 0 / 0.909 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.2667, allocations: 15.94 kB / 0.909 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2667, allocations: 3.984 kB / 0.909 GB, free: 55.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/0.2668, allocations: 117.8 kB / 0.9091 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.2668, allocations: 11.91 kB / 0.9091 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.2671, allocations: 129.9 kB / 0.9092 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2671, allocations: 4 kB / 0.9092 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2671, allocations: 3.938 kB / 0.9092 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2671, allocations: 4 kB / 0.9092 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.2673, allocations: 189.5 kB / 0.9094 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2673, allocations: 0 / 0.9094 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.2674, allocations: 19.98 kB / 0.9094 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2674, allocations: 0 / 0.9094 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2674, allocations: 7.938 kB / 0.9094 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2674, allocations: 3.938 kB / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.2675, allocations: 0 / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.2677, allocations: 207.5 kB / 0.9096 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.2677, allocations: 85.02 kB / 0.9097 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2678, allocations: 8.109 kB / 0.9097 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.2679, allocations: 8 kB / 0.9097 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.2679, allocations: 11.92 kB / 0.9098 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.2679, allocations: 8 kB / 0.9098 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.268, allocations: 91.27 kB / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.268, allocations: 0 / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002348/0.2682, allocations: 23.94 kB / 0.9099 GB, free: 54.07 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 (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.0005178/0.2687, allocations: 0.7631 MB / 0.9106 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.269, allocations: 95.88 kB / 0.9107 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.269, allocations: 0 / 0.9107 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.2691, allocations: 40.45 kB / 0.9107 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.2694, allocations: 20.84 kB / 0.9108 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.27, allocations: 285.9 kB / 0.911 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.2701, allocations: 0.6926 MB / 0.9117 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.843e-05/0.2702, allocations: 12.14 kB / 0.9117 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.2702, allocations: 19.42 kB / 0.9117 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2702, allocations: 0 / 0.9117 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.2829, allocations: 1.987 MB / 0.9137 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.2832, allocations: 223.9 kB / 0.9139 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.164, allocations: 6.812 kB / 0.9139 GB, free: 50.01 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)