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.471/1.471, allocations: 252 MB / 267 MB, free: 10.98 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.001069/0.001068, allocations: 189.5 kB / 326.6 MB, free: 2.234 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.993/1.993, allocations: 205.4 MB / 0.5777 GB, free: 20.59 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.0008001/0.0008001, allocations: 89.89 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003848, allocations: 12.53 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2524, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00179/0.2542, allocations: 1.297 MB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2571, allocations: 3.072 MB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.2572, allocations: 4 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.2572, allocations: 0 / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.2573, allocations: 11.88 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.2577, allocations: 91.64 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.2578, allocations: 67.72 kB / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.2579, allocations: 12.19 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.258, allocations: 39.83 kB / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.037e-05/0.2581, allocations: 27.91 kB / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.2581, allocations: 4 kB / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.2583, allocations: 79.8 kB / 0.9049 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.2583, allocations: 11.98 kB / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.2584, allocations: 33.64 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.2585, allocations: 80.03 kB / 0.905 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2585, allocations: 7.938 kB / 0.905 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.845e-06/0.2585, allocations: 0 / 0.905 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.2586, allocations: 0 / 0.905 GB, free: 59.46 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.0004917/0.2591, allocations: 375.2 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2591, allocations: 12.03 kB / 0.9054 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.2591, allocations: 34.56 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.2592, allocations: 11.91 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2593, allocations: 170.9 kB / 0.9056 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.2593, allocations: 0 / 0.9056 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.2593, allocations: 11.98 kB / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.2595, allocations: 81.64 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2595, allocations: 0 / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2596, allocations: 3.953 kB / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2596, allocations: 0 / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.2598, allocations: 91.88 kB / 0.9058 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.2602, allocations: 324.7 kB / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.2604, allocations: 98.55 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.2605, allocations: 52.78 kB / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006548/0.2612, allocations: 0.7448 MB / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2612, allocations: 42.78 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.2612, allocations: 0 / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004988/0.2617, allocations: 137.5 kB / 0.9071 GB, free: 57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2618, allocations: 55.41 kB / 0.9072 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.2619, allocations: 122.2 kB / 0.9073 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2619, allocations: 29.7 kB / 0.9073 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.2619, allocations: 88.14 kB / 0.9074 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.262, allocations: 31.55 kB / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.262, allocations: 0 / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.262, allocations: 318.8 kB / 0.9078 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.2621, allocations: 35.97 kB / 0.9078 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.2622, allocations: 53.64 kB / 0.9078 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.537e-05/0.2623, allocations: 32.3 kB / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2623, allocations: 0 / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002313/0.2626, allocations: 129.7 kB / 0.908 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2626, allocations: 4.109 kB / 0.908 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2626, allocations: 11.81 kB / 0.908 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2626, allocations: 0 / 0.908 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2628, allocations: 19.98 kB / 0.908 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2628, allocations: 4 kB / 0.908 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.2629, allocations: 19.95 kB / 0.9081 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.2629, allocations: 4 kB / 0.9081 GB, free: 56.01 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 7.349e-05/0.263, allocations: 117.8 kB / 0.9082 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.263, allocations: 3.906 kB / 0.9082 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.2633, allocations: 137.9 kB / 0.9083 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2633, allocations: 0 / 0.9083 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2633, allocations: 0 / 0.9083 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2633, allocations: 0 / 0.9083 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2635, allocations: 189.6 kB / 0.9085 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2635, allocations: 0 / 0.9085 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.2636, allocations: 19.98 kB / 0.9085 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2636, allocations: 0 / 0.9085 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2636, allocations: 8 kB / 0.9085 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2636, allocations: 4 kB / 0.9085 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2636, allocations: 3.984 kB / 0.9085 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.2639, allocations: 211.3 kB / 0.9087 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.2639, allocations: 85.02 kB / 0.9088 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.2639, allocations: 8 kB / 0.9088 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.264, allocations: 4 kB / 0.9088 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.2641, allocations: 11.98 kB / 0.9088 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.2641, allocations: 0 / 0.9088 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.2641, allocations: 95.31 kB / 0.9089 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2641, allocations: 0 / 0.9089 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002384/0.2644, allocations: 27.94 kB / 0.9089 GB, free: 55 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.0005386/0.2649, allocations: 0.7708 MB / 0.9097 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.2652, allocations: 87.95 kB / 0.9098 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2652, allocations: 3.938 kB / 0.9098 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.2653, allocations: 47.91 kB / 0.9098 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.2656, allocations: 12.06 kB / 0.9098 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.2661, allocations: 274.6 kB / 0.9101 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.2662, allocations: 0.6965 MB / 0.9108 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.197e-05/0.2663, allocations: 4.188 kB / 0.9108 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.2664, allocations: 19.44 kB / 0.9108 GB, free: 53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2664, allocations: 0 / 0.9108 GB, free: 53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.2793, allocations: 1.964 MB / 0.9127 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.2795, allocations: 224.2 kB / 0.9129 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.984, allocations: 0 / 0.9129 GB, free: 50.97 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)