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.639/1.639, allocations: 285.4 MB / 298 MB, free: 5.961 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.001184/0.001184, allocations: 180.8 kB / 366.4 MB, free: 2.066 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.734/1.734, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0009875/0.0009875, allocations: 90.61 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.666e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.821/0.821, allocations: 115.3 MB / 0.971 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.938, allocations: 361 MB / 1.324 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.938, allocations: 85.42 kB / 1.324 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02527/1.964, allocations: 12.67 MB / 1.336 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.145e-06/1.964, allocations: 0 / 1.336 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.964, allocations: 0 / 1.336 GB, free: 221.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.0005044/1.964, allocations: 382.3 kB / 1.336 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.12e-05/1.964, allocations: 8.031 kB / 1.336 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/1.964, allocations: 38.56 kB / 1.336 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/1.964, allocations: 11.19 kB / 1.336 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/1.965, allocations: 178.9 kB / 1.337 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.965, allocations: 0 / 1.337 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/1.965, allocations: 8 kB / 1.337 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/1.965, allocations: 70.08 kB / 1.337 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.965, allocations: 0 / 1.337 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.965, allocations: 0 / 1.337 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.965, allocations: 4 kB / 1.337 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/1.965, allocations: 55.97 kB / 1.337 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/1.966, allocations: 336.5 kB / 1.337 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/1.966, allocations: 90.61 kB / 1.337 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/1.966, allocations: 32.86 kB / 1.337 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/1.967, allocations: 0.7606 MB / 1.338 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/1.967, allocations: 30.56 kB / 1.338 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/1.967, allocations: 0 / 1.338 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0002359/1.967, allocations: 85.58 kB / 1.338 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/1.967, allocations: 55.42 kB / 1.338 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/1.967, allocations: 119.5 kB / 1.338 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/1.967, allocations: 28.05 kB / 1.338 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/1.967, allocations: 92.05 kB / 1.338 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/1.967, allocations: 27.64 kB / 1.338 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/1.967, allocations: 0 / 1.338 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/1.967, allocations: 318.8 kB / 1.339 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/1.967, allocations: 20 kB / 1.339 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/1.967, allocations: 37.75 kB / 1.339 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.909e-05/1.967, allocations: 27.98 kB / 1.339 GB, free: 218 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.967, allocations: 0 / 1.339 GB, free: 218 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001363/1.967, allocations: 92.34 kB / 1.339 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.968, allocations: 11.95 kB / 1.339 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.968, allocations: 0 / 1.339 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.968, allocations: 0 / 1.339 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/1.968, allocations: 19.98 kB / 1.339 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.968, allocations: 3.984 kB / 1.339 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/1.968, allocations: 16.03 kB / 1.339 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/1.968, allocations: 7.984 kB / 1.339 GB, free: 217.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 7.044e-05/1.968, allocations: 106.5 kB / 1.339 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/1.968, allocations: 7.906 kB / 1.339 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/1.968, allocations: 116.4 kB / 1.339 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.968, allocations: 0 / 1.339 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.968, allocations: 8 kB / 1.339 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.968, allocations: 7.922 kB / 1.339 GB, free: 217.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/1.968, allocations: 185.6 kB / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.968, allocations: 0 / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/1.968, allocations: 15.98 kB / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.968, allocations: 4 kB / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.968, allocations: 0 / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.969, allocations: 3.953 kB / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.969, allocations: 0 / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/1.969, allocations: 195.4 kB / 1.339 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/1.969, allocations: 77.11 kB / 1.34 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/1.969, allocations: 8 kB / 1.34 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/1.969, allocations: 7.984 kB / 1.34 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/1.969, allocations: 10.77 kB / 1.34 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/1.969, allocations: 3.984 kB / 1.34 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.469e-05/1.969, allocations: 91.28 kB / 1.34 GB, free: 217 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/1.969, allocations: 4 kB / 1.34 GB, free: 217 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000245/1.969, allocations: 27.84 kB / 1.34 GB, free: 216.9 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.0005416/1.97, allocations: 0.7484 MB / 1.34 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001561/1.97, allocations: 59.98 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.97, allocations: 0 / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/1.97, allocations: 31.94 kB / 1.341 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/1.97, allocations: 13.55 kB / 1.341 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/1.971, allocations: 150.4 kB / 1.341 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/1.971, allocations: 0.6926 MB / 1.341 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.821e-05/1.971, allocations: 9.109 kB / 1.341 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/1.971, allocations: 27.42 kB / 1.341 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.971, allocations: 0 / 1.341 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/1.984, allocations: 2.384 MB / 1.344 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/1.985, allocations: 186.9 kB / 1.344 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/3.737, allocations: 0 / 1.344 GB, free: 212.7 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)