Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.232/2.232, allocations: 253.2 MB / 260.6 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 173.7 kB / 319.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.246/2.246, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 96.88 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.28e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2566, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.438/8.695, allocations: 2.528 GB / 3.417 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/8.695, allocations: 97.19 kB / 3.417 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.31/22.01, allocations: 2.447 GB / 5.864 GB, free: 75.56 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.635e-06/22.01, allocations: 0 / 5.864 GB, free: 75.56 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.002327/22.01, allocations: 263.9 kB / 5.865 GB, free: 75.32 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: 2036 * Number of variables: 2036 Notification: Performance of Generate backend data structure: time 0.03897/22.05, allocations: 8.886 MB / 5.873 GB, free: 66.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/22.05, allocations: 8.031 kB / 5.873 GB, free: 66.42 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01992/22.07, allocations: 2.038 MB / 5.875 GB, free: 64.37 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04715/22.11, allocations: 11.73 MB / 5.887 GB, free: 52.76 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005941/22.11, allocations: 255.9 kB / 5.887 GB, free: 52.51 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004738/22.12, allocations: 479.9 kB / 5.887 GB, free: 52.04 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0398/22.16, allocations: 9.093 MB / 5.896 GB, free: 42.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03963/22.2, allocations: 9.572 MB / 5.906 GB, free: 33.05 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003463/22.2, allocations: 23.73 kB / 5.906 GB, free: 33.02 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002164/22.2, allocations: 12 kB / 5.906 GB, free: 33.01 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000378/22.2, allocations: 339 kB / 5.906 GB, free: 32.68 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.1109/22.31, allocations: 43.71 MB / 5.949 GB, free: 3.535 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/22.33, allocations: 7.163 MB / 5.956 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/22.34, allocations: 3.569 MB / 5.959 GB, free: 8.84 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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 evalFunc (simulation): time 0.8909/23.23, allocations: 17.97 MB / 5.977 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01199/23.25, allocations: 3.139 MB / 5.98 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008027/23.25, allocations: 0.6256 MB / 5.98 GB, free: 124.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=509): time 5.441e-05/23.25, allocations: 0 / 5.98 GB, free: 124.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=509): time 0.1455/23.4, allocations: 10.52 MB / 5.991 GB, free: 124.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/23.4, allocations: 366.5 kB / 5.991 GB, free: 124 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02294/23.42, allocations: 6.326 MB / 5.997 GB, free: 123.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001921/23.43, allocations: 29.73 kB / 5.997 GB, free: 123.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007888/23.43, allocations: 4.31 MB / 6.001 GB, free: 122.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003845/23.44, allocations: 1.687 MB / 6.003 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/23.44, allocations: 0 / 6.003 GB, free: 121.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007018/23.44, allocations: 0.5604 MB / 6.004 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008781/23.45, allocations: 2.957 MB / 6.006 GB, free: 121.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/23.46, allocations: 4.639 MB / 6.011 GB, free: 119.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3455/23.8, allocations: 16 MB / 6.027 GB, free: 119.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/23.8, allocations: 12.91 kB / 6.027 GB, free: 119.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.3662/24.17, allocations: 20.52 MB / 6.047 GB, free: 117.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00553/24.18, allocations: 23.28 MB / 6.069 GB, free: 92.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003103/24.18, allocations: 49.64 kB / 6.069 GB, free: 92.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/24.18, allocations: 158.2 kB / 6.07 GB, free: 92.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01555/24.19, allocations: 1.68 MB / 6.071 GB, free: 92.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009509/24.19, allocations: 0.7338 MB / 6.072 GB, free: 92.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01496/24.21, allocations: 0.5569 MB / 6.072 GB, free: 92.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002346/24.21, allocations: 316.9 kB / 6.073 GB, free: 92.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/24.21, allocations: 3.469 kB / 6.073 GB, free: 92.21 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3607/24.57, allocations: 19.7 MB / 6.092 GB, free: 91.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002144/24.57, allocations: 50.47 kB / 6.092 GB, free: 91.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004441/24.57, allocations: 151.2 kB / 6.092 GB, free: 91.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01497/24.59, allocations: 1.675 MB / 6.094 GB, free: 91.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009342/24.59, allocations: 0.7279 MB / 6.095 GB, free: 90.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01465/24.6, allocations: 0.5357 MB / 6.095 GB, free: 90.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002517/24.61, allocations: 310.9 kB / 6.095 GB, free: 90.58 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 815 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.003659/24.61, allocations: 281.8 kB / 6.096 GB, free: 90.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003602/24.61, allocations: 0.7234 MB / 6.096 GB, free: 90.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1432/24.76, allocations: 11.57 MB / 6.108 GB, free: 89.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-05/24.76, allocations: 51.94 kB / 6.108 GB, free: 89.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/24.76, allocations: 0 / 6.108 GB, free: 89.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1347/24.89, allocations: 10.07 MB / 6.118 GB, free: 88.61 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.1712/25.06, allocations: 19.93 MB / 6.137 GB, free: 87.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/25.06, allocations: 0 / 6.137 GB, free: 87.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01201/25.08, allocations: 1.157 MB / 6.138 GB, free: 87.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/25.08, allocations: 81.17 kB / 6.138 GB, free: 87.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00141/25.08, allocations: 97.2 kB / 6.138 GB, free: 87.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006809/25.08, allocations: 0.6228 MB / 6.139 GB, free: 87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/25.08, allocations: 0 / 6.139 GB, free: 87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1474/25.23, allocations: 14.91 MB / 6.153 GB, free: 85.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008743/25.23, allocations: 1.846 MB / 6.155 GB, free: 85.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004043/25.24, allocations: 26.64 kB / 6.155 GB, free: 85.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0132/25.25, allocations: 497.8 kB / 6.156 GB, free: 85.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001676/25.25, allocations: 308 kB / 6.156 GB, free: 85.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001454/25.25, allocations: 218 kB / 6.156 GB, free: 85.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01399/25.27, allocations: 4.801 MB / 6.161 GB, free: 84.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.32e-07/25.27, allocations: 0 / 6.161 GB, free: 84.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03154/25.3, allocations: 5.015 MB / 6.166 GB, free: 84.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 27 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (534): * Single equations (assignments): 523 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007693/25.31, allocations: 2.233 MB / 6.168 GB, free: 83.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03281/25.34, allocations: 11.21 MB / 6.179 GB, free: 83.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.929e-05/25.34, allocations: 7.219 kB / 6.179 GB, free: 83.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008757/25.35, allocations: 3.034 MB / 6.182 GB, free: 83.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03031/25.38, allocations: 3.614 MB / 6.185 GB, free: 83.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0491/25.43, allocations: 16.44 MB / 6.202 GB, free: 74.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01281/25.44, allocations: 6.182 MB / 6.208 GB, free: 70.72 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03794/25.48, allocations: 5.624 MB / 6.213 GB, free: 67.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005233/25.49, allocations: 0.5647 MB / 6.214 GB, free: 66.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/25.49, allocations: 0 / 6.214 GB, free: 66.8 MB / 0.948 GB Notification: Performance of Templates: time 1.224/26.71, allocations: 148.7 MB / 6.359 GB, free: 142.7 MB / 0.9792 GB