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.276/2.276, allocations: 248.5 MB / 261.1 MB, free: 6.02 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.001479/0.001478, allocations: 187.3 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001221/0.001221, allocations: 96.31 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.718e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.383, allocations: 353.3 MB / 1.236 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.383, allocations: 88.09 kB / 1.236 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04511/1.428, allocations: 12.34 MB / 1.248 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.974e-06/1.428, allocations: 0 / 1.248 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.428, allocations: 0 / 1.248 GB, free: 2.582 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.0006275/1.429, allocations: 378.3 kB / 1.248 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.429, allocations: 16.02 kB / 1.248 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.047e-05/1.429, allocations: 34.56 kB / 1.248 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/1.429, allocations: 11.86 kB / 1.248 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/1.429, allocations: 175.1 kB / 1.248 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/1.429, allocations: 0 / 1.248 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/1.429, allocations: 4 kB / 1.248 GB, free: 1.883 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/1.43, allocations: 74.02 kB / 1.248 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.43, allocations: 4 kB / 1.248 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.43, allocations: 3.938 kB / 1.248 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/1.43, allocations: 4 kB / 1.248 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/1.43, allocations: 59.92 kB / 1.249 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006621/1.431, allocations: 324.8 kB / 1.249 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/1.431, allocations: 78.75 kB / 1.249 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/1.431, allocations: 40.8 kB / 1.249 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.432, allocations: 0.7604 MB / 1.25 GB, free: 368 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.432, allocations: 34.58 kB / 1.25 GB, free: 324 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 3.176e-06/1.432, allocations: 0 / 1.25 GB, free: 324 kB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003296/1.432, allocations: 89.69 kB / 1.25 GB, free: 228 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/1.433, allocations: 59.44 kB / 1.25 GB, free: 156 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/1.433, allocations: 108.9 kB / 1.25 GB, free: 40 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/1.433, allocations: 29.69 kB / 1.25 GB, free: 4 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.6109/2.044, allocations: 87.52 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/2.044, allocations: 27.77 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/2.044, allocations: 1.312 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/2.044, allocations: 318.4 kB / 1.25 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/2.044, allocations: 19.09 kB / 1.25 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/2.044, allocations: 35.8 kB / 1.25 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/2.044, allocations: 23.98 kB / 1.251 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/2.044, allocations: 0 / 1.251 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003247/2.045, allocations: 99.05 kB / 1.251 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/2.045, allocations: 4.969 kB / 1.251 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/2.045, allocations: 2.656 kB / 1.251 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/2.045, allocations: 1.062 kB / 1.251 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/2.045, allocations: 25.72 kB / 1.251 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/2.045, allocations: 4.766 kB / 1.251 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/2.045, allocations: 9.953 kB / 1.251 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/2.045, allocations: 2.859 kB / 1.251 GB, free: 307.1 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 7.699e-05/2.045, allocations: 117.7 kB / 1.251 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/2.045, allocations: 7.438 kB / 1.251 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/2.046, allocations: 104.8 kB / 1.251 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/2.046, allocations: 1.438 kB / 1.251 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/2.046, allocations: 3.516 kB / 1.251 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/2.046, allocations: 1.406 kB / 1.251 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/2.046, allocations: 191.1 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/2.046, allocations: 3.312 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/2.046, allocations: 20.11 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/2.046, allocations: 1.625 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/2.046, allocations: 2.922 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/2.046, allocations: 0 / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/2.046, allocations: 3.125 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/2.047, allocations: 187.8 kB / 1.251 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/2.047, allocations: 88.45 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/2.047, allocations: 1.281 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/2.047, allocations: 8.188 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/2.047, allocations: 6.766 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/2.047, allocations: 2.562 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.189e-05/2.047, allocations: 92 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.41e-07/2.047, allocations: 4.594 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003539/2.047, allocations: 24.84 kB / 1.251 GB, free: 306.5 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.0006564/2.048, allocations: 0.7645 MB / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002244/2.048, allocations: 62.56 kB / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/2.048, allocations: 0 / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.791e-05/2.048, allocations: 34.41 kB / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/2.049, allocations: 2.781 kB / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/2.049, allocations: 144.2 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/2.049, allocations: 0.6943 MB / 1.253 GB, free: 305 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001127/2.05, allocations: 12.34 kB / 1.253 GB, free: 305 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/2.05, allocations: 25.83 kB / 1.253 GB, free: 305 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/2.05, allocations: 0.6562 kB / 1.253 GB, free: 305 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/2.077, allocations: 2.389 MB / 1.256 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/2.077, allocations: 178.2 kB / 1.256 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/4.385, allocations: 1.125 kB / 1.256 GB, free: 304.6 MB / 0.8542 GB