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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 105.6 kB / 16.36 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 193.7 kB / 17.3 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.7 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2443, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003206/0.2475, allocations: 1.602 MB / 0.7864 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3935/0.641, allocations: 3.251 MB / 0.7895 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.6411, allocations: 5.5 kB / 0.7895 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.6412, allocations: 4.875 kB / 0.7895 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.911e-05/0.6413, allocations: 18.02 kB / 0.7896 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.6418, allocations: 107.1 kB / 0.7897 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.642, allocations: 82.45 kB / 0.7897 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.6421, allocations: 16.95 kB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.988e-05/0.6422, allocations: 40.78 kB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.6423, allocations: 38.52 kB / 0.7898 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.6423, allocations: 5.25 kB / 0.7898 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.6426, allocations: 106.5 kB / 0.7899 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.6426, allocations: 18.34 kB / 0.79 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.6427, allocations: 31.34 kB / 0.79 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.6429, allocations: 119 kB / 0.7901 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6429, allocations: 1.875 kB / 0.7901 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6429, allocations: 0 / 0.7901 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.6429, allocations: 0 / 0.7901 GB, free: 46.54 MB / 0.6544 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.0005125/0.6435, allocations: 394 kB / 0.7905 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.6435, allocations: 8.531 kB / 0.7905 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.6436, allocations: 7.875 kB / 0.7905 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/0.6436, allocations: 179.6 kB / 0.7907 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6437, allocations: 3.625 kB / 0.7907 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.6437, allocations: 6.531 kB / 0.7907 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.6439, allocations: 81.02 kB / 0.7907 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6439, allocations: 0 / 0.7907 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6439, allocations: 6.625 kB / 0.7908 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6439, allocations: 0 / 0.7908 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.6441, allocations: 74.88 kB / 0.7908 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.6445, allocations: 333.8 kB / 0.7911 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.6447, allocations: 92.58 kB / 0.7912 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.6449, allocations: 46.31 kB / 0.7913 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/0.6455, allocations: 0.7563 MB / 0.792 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.6456, allocations: 34.81 kB / 0.792 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.6456, allocations: 0.6875 kB / 0.792 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003639/0.6459, allocations: 140.7 kB / 0.7922 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.646, allocations: 54.53 kB / 0.7922 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.646, allocations: 116.1 kB / 0.7923 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.6461, allocations: 28.64 kB / 0.7924 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.6461, allocations: 94.2 kB / 0.7925 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.6461, allocations: 24.34 kB / 0.7925 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.6462, allocations: 21.73 kB / 0.7925 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.6462, allocations: 324.2 kB / 0.7928 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.6463, allocations: 27.42 kB / 0.7928 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.6464, allocations: 51.91 kB / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.6466, allocations: 79.2 kB / 0.793 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6466, allocations: 0 / 0.793 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002116/0.6468, allocations: 109.9 kB / 0.7931 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6468, allocations: 6.688 kB / 0.7931 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6468, allocations: 7.031 kB / 0.7931 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6469, allocations: 0 / 0.7931 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.647, allocations: 22.75 kB / 0.7931 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.647, allocations: 4.156 kB / 0.7931 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.6471, allocations: 17.88 kB / 0.7931 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.6471, allocations: 9.547 kB / 0.7931 GB, free: 44.09 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/0.6472, allocations: 112.4 kB / 0.7932 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.6472, allocations: 2.656 kB / 0.7932 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.6475, allocations: 125.4 kB / 0.7934 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.6475, allocations: 5.953 kB / 0.7934 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6475, allocations: 7.688 kB / 0.7934 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6475, allocations: 1.031 kB / 0.7934 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.6477, allocations: 188 kB / 0.7936 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6477, allocations: 0 / 0.7936 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.6478, allocations: 19.5 kB / 0.7936 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6479, allocations: 0 / 0.7936 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.6479, allocations: 7.406 kB / 0.7936 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6479, allocations: 0 / 0.7936 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6479, allocations: 1.562 kB / 0.7936 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.6482, allocations: 206 kB / 0.7938 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.6482, allocations: 80.53 kB / 0.7939 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.6482, allocations: 10.22 kB / 0.7939 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.6484, allocations: 8.859 kB / 0.7939 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.6484, allocations: 5.438 kB / 0.7939 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.6484, allocations: 2.625 kB / 0.7939 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.6485, allocations: 96.02 kB / 0.794 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6485, allocations: 4 kB / 0.794 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000283/0.6488, allocations: 26.31 kB / 0.794 GB, free: 43.41 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003086/0.6491, allocations: 112.6 kB / 0.7941 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.6494, allocations: 78.09 kB / 0.7942 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6494, allocations: 0 / 0.7942 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.6495, allocations: 48.67 kB / 0.7942 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.6499, allocations: 7.219 kB / 0.7942 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.6505, allocations: 217.9 kB / 0.7944 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.6507, allocations: 0.6874 MB / 0.7951 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.871e-05/0.6508, allocations: 12.73 kB / 0.7951 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.6508, allocations: 16.25 kB / 0.7951 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.6508, allocations: 0 / 0.7951 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.00451/0.6554, allocations: 1.015 MB / 0.7961 GB, free: 42.41 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)