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.009024/0.009024, allocations: 110.5 kB / 15.05 MB, free: 6.031 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.001127/0.001127, allocations: 190.3 kB / 15.95 MB, free: 5.965 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.252/2.252, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004832, allocations: 8 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5515, allocations: 98.72 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.41/6.962, allocations: 2.512 GB / 3.195 GB, free: 188.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000449/6.963, allocations: 103.2 kB / 3.195 GB, free: 188.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 11.19/18.15, allocations: 2.446 GB / 5.641 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.432e-06/18.15, allocations: 3.938 kB / 5.641 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001739/18.16, allocations: 275.8 kB / 5.641 GB, free: 8.172 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2033 * Number of variables: 2033 Notification: Performance of Generate backend data structure: time 1.358/19.52, allocations: 10.77 MB / 5.652 GB, free: 77.04 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/19.52, allocations: 10.94 kB / 5.652 GB, free: 77.04 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01688/19.53, allocations: 2.196 MB / 5.654 GB, free: 76.46 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04105/19.57, allocations: 11.7 MB / 5.665 GB, free: 75.69 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009401/19.57, allocations: 0.5924 MB / 5.666 GB, free: 75.68 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003902/19.58, allocations: 0.8012 MB / 5.667 GB, free: 75.67 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03813/19.62, allocations: 11.08 MB / 5.677 GB, free: 74.59 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004985/19.62, allocations: 24.44 kB / 5.678 GB, free: 74.59 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003252/19.62, allocations: 335.9 kB / 5.678 GB, free: 74.59 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004655/19.62, allocations: 340.3 kB / 5.678 GB, free: 74.57 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03401/19.65, allocations: 10.44 MB / 5.688 GB, free: 74.51 MB / 0.9012 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.09365/19.75, allocations: 45.14 MB / 5.732 GB, free: 57.69 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02113/19.77, allocations: 8.048 MB / 5.74 GB, free: 57.41 MB / 0.9012 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.05168/19.82, allocations: 18.22 MB / 5.758 GB, free: 52.77 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01149/19.83, allocations: 3.528 MB / 5.762 GB, free: 52.66 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006964/19.84, allocations: 0.7599 MB / 5.762 GB, free: 52.38 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=509): time 2.545e-05/19.84, allocations: 3.422 kB / 5.762 GB, free: 52.38 MB / 0.9012 GB Notification: Performance of matching and sorting (n=509): time 0.0323/19.87, allocations: 9.553 MB / 5.772 GB, free: 51.73 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/19.87, allocations: 342.6 kB / 5.772 GB, free: 51.38 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01744/19.89, allocations: 7.084 MB / 5.779 GB, free: 50.93 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.001366/19.89, allocations: 136.5 kB / 5.779 GB, free: 50.89 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.006106/19.9, allocations: 4.311 MB / 5.783 GB, free: 49.38 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002796/19.9, allocations: 1.764 MB / 5.785 GB, free: 48.26 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/19.9, allocations: 129.5 kB / 5.785 GB, free: 48.26 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0006515/19.9, allocations: 0.5643 MB / 5.786 GB, free: 47.94 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01202/19.91, allocations: 3.374 MB / 5.789 GB, free: 47.93 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01849/19.93, allocations: 5.105 MB / 5.794 GB, free: 46.02 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02068/19.95, allocations: 4.296 MB / 5.798 GB, free: 45.86 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.279e-05/19.95, allocations: 14.12 kB / 5.798 GB, free: 45.86 MB / 0.9012 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.03112/19.98, allocations: 9.692 MB / 5.808 GB, free: 45.19 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.006658/19.99, allocations: 23.69 MB / 5.831 GB, free: 36.24 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001834/19.99, allocations: 49.88 kB / 5.831 GB, free: 36.24 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007138/19.99, allocations: 171.1 kB / 5.831 GB, free: 36.23 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01144/20, allocations: 1.702 MB / 5.833 GB, free: 36.23 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/20, allocations: 0.7298 MB / 5.833 GB, free: 35.71 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01206/20.02, allocations: 0.703 MB / 5.834 GB, free: 35.66 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/20.02, allocations: 315.3 kB / 5.834 GB, free: 35.66 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/20.02, allocations: 3.781 kB / 5.834 GB, free: 35.66 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02762/20.05, allocations: 9.005 MB / 5.843 GB, free: 35.41 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001855/20.05, allocations: 47.91 kB / 5.843 GB, free: 35.41 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/20.05, allocations: 175 kB / 5.843 GB, free: 35.41 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/20.06, allocations: 1.693 MB / 5.845 GB, free: 35.41 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/20.06, allocations: 0.7346 MB / 5.846 GB, free: 34.88 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01133/20.07, allocations: 0.6796 MB / 5.846 GB, free: 34.84 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/20.07, allocations: 310.8 kB / 5.847 GB, free: 34.84 MB / 0.9168 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.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 (823): * Single equations (assignments): 817 * 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: 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.009339/20.08, allocations: 3.214 MB / 5.85 GB, free: 34.62 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002914/20.08, allocations: 0.7558 MB / 5.85 GB, free: 34.22 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02712/20.11, allocations: 8.125 MB / 5.858 GB, free: 33.81 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.86e-05/20.11, allocations: 54.78 kB / 5.858 GB, free: 33.81 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/20.11, allocations: 0 / 5.858 GB, free: 33.81 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0198/20.13, allocations: 6.295 MB / 5.865 GB, free: 33.38 MB / 0.9168 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.05144/20.18, allocations: 17.08 MB / 5.881 GB, free: 31.16 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/20.18, allocations: 2.719 kB / 5.881 GB, free: 31.16 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008335/20.19, allocations: 1.155 MB / 5.882 GB, free: 31.13 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/20.19, allocations: 103.9 kB / 5.883 GB, free: 31.1 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/20.19, allocations: 150.7 kB / 5.883 GB, free: 31.03 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007999/20.19, allocations: 0.6292 MB / 5.883 GB, free: 30.47 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/20.19, allocations: 5.203 kB / 5.883 GB, free: 30.47 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03361/20.23, allocations: 11.51 MB / 5.895 GB, free: 25.69 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007278/20.24, allocations: 1.873 MB / 5.896 GB, free: 24.63 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003608/20.24, allocations: 100.8 kB / 5.896 GB, free: 24.56 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009861/20.25, allocations: 0.6018 MB / 5.897 GB, free: 24.46 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001261/20.25, allocations: 302.5 kB / 5.897 GB, free: 24.42 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001036/20.25, allocations: 186.4 kB / 5.898 GB, free: 24.38 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.01425/20.27, allocations: 5.591 MB / 5.903 GB, free: 22.41 MB / 0.9168 GB Notification: Performance of sort global known variables: time 1.076e-06/20.27, allocations: 3.594 kB / 5.903 GB, free: 22.41 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.02373/20.29, allocations: 5.229 MB / 5.908 GB, free: 21.3 MB / 0.9168 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (528): * Single equations (assignments): 518 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.006657/20.3, allocations: 2.482 MB / 5.91 GB, free: 20.71 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.03369/20.33, allocations: 12.62 MB / 5.923 GB, free: 16.36 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/20.33, allocations: 5.344 kB / 5.923 GB, free: 16.36 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.009622/20.34, allocations: 3.422 MB / 5.926 GB, free: 15.19 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02353/20.36, allocations: 4.05 MB / 5.93 GB, free: 14.33 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05491/20.42, allocations: 23.32 MB / 5.953 GB, free: 11.36 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01419/20.43, allocations: 6.145 MB / 5.959 GB, free: 6.828 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.02485/20.46, allocations: 4.18 MB / 5.963 GB, free: 4.102 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004425/20.46, allocations: 0.7143 MB / 5.964 GB, free: 3.473 MB / 0.9324 GB Notification: Performance of SimCode: time 1.998e-06/20.46, allocations: 0 / 5.964 GB, free: 3.473 MB / 0.9324 GB Notification: Performance of Templates: time 1.066/21.53, allocations: 167.6 MB / 6.127 GB, free: 110.4 MB / 0.948 GB