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.376/2.376, allocations: 248.7 MB / 256.2 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 174.8 kB / 315.4 MB, free: 4.008 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.115/2.115, allocations: 205.2 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 90.23 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.879e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2131, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.408, allocations: 353.5 MB / 1.229 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/1.408, allocations: 86.14 kB / 1.229 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04667/1.455, allocations: 12.28 MB / 1.241 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.883e-06/1.455, allocations: 0 / 1.241 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.455, allocations: 4 kB / 1.241 GB, free: 7.293 MB / 0.8542 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.0006796/1.456, allocations: 370.1 kB / 1.242 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.456, allocations: 8.031 kB / 1.242 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/1.456, allocations: 11.86 kB / 1.242 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/1.456, allocations: 183 kB / 1.242 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.456, allocations: 4 kB / 1.242 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/1.456, allocations: 0 / 1.242 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002213/1.457, allocations: 56.03 kB / 1.242 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/1.457, allocations: 60.3 kB / 1.242 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.457, allocations: 4 kB / 1.242 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/1.457, allocations: 0 / 1.242 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.457, allocations: 0 / 1.242 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/1.457, allocations: 305.1 kB / 1.242 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/1.458, allocations: 78.44 kB / 1.242 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/1.458, allocations: 33.61 kB / 1.243 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/1.459, allocations: 0.7584 MB / 1.243 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/1.459, allocations: 30.56 kB / 1.243 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 3.116e-06/1.459, allocations: 4 kB / 1.243 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006449/1.46, allocations: 112 kB / 1.243 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/1.46, allocations: 54.28 kB / 1.243 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/1.46, allocations: 112.5 kB / 1.244 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/1.46, allocations: 25.7 kB / 1.244 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/1.46, allocations: 90.45 kB / 1.244 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/1.46, allocations: 30.23 kB / 1.244 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/1.46, allocations: 0 / 1.244 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.461, allocations: 317.9 kB / 1.244 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/1.461, allocations: 24.8 kB / 1.244 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/1.461, allocations: 34.52 kB / 1.244 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/1.461, allocations: 47.59 kB / 1.244 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.461, allocations: 0 / 1.244 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004911/1.462, allocations: 125.2 kB / 1.244 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.462, allocations: 7.953 kB / 1.244 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.462, allocations: 0 / 1.244 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.462, allocations: 0 / 1.244 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/1.462, allocations: 23.98 kB / 1.244 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.462, allocations: 0 / 1.244 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/1.462, allocations: 11.97 kB / 1.244 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/1.462, allocations: 4 kB / 1.244 GB, free: 4.289 MB / 0.8542 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 () * 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.0001194/1.462, allocations: 116.4 kB / 1.244 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004832/1.463, allocations: 107.4 kB / 1.244 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/1.463, allocations: 11.86 kB / 1.244 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/1.463, allocations: 122.7 kB / 1.245 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.463, allocations: 0 / 1.245 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.463, allocations: 0 / 1.245 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.463, allocations: 4 kB / 1.245 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/1.464, allocations: 169.8 kB / 1.245 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.464, allocations: 0 / 1.245 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/1.464, allocations: 15.98 kB / 1.245 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.464, allocations: 7.953 kB / 1.245 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/1.464, allocations: 3.984 kB / 1.245 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.464, allocations: 0 / 1.245 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.464, allocations: 4 kB / 1.245 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/1.465, allocations: 210.4 kB / 1.245 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/1.465, allocations: 85.02 kB / 1.245 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/1.465, allocations: 4.141 kB / 1.245 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/1.465, allocations: 4 kB / 1.245 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/1.465, allocations: 11.92 kB / 1.245 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/1.465, allocations: 4 kB / 1.245 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.732e-05/1.465, allocations: 93.52 kB / 1.245 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.7e-07/1.465, allocations: 7.938 kB / 1.245 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003853/1.466, allocations: 19.94 kB / 1.245 GB, free: 3.301 MB / 0.8542 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 () * 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.001086/1.467, allocations: 0.7654 MB / 1.246 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002281/1.467, allocations: 62.09 kB / 1.246 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.467, allocations: 0 / 1.246 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/1.467, allocations: 25.75 kB / 1.246 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/1.467, allocations: 12.02 kB / 1.246 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/1.468, allocations: 147.2 kB / 1.246 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/1.468, allocations: 0.6923 MB / 1.247 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001211/1.468, allocations: 12.17 kB / 1.247 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/1.469, allocations: 21.36 kB / 1.247 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/1.469, allocations: 0 / 1.247 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6331/2.102, allocations: 1.8 MB / 1.249 GB, free: 310 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003691/2.102, allocations: 164 kB / 1.249 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/4.57, allocations: 0.5625 kB / 1.249 GB, free: 309.8 MB / 0.8542 GB