Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.264/2.264, allocations: 251 MB / 265.9 MB, free: 11.68 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.002389/0.002389, allocations: 183 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.484/2.484, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001268/0.001267, allocations: 94.56 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006529/0.0006529, allocations: 15.81 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2269, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.409, allocations: 353.4 MB / 1.244 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004207/1.41, allocations: 93.12 kB / 1.244 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04789/1.458, allocations: 12.37 MB / 1.256 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.505e-06/1.458, allocations: 4 kB / 1.256 GB, free: 6.082 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.458, allocations: 0 / 1.256 GB, free: 6.082 MB / 0.7605 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.0007011/1.458, allocations: 398.4 kB / 1.256 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.459, allocations: 8.031 kB / 1.256 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/1.459, allocations: 30.56 kB / 1.256 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/1.459, allocations: 11.86 kB / 1.256 GB, free: 5.594 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/1.459, allocations: 182.8 kB / 1.257 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/1.459, allocations: 7.625 kB / 1.257 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/1.459, allocations: 4 kB / 1.257 GB, free: 5.367 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/1.459, allocations: 79.7 kB / 1.257 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.459, allocations: 0 / 1.257 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/1.459, allocations: 4 kB / 1.257 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.459, allocations: 0 / 1.257 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/1.46, allocations: 89.77 kB / 1.257 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007191/1.46, allocations: 321.5 kB / 1.257 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/1.461, allocations: 99.36 kB / 1.257 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/1.462, allocations: 0.7488 MB / 1.258 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/1.462, allocations: 38.88 kB / 1.258 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 3.346e-06/1.462, allocations: 3.938 kB / 1.258 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0007136/1.463, allocations: 150.5 kB / 1.258 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/1.463, allocations: 51.41 kB / 1.258 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/1.463, allocations: 115.7 kB / 1.258 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/1.463, allocations: 25.7 kB / 1.258 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.269e-05/1.463, allocations: 94.8 kB / 1.258 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/1.463, allocations: 31.05 kB / 1.258 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/1.463, allocations: 4 kB / 1.258 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.464, allocations: 314.6 kB / 1.259 GB, free: 3.152 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/1.464, allocations: 35.78 kB / 1.259 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/1.464, allocations: 49.14 kB / 1.259 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/1.464, allocations: 38.11 kB / 1.259 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.464, allocations: 0 / 1.259 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004521/1.465, allocations: 115 kB / 1.259 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.465, allocations: 9.719 kB / 1.259 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.465, allocations: 7.969 kB / 1.259 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.465, allocations: 0 / 1.259 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/1.465, allocations: 19.98 kB / 1.259 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.465, allocations: 4 kB / 1.259 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/1.465, allocations: 13.67 kB / 1.259 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/1.465, allocations: 7.984 kB / 1.259 GB, free: 2.895 MB / 0.7605 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 0.0001357/1.465, allocations: 113.5 kB / 1.259 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/1.465, allocations: 11.86 kB / 1.259 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/1.466, allocations: 138.5 kB / 1.259 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.466, allocations: 3.938 kB / 1.259 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.466, allocations: 4 kB / 1.259 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.466, allocations: 4 kB / 1.259 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/1.466, allocations: 183.8 kB / 1.259 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.466, allocations: 0 / 1.259 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/1.467, allocations: 19.98 kB / 1.26 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/1.467, allocations: 3.953 kB / 1.26 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.467, allocations: 7.922 kB / 1.26 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.467, allocations: 4 kB / 1.26 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.467, allocations: 0 / 1.26 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/1.467, allocations: 216.7 kB / 1.26 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/1.467, allocations: 84.95 kB / 1.26 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/1.467, allocations: 11.52 kB / 1.26 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/1.467, allocations: 7.984 kB / 1.26 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/1.468, allocations: 8 kB / 1.26 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.468, allocations: 0 / 1.26 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.281e-05/1.468, allocations: 94.39 kB / 1.26 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.21e-07/1.468, allocations: 0 / 1.26 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003817/1.468, allocations: 27.55 kB / 1.26 GB, free: 1.949 MB / 0.7605 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.001045/1.469, allocations: 0.774 MB / 1.261 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004509/1.47, allocations: 82.08 kB / 1.261 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.47, allocations: 0 / 1.261 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/1.47, allocations: 48.45 kB / 1.261 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/1.47, allocations: 7.328 kB / 1.261 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008976/1.471, allocations: 300.7 kB / 1.261 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.471, allocations: 0.6965 MB / 1.262 GB, free: 24 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001295/1.472, allocations: 12.11 kB / 1.262 GB, free: 8 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.472, allocations: 19.31 kB / 1.262 GB, free: 16 MB / 0.7761 GB Notification: Performance of SimCode: time 1.923e-06/1.472, allocations: 0 / 1.262 GB, free: 16 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/1.494, allocations: 2.322 MB / 1.264 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003364/1.495, allocations: 191.8 kB / 1.264 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.887, allocations: 4 kB / 1.264 GB, free: 13.61 MB / 0.7761 GB