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.681/1.681, allocations: 288.2 MB / 303.2 MB, free: 8.023 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.00114/0.00114, allocations: 179.2 kB / 371.8 MB, free: 10.15 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.987/1.987, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001054, allocations: 94.86 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004451, allocations: 13.53 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3014, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.449, allocations: 361.1 MB / 1.332 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/1.449, allocations: 95.17 kB / 1.332 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0287/1.478, allocations: 12.71 MB / 1.345 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.397e-06/1.478, allocations: 0 / 1.345 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.478, allocations: 0 / 1.345 GB, free: 8.805 MB / 0.8698 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.0006482/1.479, allocations: 406.9 kB / 1.345 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/1.479, allocations: 8.031 kB / 1.345 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/1.479, allocations: 38.06 kB / 1.345 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/1.479, allocations: 3.906 kB / 1.345 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/1.479, allocations: 182.9 kB / 1.345 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/1.479, allocations: 4 kB / 1.345 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/1.479, allocations: 11.38 kB / 1.345 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/1.48, allocations: 71.72 kB / 1.345 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.48, allocations: 4 kB / 1.345 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/1.48, allocations: 3.875 kB / 1.345 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/1.48, allocations: 0 / 1.345 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/1.48, allocations: 81.81 kB / 1.345 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/1.48, allocations: 328.3 kB / 1.346 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/1.481, allocations: 107.4 kB / 1.346 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008621/1.482, allocations: 0.7429 MB / 1.347 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/1.482, allocations: 38.52 kB / 1.347 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/1.482, allocations: 288 / 1.347 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0004114/1.482, allocations: 155.9 kB / 1.347 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/1.482, allocations: 51.41 kB / 1.347 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.482, allocations: 111.6 kB / 1.347 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/1.482, allocations: 25.7 kB / 1.347 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/1.482, allocations: 98.86 kB / 1.347 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/1.482, allocations: 30.94 kB / 1.347 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/1.482, allocations: 0 / 1.347 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.483, allocations: 321.4 kB / 1.347 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/1.483, allocations: 30.42 kB / 1.347 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/1.483, allocations: 55.5 kB / 1.347 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.959e-05/1.483, allocations: 34.56 kB / 1.347 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.483, allocations: 0 / 1.347 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002763/1.483, allocations: 117.9 kB / 1.348 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.483, allocations: 11.94 kB / 1.348 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.483, allocations: 400 / 1.348 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.483, allocations: 0 / 1.348 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/1.483, allocations: 27.95 kB / 1.348 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.483, allocations: 4 kB / 1.348 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/1.483, allocations: 5.781 kB / 1.348 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/1.484, allocations: 7.375 kB / 1.348 GB, free: 5.613 MB / 0.8698 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.0001028/1.484, allocations: 113 kB / 1.348 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/1.484, allocations: 7.891 kB / 1.348 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/1.484, allocations: 138.9 kB / 1.348 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.484, allocations: 3.938 kB / 1.348 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.484, allocations: 0 / 1.348 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.484, allocations: 0 / 1.348 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/1.484, allocations: 196 kB / 1.348 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.484, allocations: 4 kB / 1.348 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/1.484, allocations: 23.92 kB / 1.348 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.484, allocations: 0 / 1.348 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/1.484, allocations: 3.875 kB / 1.348 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.484, allocations: 7.953 kB / 1.348 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.484, allocations: 0 / 1.348 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/1.485, allocations: 208.1 kB / 1.348 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/1.485, allocations: 84.95 kB / 1.348 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/1.485, allocations: 4 kB / 1.348 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/1.485, allocations: 11.17 kB / 1.348 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/1.485, allocations: 11.94 kB / 1.348 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/1.485, allocations: 0 / 1.348 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.336e-05/1.485, allocations: 95.02 kB / 1.348 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.485, allocations: 0 / 1.348 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002496/1.485, allocations: 23.56 kB / 1.348 GB, free: 4.672 MB / 0.8698 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.000798/1.486, allocations: 0.767 MB / 1.349 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002408/1.486, allocations: 90.27 kB / 1.349 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.486, allocations: 0 / 1.349 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.68e-05/1.487, allocations: 49.84 kB / 1.349 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/1.487, allocations: 17.69 kB / 1.349 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/1.487, allocations: 289.8 kB / 1.35 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/1.488, allocations: 0.6965 MB / 1.35 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.717e-05/1.488, allocations: 4.188 kB / 1.35 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/1.488, allocations: 25.42 kB / 1.35 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of SimCode: time 3.417e-06/1.488, allocations: 3.938 kB / 1.35 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/1.514, allocations: 2.33 MB / 1.353 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.514, allocations: 205.2 kB / 1.353 GB, free: 320 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/3.245, allocations: 0 / 1.353 GB, free: 320 kB / 0.8698 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)