Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.279/1.279, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 179.5 kB / 327.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008091/0.0008093, allocations: 90.34 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 17.12 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1938, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.706/0.8998, allocations: 353.6 MB / 1.247 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.9001, allocations: 92.25 kB / 1.247 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02408/0.9242, allocations: 12.33 MB / 1.259 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9242, allocations: 0 / 1.259 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.9242, allocations: 0 / 1.259 GB, free: 2.852 MB / 0.7605 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.0004091/0.9246, allocations: 383.1 kB / 1.259 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.9247, allocations: 8.031 kB / 1.259 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.9247, allocations: 12.84 kB / 1.259 GB, free: 2.41 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.9248, allocations: 176.2 kB / 1.259 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.9248, allocations: 8 kB / 1.259 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.9249, allocations: 8.375 kB / 1.259 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.925, allocations: 87.91 kB / 1.259 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.9251, allocations: 192 / 1.259 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.9251, allocations: 7.938 kB / 1.259 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.9251, allocations: 0 / 1.259 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.9253, allocations: 82.89 kB / 1.259 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.9257, allocations: 325.6 kB / 1.26 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.9259, allocations: 103.5 kB / 1.26 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.926, allocations: 46.53 kB / 1.26 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006659/0.9267, allocations: 0.7497 MB / 1.261 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.9267, allocations: 30.84 kB / 1.261 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.9267, allocations: 4 kB / 1.261 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0003523/0.9271, allocations: 146.7 kB / 1.261 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.9271, allocations: 51.41 kB / 1.261 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.9272, allocations: 133.2 kB / 1.261 GB, free: 388 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.9272, allocations: 29.14 kB / 1.261 GB, free: 356 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.9273, allocations: 87.62 kB / 1.261 GB, free: 268 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.9273, allocations: 27.31 kB / 1.261 GB, free: 244 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.9273, allocations: 112 / 1.261 GB, free: 244 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.9274, allocations: 326.4 kB / 1.261 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.9275, allocations: 31.11 kB / 1.261 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/0.9276, allocations: 55.88 kB / 1.261 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.9278, allocations: 91.59 kB / 1.262 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9278, allocations: 4 kB / 1.262 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002049/0.928, allocations: 119.6 kB / 1.262 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.928, allocations: 4 kB / 1.262 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.928, allocations: 0 / 1.262 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.928, allocations: 0 / 1.262 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.9282, allocations: 24.02 kB / 1.262 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.9282, allocations: 4 kB / 1.262 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.9282, allocations: 11.19 kB / 1.262 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.9283, allocations: 4 kB / 1.262 GB, free: 15.61 MB / 0.7761 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 7.037e-05/0.9283, allocations: 117.3 kB / 1.262 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.9284, allocations: 11.84 kB / 1.262 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.9286, allocations: 127.8 kB / 1.262 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.9286, allocations: 0 / 1.262 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.9287, allocations: 0 / 1.262 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.9287, allocations: 3.938 kB / 1.262 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.9288, allocations: 192 kB / 1.262 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.9288, allocations: 0 / 1.262 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.9289, allocations: 23.98 kB / 1.262 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.929, allocations: 0 / 1.262 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.929, allocations: 7.875 kB / 1.262 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.929, allocations: 0 / 1.262 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.929, allocations: 0 / 1.262 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.9292, allocations: 216.7 kB / 1.262 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.9293, allocations: 84.95 kB / 1.262 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.9293, allocations: 7.984 kB / 1.262 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.9294, allocations: 4 kB / 1.262 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.9294, allocations: 15.36 kB / 1.262 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.9294, allocations: 4 kB / 1.262 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.9295, allocations: 94.89 kB / 1.263 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9295, allocations: 0 / 1.263 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002235/0.9297, allocations: 31.81 kB / 1.263 GB, free: 14.67 MB / 0.7761 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.0001945/0.9299, allocations: 132.1 kB / 1.263 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.9301, allocations: 85.58 kB / 1.263 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9302, allocations: 0 / 1.263 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.9302, allocations: 46.98 kB / 1.263 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.9305, allocations: 22.91 kB / 1.263 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.9308, allocations: 242.7 kB / 1.263 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.9311, allocations: 0.6926 MB / 1.264 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.27e-05/0.9311, allocations: 8.484 kB / 1.264 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.9312, allocations: 11.44 kB / 1.264 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of SimCode: time 2.41e-07/0.9312, allocations: 0 / 1.264 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.003143/0.9343, allocations: 1.195 MB / 1.265 GB, free: 12.25 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)