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.534/2.534, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001532/0.001531, allocations: 168.9 kB / 360.6 MB, free: 7.293 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.074/2.074, allocations: 205.2 MB / 0.6191 GB, free: 12.23 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.001165/0.001164, allocations: 98.05 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.162e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8487/0.8487, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/2.14, allocations: 360.2 MB / 1.315 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/2.141, allocations: 88.44 kB / 1.315 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04691/2.188, allocations: 12.61 MB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.405e-06/2.188, allocations: 1.656 kB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.696e-06/2.188, allocations: 0 / 1.328 GB, free: 183.9 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.000615/2.189, allocations: 378.9 kB / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/2.189, allocations: 13.97 kB / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/2.189, allocations: 11.31 kB / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/2.189, allocations: 178.9 kB / 1.328 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/2.189, allocations: 1.312 kB / 1.328 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/2.189, allocations: 2.656 kB / 1.328 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002091/2.189, allocations: 53.89 kB / 1.328 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/2.189, allocations: 64.2 kB / 1.328 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/2.189, allocations: 0 / 1.328 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/2.189, allocations: 0 / 1.328 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/2.189, allocations: 2.594 kB / 1.328 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/2.19, allocations: 305.6 kB / 1.329 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/2.19, allocations: 81.56 kB / 1.329 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-05/2.19, allocations: 34.88 kB / 1.329 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000985/2.191, allocations: 0.7543 MB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/2.191, allocations: 42.14 kB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.645e-06/2.191, allocations: 3.969 kB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0005634/2.192, allocations: 102.3 kB / 1.329 GB, free: 182 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/2.192, allocations: 56.53 kB / 1.33 GB, free: 182 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/2.192, allocations: 104.9 kB / 1.33 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/2.192, allocations: 25.7 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/2.192, allocations: 102.8 kB / 1.33 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/2.192, allocations: 21.81 kB / 1.33 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/2.192, allocations: 0 / 1.33 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/2.192, allocations: 317.5 kB / 1.33 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/2.192, allocations: 17.56 kB / 1.33 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/2.192, allocations: 34.42 kB / 1.33 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/2.193, allocations: 51.41 kB / 1.33 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/2.193, allocations: 4 kB / 1.33 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004429/2.193, allocations: 114.9 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/2.193, allocations: 7.281 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/2.193, allocations: 7.078 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/2.193, allocations: 1.188 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/2.194, allocations: 20.48 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/2.194, allocations: 5.469 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/2.194, allocations: 13.45 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/2.194, allocations: 2.906 kB / 1.33 GB, free: 181.3 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.384e-05/2.194, allocations: 113.4 kB / 1.33 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004551/2.194, allocations: 107.3 kB / 1.331 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/2.194, allocations: 10.86 kB / 1.331 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005277/2.195, allocations: 127.5 kB / 1.331 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/2.195, allocations: 1.438 kB / 1.331 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.195, allocations: 3.984 kB / 1.331 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/2.195, allocations: 6.953 kB / 1.331 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/2.195, allocations: 166 kB / 1.331 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/2.195, allocations: 0 / 1.331 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/2.195, allocations: 19.45 kB / 1.331 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/2.195, allocations: 1.5 kB / 1.331 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/2.195, allocations: 6.766 kB / 1.331 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/2.195, allocations: 7.938 kB / 1.331 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.195, allocations: 1.438 kB / 1.331 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/2.196, allocations: 201.8 kB / 1.331 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/2.196, allocations: 83.45 kB / 1.331 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/2.196, allocations: 0 / 1.331 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/2.196, allocations: 13.88 kB / 1.331 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.123e-05/2.196, allocations: 10.02 kB / 1.331 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/2.196, allocations: 4.938 kB / 1.331 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.328e-05/2.196, allocations: 93.06 kB / 1.331 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.82e-07/2.196, allocations: 0 / 1.331 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003658/2.197, allocations: 21.56 kB / 1.331 GB, free: 180.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.0008197/2.198, allocations: 0.7708 MB / 1.332 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002116/2.198, allocations: 60.06 kB / 1.332 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/2.198, allocations: 0 / 1.332 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/2.198, allocations: 36.52 kB / 1.332 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/2.198, allocations: 6.547 kB / 1.332 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/2.199, allocations: 135 kB / 1.332 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/2.199, allocations: 0.6897 MB / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001159/2.199, allocations: 15.33 kB / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/2.199, allocations: 22.62 kB / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/2.199, allocations: 0 / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/2.239, allocations: 1.808 MB / 1.335 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/2.239, allocations: 163.5 kB / 1.335 GB, free: 178 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/4.642, allocations: 0 / 1.335 GB, free: 178 MB / 0.8542 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)