Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.543/2.543, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001588/0.001588, allocations: 178.8 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001191/0.001191, allocations: 99.17 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005302/0.0005302, allocations: 17.17 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2544, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.51, allocations: 360.9 MB / 1.331 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/1.51, allocations: 94.2 kB / 1.331 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04848/1.558, allocations: 12.71 MB / 1.343 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.558, allocations: 0 / 1.343 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.764e-06/1.558, allocations: 0 / 1.343 GB, free: 10.29 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.0006845/1.559, allocations: 406.7 kB / 1.344 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.559, allocations: 12.02 kB / 1.344 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/1.559, allocations: 34.06 kB / 1.344 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/1.559, allocations: 19.84 kB / 1.344 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/1.56, allocations: 178.9 kB / 1.344 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/1.56, allocations: 4 kB / 1.344 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/1.56, allocations: 3.312 kB / 1.344 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/1.56, allocations: 82.66 kB / 1.344 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.56, allocations: 0 / 1.344 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/1.56, allocations: 3.984 kB / 1.344 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.56, allocations: 4 kB / 1.344 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/1.56, allocations: 81.39 kB / 1.344 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/1.561, allocations: 329.3 kB / 1.344 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/1.561, allocations: 93.09 kB / 1.344 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/1.562, allocations: 0.7504 MB / 1.345 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/1.563, allocations: 42.44 kB / 1.345 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 2.455e-06/1.563, allocations: 0 / 1.345 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0006594/1.563, allocations: 141.3 kB / 1.345 GB, free: 8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.563, allocations: 59.41 kB / 1.345 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/1.563, allocations: 107.7 kB / 1.346 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/1.563, allocations: 25.7 kB / 1.346 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/1.564, allocations: 99.72 kB / 1.346 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/1.564, allocations: 19.16 kB / 1.346 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/1.564, allocations: 7.125 kB / 1.346 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.564, allocations: 318.1 kB / 1.346 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/1.564, allocations: 34.98 kB / 1.346 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/1.564, allocations: 49.44 kB / 1.346 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/1.564, allocations: 43.16 kB / 1.346 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.564, allocations: 0 / 1.346 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004383/1.565, allocations: 125 kB / 1.346 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.565, allocations: 8 kB / 1.346 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/1.565, allocations: 3.984 kB / 1.346 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.565, allocations: 0 / 1.346 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/1.565, allocations: 19.98 kB / 1.346 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.565, allocations: 0 / 1.346 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/1.565, allocations: 13.81 kB / 1.346 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/1.565, allocations: 7.984 kB / 1.346 GB, free: 7.094 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.0001164/1.565, allocations: 112.8 kB / 1.346 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/1.565, allocations: 11.86 kB / 1.346 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005475/1.566, allocations: 140.1 kB / 1.347 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/1.566, allocations: 0 / 1.347 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.566, allocations: 192 / 1.347 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.566, allocations: 0 / 1.347 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/1.566, allocations: 199.8 kB / 1.347 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.566, allocations: 0 / 1.347 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/1.567, allocations: 19.98 kB / 1.347 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/1.567, allocations: 4 kB / 1.347 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/1.567, allocations: 3.953 kB / 1.347 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.567, allocations: 0 / 1.347 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.567, allocations: 4 kB / 1.347 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/1.567, allocations: 205.8 kB / 1.347 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/1.567, allocations: 92.94 kB / 1.347 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/1.567, allocations: 0 / 1.347 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/1.567, allocations: 15.89 kB / 1.347 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/1.567, allocations: 7.984 kB / 1.347 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/1.567, allocations: 4 kB / 1.347 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.82e-05/1.568, allocations: 90.95 kB / 1.347 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.568, allocations: 0 / 1.347 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003772/1.568, allocations: 22.69 kB / 1.347 GB, free: 6.156 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.0009611/1.569, allocations: 0.7755 MB / 1.348 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004124/1.569, allocations: 85.64 kB / 1.348 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.569, allocations: 0 / 1.348 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/1.57, allocations: 50.34 kB / 1.348 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/1.57, allocations: 7.266 kB / 1.348 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/1.571, allocations: 299.2 kB / 1.348 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.571, allocations: 0.6887 MB / 1.349 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001187/1.571, allocations: 16.11 kB / 1.349 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/1.571, allocations: 21.98 kB / 1.349 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/1.571, allocations: 0 / 1.349 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/1.597, allocations: 2.319 MB / 1.351 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003799/1.597, allocations: 191.7 kB / 1.351 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/4.028, allocations: 6.875 kB / 1.351 GB, free: 1.816 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)