Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001229/0.001229, allocations: 179.1 kB / 371.6 MB, free: 3.379 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.876/1.876, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009701/0.0009702, allocations: 95.73 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.79e-05/8.82e-05, allocations: 8 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.565, allocations: 362 MB / 1.333 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003942/1.566, allocations: 90.7 kB / 1.333 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.03404/1.6, allocations: 12.66 MB / 1.346 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.855e-06/1.6, allocations: 0 / 1.346 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.418e-05/1.6, allocations: 0 / 1.346 GB, free: 8.223 MB / 0.9167 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.0008052/1.601, allocations: 377.9 kB / 1.346 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/1.601, allocations: 8.031 kB / 1.346 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/1.601, allocations: 45.48 kB / 1.346 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.97e-05/1.601, allocations: 10.41 kB / 1.346 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/1.601, allocations: 179.2 kB / 1.346 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.601, allocations: 4.625 kB / 1.346 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/1.601, allocations: 4 kB / 1.346 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/1.601, allocations: 71.48 kB / 1.346 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.601, allocations: 0 / 1.346 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/1.602, allocations: 0 / 1.346 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/1.602, allocations: 4 kB / 1.347 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/1.602, allocations: 56.47 kB / 1.347 GB, free: 7.434 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/1.603, allocations: 332.7 kB / 1.347 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/1.603, allocations: 84.69 kB / 1.347 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.38e-05/1.603, allocations: 34.17 kB / 1.347 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.604, allocations: 0.7558 MB / 1.348 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/1.604, allocations: 41.19 kB / 1.348 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.714e-06/1.604, allocations: 0 / 1.348 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003285/1.604, allocations: 88.2 kB / 1.348 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/1.604, allocations: 59.41 kB / 1.348 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/1.605, allocations: 105.2 kB / 1.348 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/1.605, allocations: 25.7 kB / 1.348 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/1.605, allocations: 99.16 kB / 1.348 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.523e-05/1.605, allocations: 26.95 kB / 1.348 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-06/1.605, allocations: 4.938 kB / 1.348 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.605, allocations: 317.9 kB / 1.348 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/1.605, allocations: 18.25 kB / 1.348 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/1.605, allocations: 35.03 kB / 1.349 GB, free: 5.352 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/1.605, allocations: 29.56 kB / 1.349 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.605, allocations: 0 / 1.349 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001895/1.605, allocations: 91.09 kB / 1.349 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/1.606, allocations: 15.95 kB / 1.349 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.606, allocations: 0 / 1.349 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/1.606, allocations: 0 / 1.349 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/1.606, allocations: 27.23 kB / 1.349 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.606, allocations: 0 / 1.349 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/1.606, allocations: 9.375 kB / 1.349 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/1.606, allocations: 4 kB / 1.349 GB, free: 5.203 MB / 0.9167 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 0.0001164/1.606, allocations: 117.9 kB / 1.349 GB, free: 5.086 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/1.606, allocations: 7.906 kB / 1.349 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/1.606, allocations: 112.1 kB / 1.349 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.606, allocations: 0 / 1.349 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.606, allocations: 4 kB / 1.349 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.606, allocations: 0 / 1.349 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/1.607, allocations: 191.7 kB / 1.349 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.607, allocations: 0 / 1.349 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/1.607, allocations: 20.92 kB / 1.349 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.607, allocations: 4 kB / 1.349 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/1.607, allocations: 5.172 kB / 1.349 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.607, allocations: 4.656 kB / 1.349 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.607, allocations: 0 / 1.349 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/1.607, allocations: 181.1 kB / 1.349 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/1.607, allocations: 77.11 kB / 1.349 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/1.607, allocations: 15.91 kB / 1.349 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.607, allocations: 11.38 kB / 1.349 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/1.607, allocations: 11.94 kB / 1.349 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1.607, allocations: 0.9375 kB / 1.349 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.686e-05/1.608, allocations: 92.16 kB / 1.349 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.608, allocations: 0 / 1.349 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002798/1.608, allocations: 27.55 kB / 1.35 GB, free: 4.324 MB / 0.9167 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.0009225/1.609, allocations: 0.7577 MB / 1.35 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002055/1.609, allocations: 63.48 kB / 1.35 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.609, allocations: 0 / 1.35 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.678e-05/1.609, allocations: 30.94 kB / 1.35 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/1.609, allocations: 13.84 kB / 1.35 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/1.61, allocations: 147.1 kB / 1.351 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/1.61, allocations: 0.6966 MB / 1.351 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.731e-05/1.611, allocations: 11.7 kB / 1.351 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/1.611, allocations: 19.19 kB / 1.351 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of SimCode: time 2.5e-07/1.611, allocations: 0.75 kB / 1.351 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/1.628, allocations: 2.379 MB / 1.354 GB, free: 368 kB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.628, allocations: 171.1 kB / 1.354 GB, free: 136 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/3.481, allocations: 3.938 kB / 1.354 GB, free: 132 kB / 0.9167 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)