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.FlatPlateWithTank.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.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009566/0.00957, allocations: 109.9 kB / 15.06 MB, free: 5.559 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.001151/0.00115, allocations: 180.7 kB / 15.95 MB, free: 5.52 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.932/1.932, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.123/2.123, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.000483, allocations: 11.98 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5335, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.126/0.6596, allocations: 86.31 MB / 0.7676 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.8071/1.467, allocations: 156.6 MB / 0.9206 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006587/1.473, allocations: 124.9 kB / 0.9207 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.007227/1.481, allocations: 1.717 MB / 0.9224 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01779/1.498, allocations: 4.633 MB / 0.9269 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0231/1.522, allocations: 4.411 MB / 0.9312 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.03419/1.556, allocations: 15.04 MB / 0.9459 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01775/1.574, allocations: 9.675 MB / 0.9553 GB, free: 23.25 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01362/1.587, allocations: 6.185 MB / 0.9614 GB, free: 23.24 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01005/1.597, allocations: 5.155 MB / 0.9664 GB, free: 23.22 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.002839/1.6, allocations: 427.5 kB / 0.9668 GB, free: 23.22 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/1.612, allocations: 2.611 MB / 0.9694 GB, free: 23.22 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.004026/1.616, allocations: 1.971 MB / 0.9713 GB, free: 23.22 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.005199/1.621, allocations: 2.253 MB / 0.9735 GB, free: 23.19 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0195/1.641, allocations: 15.22 MB / 0.9884 GB, free: 15.9 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 4.441e-06/1.641, allocations: 0 / 0.9884 GB, free: 15.9 MB / 0.7449 GB Notification: Performance of FrontEnd: time 3.767e-06/1.641, allocations: 2.312 kB / 0.9884 GB, free: 15.9 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 0.0004618/1.641, allocations: 2.906 kB / 0.9884 GB, free: 15.9 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.0283/1.669, allocations: 10.25 MB / 0.9984 GB, free: 10.13 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.67, allocations: 10.75 kB / 0.9984 GB, free: 10.13 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/1.685, allocations: 2.377 MB / 1.001 GB, free: 9.051 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0253/1.71, allocations: 9.232 MB / 1.01 GB, free: 6.023 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/1.712, allocations: 0.6799 MB / 1.01 GB, free: 5.984 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/1.714, allocations: 0.8214 MB / 1.011 GB, free: 5.973 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03429/1.749, allocations: 11.81 MB / 1.023 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003021/1.749, allocations: 20.22 kB / 1.023 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/1.751, allocations: 342.5 kB / 1.023 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004119/1.751, allocations: 345.8 kB / 1.023 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03372/1.785, allocations: 11.17 MB / 1.034 GB, free: 6.699 MB / 0.7605 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.09788/1.883, allocations: 47.41 MB / 1.081 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02194/1.905, allocations: 8.232 MB / 1.089 GB, free: 11.3 MB / 0.8074 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 evalFunc (simulation): time 0.05065/1.956, allocations: 18.7 MB / 1.107 GB, free: 13.55 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01092/1.967, allocations: 3.619 MB / 1.11 GB, free: 11.01 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005588/1.972, allocations: 0.7386 MB / 1.111 GB, free: 10.35 MB / 0.823 GB Notification: Performance of pre-optimization done (n=508): time 2.165e-05/1.972, allocations: 0 / 1.111 GB, free: 10.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=508): time 0.0313/2.004, allocations: 9.61 MB / 1.121 GB, free: 3.629 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002218/2.004, allocations: 313 kB / 1.121 GB, free: 3.262 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01801/2.022, allocations: 7.809 MB / 1.128 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001207/2.023, allocations: 132.6 kB / 1.129 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00611/2.029, allocations: 4.381 MB / 1.133 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002989/2.032, allocations: 1.757 MB / 1.135 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007845/2.033, allocations: 131.1 kB / 1.135 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0006474/2.034, allocations: 0.5637 MB / 1.135 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01029/2.044, allocations: 3.466 MB / 1.139 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01235/2.056, allocations: 5.153 MB / 1.144 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/2.069, allocations: 4.368 MB / 1.148 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.365e-05/2.069, allocations: 12 kB / 1.148 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.03056/2.099, allocations: 9.78 MB / 1.158 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.01205/2.111, allocations: 23.82 MB / 1.181 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001858/2.112, allocations: 50.91 kB / 1.181 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/2.112, allocations: 87.98 kB / 1.181 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/2.122, allocations: 1.722 MB / 1.183 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001755/2.122, allocations: 104.3 kB / 1.183 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/2.133, allocations: 0.7345 MB / 1.183 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/2.135, allocations: 313.4 kB / 1.184 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/2.135, allocations: 6.344 kB / 1.184 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0272/2.162, allocations: 9.063 MB / 1.193 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/2.162, allocations: 48 kB / 1.193 GB, free: 5.613 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/2.162, allocations: 84 kB / 1.193 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/2.173, allocations: 1.71 MB / 1.194 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001756/2.173, allocations: 105.8 kB / 1.194 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.184, allocations: 0.7089 MB / 1.195 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/2.185, allocations: 315.8 kB / 1.195 GB, free: 2.82 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (827): * Single equations (assignments): 822 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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 0.009281/2.195, allocations: 3.236 MB / 1.199 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002735/2.198, allocations: 0.7641 MB / 1.199 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0277/2.225, allocations: 8.099 MB / 1.207 GB, free: 6.703 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.473e-05/2.225, allocations: 55.98 kB / 1.207 GB, free: 6.648 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/2.225, allocations: 0 / 1.207 GB, free: 6.648 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02048/2.246, allocations: 6.438 MB / 1.214 GB, free: 80 kB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.0531/2.299, allocations: 17.48 MB / 1.231 GB, free: 14.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/2.299, allocations: 0 / 1.231 GB, free: 14.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01089/2.31, allocations: 1.165 MB / 1.232 GB, free: 13.39 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/2.31, allocations: 16 kB / 1.232 GB, free: 13.37 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001608/2.312, allocations: 159.9 kB / 1.232 GB, free: 13.21 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.365e-05/2.312, allocations: 16 kB / 1.232 GB, free: 13.2 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/2.312, allocations: 4 kB / 1.232 GB, free: 13.2 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06183/2.374, allocations: 11.67 MB / 1.243 GB, free: 1.359 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01403/2.388, allocations: 1.92 MB / 1.245 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003533/2.391, allocations: 116 kB / 1.245 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009307/2.401, allocations: 0.6584 MB / 1.246 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001234/2.402, allocations: 311.5 kB / 1.246 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008131/2.403, allocations: 199.8 kB / 1.247 GB, free: 14.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01431/2.417, allocations: 5.515 MB / 1.252 GB, free: 8.641 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.232e-06/2.417, allocations: 0 / 1.252 GB, free: 8.641 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02144/2.439, allocations: 5.031 MB / 1.257 GB, free: 3.602 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.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 (533): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004939/2.444, allocations: 1.435 MB / 1.258 GB, free: 2.488 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.5152/2.959, allocations: 12.84 MB / 1.271 GB, free: 402.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/2.959, allocations: 5.125 kB / 1.271 GB, free: 402.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01115/2.97, allocations: 3.491 MB / 1.274 GB, free: 401.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02223/2.992, allocations: 4.032 MB / 1.278 GB, free: 400.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04864/3.041, allocations: 23.63 MB / 1.301 GB, free: 388.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01135/3.053, allocations: 6.219 MB / 1.307 GB, free: 386.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02336/3.076, allocations: 4.174 MB / 1.311 GB, free: 386.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004125/3.08, allocations: 0.7243 MB / 1.312 GB, free: 386 MB / 0.948 GB Notification: Performance of SimCode: time 2.932e-06/3.08, allocations: 0 / 1.312 GB, free: 386 MB / 0.948 GB Notification: Performance of Templates: time 0.3151/3.395, allocations: 159.7 MB / 1.468 GB, free: 237.8 MB / 0.948 GB