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.157/2.157, allocations: 252.6 MB / 265.2 MB, free: 5.754 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.001407/0.001407, allocations: 175.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 0.5753 GB, free: 10.49 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.00115/0.00115, allocations: 86.69 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.643e-05, allocations: 4 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2397, allocations: 106.3 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.31/8.55, allocations: 2.528 GB / 3.423 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/8.55, allocations: 94.7 kB / 3.423 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.34/21.89, allocations: 2.46 GB / 5.883 GB, free: 58.89 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.064e-06/21.89, allocations: 0 / 5.883 GB, free: 58.89 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00198/21.9, allocations: 263.4 kB / 5.883 GB, free: 58.64 MB / 0.9323 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.03849/21.94, allocations: 8.892 MB / 5.892 GB, free: 49.68 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/21.94, allocations: 12.03 kB / 5.892 GB, free: 49.67 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/21.96, allocations: 2.032 MB / 5.894 GB, free: 47.62 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0471/22, allocations: 11.73 MB / 5.905 GB, free: 35.86 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009613/22, allocations: 0.5974 MB / 5.906 GB, free: 35.26 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004329/22.01, allocations: 0.8045 MB / 5.907 GB, free: 34.45 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03964/22.05, allocations: 10.71 MB / 5.917 GB, free: 23.41 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006321/22.05, allocations: 23.78 kB / 5.917 GB, free: 23.39 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003931/22.05, allocations: 335.9 kB / 5.917 GB, free: 23.06 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003771/22.05, allocations: 335 kB / 5.918 GB, free: 22.73 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03211/22.08, allocations: 9.609 MB / 5.927 GB, free: 13.12 MB / 0.9323 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.9532/23.04, allocations: 45.13 MB / 5.971 GB, free: 91.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02318/23.06, allocations: 7.446 MB / 5.978 GB, free: 91.23 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01215/23.07, allocations: 3.725 MB / 5.982 GB, free: 91.18 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.06888/23.14, allocations: 18.27 MB / 6 GB, free: 86.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01125/23.15, allocations: 3.298 MB / 6.003 GB, free: 86.86 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008332/23.16, allocations: 0.7647 MB / 6.004 GB, free: 86.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=509): time 2.777e-05/23.16, allocations: 0 / 6.004 GB, free: 86.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=509): time 0.02433/23.19, allocations: 6.153 MB / 6.01 GB, free: 86.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/23.19, allocations: 372.1 kB / 6.01 GB, free: 86.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02161/23.21, allocations: 7.066 MB / 6.017 GB, free: 85.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001977/23.21, allocations: 132.7 kB / 6.017 GB, free: 85.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007736/23.22, allocations: 4.363 MB / 6.021 GB, free: 84.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003671/23.22, allocations: 1.75 MB / 6.023 GB, free: 83.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/23.22, allocations: 127.9 kB / 6.023 GB, free: 83.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008187/23.22, allocations: 0.5592 MB / 6.024 GB, free: 83.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009598/23.23, allocations: 3.066 MB / 6.027 GB, free: 83.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01197/23.25, allocations: 4.803 MB / 6.032 GB, free: 81.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/23.26, allocations: 3.962 MB / 6.035 GB, free: 81.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.552e-05/23.26, allocations: 13.84 kB / 6.035 GB, free: 81.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.0331/23.29, allocations: 8.949 MB / 6.044 GB, free: 80.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005547/23.3, allocations: 23.76 MB / 6.067 GB, free: 55.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002339/23.3, allocations: 45.09 kB / 6.067 GB, free: 55.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007531/23.3, allocations: 162.6 kB / 6.068 GB, free: 55.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01531/23.31, allocations: 1.684 MB / 6.069 GB, free: 55.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000903/23.31, allocations: 0.7158 MB / 6.07 GB, free: 55.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0159/23.33, allocations: 0.6855 MB / 6.071 GB, free: 55.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002351/23.33, allocations: 311.5 kB / 6.071 GB, free: 55.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/23.33, allocations: 6.094 kB / 6.071 GB, free: 55.07 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03018/23.36, allocations: 8.253 MB / 6.079 GB, free: 54.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002134/23.36, allocations: 49.94 kB / 6.079 GB, free: 54.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/23.36, allocations: 164.5 kB / 6.079 GB, free: 54.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01512/23.38, allocations: 1.677 MB / 6.081 GB, free: 54.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008411/23.38, allocations: 0.7248 MB / 6.081 GB, free: 54.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01476/23.39, allocations: 0.6672 MB / 6.082 GB, free: 54.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002345/23.4, allocations: 310.8 kB / 6.082 GB, free: 54.32 MB / 0.948 GB 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.004341/23.4, allocations: 492.7 kB / 6.083 GB, free: 54.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004386/23.41, allocations: 0.7594 MB / 6.084 GB, free: 53.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03025/23.44, allocations: 7.395 MB / 6.091 GB, free: 53.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.431e-05/23.44, allocations: 56.19 kB / 6.091 GB, free: 53.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/23.44, allocations: 0 / 6.091 GB, free: 53.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02002/23.46, allocations: 5.75 MB / 6.097 GB, free: 52.94 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.06128/23.52, allocations: 16.66 MB / 6.113 GB, free: 52.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/23.52, allocations: 0 / 6.113 GB, free: 52.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01214/23.53, allocations: 1.162 MB / 6.114 GB, free: 52.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/23.53, allocations: 78.88 kB / 6.114 GB, free: 52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001545/23.53, allocations: 155.3 kB / 6.114 GB, free: 52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006353/23.53, allocations: 0.6148 MB / 6.115 GB, free: 51.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/23.53, allocations: 1.906 kB / 6.115 GB, free: 51.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03403/23.57, allocations: 10.76 MB / 6.125 GB, free: 50.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008938/23.58, allocations: 1.901 MB / 6.127 GB, free: 49.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004459/23.58, allocations: 112.2 kB / 6.127 GB, free: 49.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01385/23.59, allocations: 0.5852 MB / 6.128 GB, free: 49.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001695/23.6, allocations: 315.9 kB / 6.128 GB, free: 49.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001316/23.6, allocations: 214.9 kB / 6.128 GB, free: 49.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01623/23.61, allocations: 5.549 MB / 6.134 GB, free: 49.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.022e-06/23.61, allocations: 2.25 kB / 6.134 GB, free: 49.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03164/23.65, allocations: 5.258 MB / 6.139 GB, free: 48.84 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.00786/23.65, allocations: 2.43 MB / 6.141 GB, free: 48.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0339/23.69, allocations: 11.74 MB / 6.153 GB, free: 48.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/23.69, allocations: 6.562 kB / 6.153 GB, free: 48.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00951/23.7, allocations: 3.145 MB / 6.156 GB, free: 48.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03413/23.73, allocations: 4.121 MB / 6.16 GB, free: 48.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05198/23.78, allocations: 16.8 MB / 6.176 GB, free: 44.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01304/23.8, allocations: 6.199 MB / 6.182 GB, free: 43.56 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03905/23.84, allocations: 5.896 MB / 6.188 GB, free: 43.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004509/23.84, allocations: 0.5778 MB / 6.189 GB, free: 43.08 MB / 0.948 GB Notification: Performance of SimCode: time 1.703e-06/23.84, allocations: 3.062 kB / 6.189 GB, free: 43.08 MB / 0.948 GB Notification: Performance of Templates: time 1.307/25.15, allocations: 177.6 MB / 6.362 GB, free: 130.8 MB / 0.9792 GB