Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001358/0.001358, allocations: 176.9 kB / 361.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008616/0.0008619, allocations: 87.45 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.36e-05, allocations: 8 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7593/0.7593, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.857, allocations: 360.3 MB / 1.316 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.857, allocations: 86.72 kB / 1.316 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02662/1.884, allocations: 12.61 MB / 1.329 GB, free: 229.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.044e-06/1.884, allocations: 1.594 kB / 1.329 GB, free: 229.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.043e-05/1.884, allocations: 0 / 1.329 GB, free: 229.1 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.0004611/1.884, allocations: 383.6 kB / 1.329 GB, free: 228.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.884, allocations: 8.031 kB / 1.329 GB, free: 228.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/1.884, allocations: 8.938 kB / 1.329 GB, free: 228.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/1.884, allocations: 171 kB / 1.329 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/1.884, allocations: 11.25 kB / 1.329 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/1.884, allocations: 0 / 1.329 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001543/1.885, allocations: 55.97 kB / 1.329 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/1.885, allocations: 69.61 kB / 1.329 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/1.885, allocations: 0 / 1.329 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/1.885, allocations: 0 / 1.329 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/1.885, allocations: 0 / 1.329 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/1.885, allocations: 305.2 kB / 1.33 GB, free: 228 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/1.885, allocations: 86.56 kB / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/1.886, allocations: 30.73 kB / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007104/1.886, allocations: 0.7532 MB / 1.331 GB, free: 227 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.886, allocations: 38.56 kB / 1.331 GB, free: 226.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/1.886, allocations: 3.938 kB / 1.331 GB, free: 226.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003925/1.887, allocations: 109.5 kB / 1.331 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/1.887, allocations: 55.41 kB / 1.331 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/1.887, allocations: 104.3 kB / 1.331 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/1.887, allocations: 29.7 kB / 1.331 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/1.887, allocations: 92.03 kB / 1.331 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/1.887, allocations: 23.66 kB / 1.331 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/1.887, allocations: 0 / 1.331 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/1.887, allocations: 326.8 kB / 1.331 GB, free: 226.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/1.887, allocations: 16.03 kB / 1.331 GB, free: 226.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/1.887, allocations: 39.5 kB / 1.331 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/1.887, allocations: 50.23 kB / 1.331 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.887, allocations: 3.281 kB / 1.331 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002516/1.888, allocations: 105.6 kB / 1.332 GB, free: 226 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.888, allocations: 12.02 kB / 1.332 GB, free: 226 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.888, allocations: 0 / 1.332 GB, free: 226 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.888, allocations: 7.953 kB / 1.332 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/1.888, allocations: 23.92 kB / 1.332 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.888, allocations: 0 / 1.332 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/1.888, allocations: 4 kB / 1.332 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/1.888, allocations: 8 kB / 1.332 GB, free: 225.9 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 6.98e-05/1.888, allocations: 108.9 kB / 1.332 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000252/1.888, allocations: 113.5 kB / 1.332 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/1.888, allocations: 15.84 kB / 1.332 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/1.889, allocations: 129.5 kB / 1.332 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.889, allocations: 0 / 1.332 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.889, allocations: 0 / 1.332 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.889, allocations: 0 / 1.332 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/1.889, allocations: 174.1 kB / 1.332 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.889, allocations: 0 / 1.332 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/1.889, allocations: 19.98 kB / 1.332 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.889, allocations: 3.938 kB / 1.332 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.889, allocations: 1.812 kB / 1.332 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.889, allocations: 3.953 kB / 1.332 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.889, allocations: 0 / 1.332 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/1.889, allocations: 207.5 kB / 1.332 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/1.889, allocations: 85 kB / 1.332 GB, free: 225 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/1.889, allocations: 2.25 kB / 1.332 GB, free: 225 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/1.889, allocations: 4 kB / 1.332 GB, free: 225 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/1.889, allocations: 11.94 kB / 1.332 GB, free: 225 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/1.89, allocations: 4 kB / 1.332 GB, free: 225 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.763e-05/1.89, allocations: 91.28 kB / 1.332 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.89, allocations: 0 / 1.332 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002593/1.89, allocations: 27.92 kB / 1.333 GB, free: 224.8 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.0006877/1.891, allocations: 0.7717 MB / 1.333 GB, free: 224 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001406/1.891, allocations: 51.98 kB / 1.333 GB, free: 224 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.891, allocations: 0 / 1.333 GB, free: 224 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/1.891, allocations: 35.92 kB / 1.333 GB, free: 224 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/1.891, allocations: 16.02 kB / 1.333 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/1.891, allocations: 133.5 kB / 1.334 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/1.892, allocations: 0.697 MB / 1.334 GB, free: 223.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.617e-05/1.892, allocations: 12.39 kB / 1.334 GB, free: 223 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/1.892, allocations: 23.42 kB / 1.334 GB, free: 223 MB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/1.892, allocations: 3.938 kB / 1.334 GB, free: 223 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/1.914, allocations: 1.809 MB / 1.336 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/1.914, allocations: 163.8 kB / 1.336 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/3.709, allocations: 0 / 1.336 GB, free: 221.1 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)