Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0094/0.009401, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001227/0.001227, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.98/1.98, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.408/2.408, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.000492, allocations: 12 kB / 0.5869 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5503, allocations: 98.7 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.289/6.839, allocations: 2.459 GB / 3.142 GB, free: 288.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/6.839, allocations: 99.48 kB / 3.142 GB, free: 288.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 13.35/20.19, allocations: 2.751 GB / 5.893 GB, free: 91.59 MB / 0.8699 GB Notification: Performance of FrontEnd: time 2.727e-06/20.19, allocations: 0 / 5.893 GB, free: 91.59 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.00257/20.19, allocations: 370.9 kB / 5.893 GB, free: 91.54 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2941 * Number of variables: 2941 Notification: Performance of Generate backend data structure: time 0.05373/20.24, allocations: 14.69 MB / 5.908 GB, free: 85.98 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/20.24, allocations: 10.16 kB / 5.908 GB, free: 85.98 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02493/20.27, allocations: 3.126 MB / 5.911 GB, free: 85.11 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05774/20.33, allocations: 17.95 MB / 5.928 GB, free: 83.31 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/20.33, allocations: 0.8193 MB / 5.929 GB, free: 83.29 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005027/20.33, allocations: 1.109 MB / 5.93 GB, free: 83.27 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05312/20.38, allocations: 16.41 MB / 5.946 GB, free: 77.5 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006667/20.39, allocations: 41.94 kB / 5.946 GB, free: 77.47 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004292/20.39, allocations: 480.4 kB / 5.947 GB, free: 77.12 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006114/20.39, allocations: 0.5634 MB / 5.947 GB, free: 77.06 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04942/20.44, allocations: 15.21 MB / 5.962 GB, free: 71.19 MB / 0.8699 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1279/20.57, allocations: 62.92 MB / 6.024 GB, free: 8.715 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02808/20.6, allocations: 10.58 MB / 6.034 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003863/20.6, allocations: 2.382 MB / 6.036 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01838/20.62, allocations: 5.525 MB / 6.042 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=702): time 1.557e-05/20.62, allocations: 2.188 kB / 6.042 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of matching and sorting (n=702): time 0.6738/21.29, allocations: 14 MB / 6.055 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/21.29, allocations: 336 kB / 6.056 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03144/21.32, allocations: 11.04 MB / 6.066 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001796/21.33, allocations: 166.6 kB / 6.067 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.009459/21.33, allocations: 6.208 MB / 6.073 GB, free: 99.72 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.004273/21.34, allocations: 2.444 MB / 6.075 GB, free: 98.49 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/21.34, allocations: 171.8 kB / 6.075 GB, free: 98.49 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0009236/21.34, allocations: 0.6567 MB / 6.076 GB, free: 98.17 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01556/21.36, allocations: 4.671 MB / 6.08 GB, free: 98.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01726/21.37, allocations: 6.939 MB / 6.087 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01682/21.39, allocations: 5.92 MB / 6.093 GB, free: 95.47 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/21.39, allocations: 18.69 kB / 6.093 GB, free: 95.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.04408/21.44, allocations: 13.21 MB / 6.106 GB, free: 94.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.007027/21.44, allocations: 36.9 MB / 6.142 GB, free: 56.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002634/21.44, allocations: 63.97 kB / 6.142 GB, free: 56.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008662/21.44, allocations: 200.5 kB / 6.142 GB, free: 56.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01663/21.46, allocations: 2.368 MB / 6.144 GB, free: 56.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/21.46, allocations: 1.689 MB / 6.146 GB, free: 55.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01789/21.48, allocations: 1.606 MB / 6.148 GB, free: 54.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00249/21.48, allocations: 427.9 kB / 6.148 GB, free: 54.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/21.48, allocations: 3.156 kB / 6.148 GB, free: 54.97 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04/21.52, allocations: 12.29 MB / 6.16 GB, free: 54.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/21.52, allocations: 63.59 kB / 6.16 GB, free: 54.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009064/21.52, allocations: 197.7 kB / 6.16 GB, free: 54.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01638/21.54, allocations: 2.366 MB / 6.163 GB, free: 54.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/21.54, allocations: 1.691 MB / 6.164 GB, free: 53.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01666/21.56, allocations: 1.438 MB / 6.166 GB, free: 53.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002646/21.56, allocations: 426.5 kB / 6.166 GB, free: 53.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1097): * Single equations (assignments): 1094 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01418/21.58, allocations: 4.802 MB / 6.171 GB, free: 52.74 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004967/21.58, allocations: 1.091 MB / 6.172 GB, free: 52.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04277/21.63, allocations: 12.07 MB / 6.184 GB, free: 51.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.258e-05/21.63, allocations: 68.62 kB / 6.184 GB, free: 51.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.885e-05/21.63, allocations: 0 / 6.184 GB, free: 51.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03122/21.66, allocations: 9.218 MB / 6.193 GB, free: 51.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09337/21.75, allocations: 25.91 MB / 6.218 GB, free: 49.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.469e-05/21.75, allocations: 7.562 kB / 6.218 GB, free: 49.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0239/21.77, allocations: 1.712 MB / 6.22 GB, free: 49.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/21.78, allocations: 121.8 kB / 6.22 GB, free: 49.13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002515/21.78, allocations: 239.3 kB / 6.22 GB, free: 49.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/21.78, allocations: 1.612 MB / 6.222 GB, free: 47.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.288e-05/21.78, allocations: 14.47 kB / 6.222 GB, free: 47.83 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07517/21.86, allocations: 19.39 MB / 6.241 GB, free: 43.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01058/21.87, allocations: 2.92 MB / 6.243 GB, free: 42.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005185/21.87, allocations: 162.2 kB / 6.244 GB, free: 42.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01526/21.89, allocations: 0.8342 MB / 6.244 GB, free: 42.21 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001781/21.89, allocations: 448.4 kB / 6.245 GB, free: 42.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001467/21.89, allocations: 278.6 kB / 6.245 GB, free: 42.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.02138/21.91, allocations: 8.69 MB / 6.254 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.336e-06/21.91, allocations: 3.812 kB / 6.254 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.03204/21.94, allocations: 7.122 MB / 6.261 GB, free: 38.52 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 40 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (719): * Single equations (assignments): 708 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006323/21.95, allocations: 2.175 MB / 6.263 GB, free: 37.94 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.04885/22, allocations: 17.64 MB / 6.28 GB, free: 31.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.092e-05/22, allocations: 16.33 kB / 6.28 GB, free: 31.93 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0152/22.02, allocations: 5.047 MB / 6.285 GB, free: 30.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03685/22.05, allocations: 6.797 MB / 6.291 GB, free: 28.79 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07586/22.13, allocations: 34.34 MB / 6.325 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01827/22.15, allocations: 8.61 MB / 6.333 GB, free: 17.32 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.03946/22.19, allocations: 7.017 MB / 6.34 GB, free: 12.6 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007078/22.19, allocations: 1.07 MB / 6.341 GB, free: 11.68 MB / 0.9012 GB Notification: Performance of SimCode: time 2.255e-06/22.19, allocations: 4 kB / 6.341 GB, free: 11.68 MB / 0.9012 GB Notification: Performance of Templates: time 1.245/23.44, allocations: 239.6 MB / 6.575 GB, free: 97.12 MB / 0.9168 GB