Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.143/4.143, allocations: 432.7 MB / 445.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.332e-05, allocations: 4.578 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1801, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.151/6.331, allocations: 2.522 GB / 3.156 GB, free: 164.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/6.332, allocations: 91.95 kB / 3.157 GB, free: 164.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 11.54/17.87, allocations: 2.439 GB / 5.595 GB, free: 62.62 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.593e-06/17.87, allocations: 0 / 5.595 GB, free: 62.62 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001703/17.87, allocations: 270.1 kB / 5.596 GB, free: 62.58 MB / 0.8855 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 0.03177/17.9, allocations: 8.911 MB / 5.604 GB, free: 59.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/17.9, allocations: 9.531 kB / 5.604 GB, free: 59.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/17.92, allocations: 2.187 MB / 5.606 GB, free: 58.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03817/17.96, allocations: 11.64 MB / 5.618 GB, free: 57.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008041/17.96, allocations: 0.5933 MB / 5.618 GB, free: 57.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003788/17.96, allocations: 0.8017 MB / 5.619 GB, free: 57.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03435/18, allocations: 10.66 MB / 5.63 GB, free: 56.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004867/18, allocations: 23.06 kB / 5.63 GB, free: 56.12 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003137/18, allocations: 334.8 kB / 5.63 GB, free: 56.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000362/18, allocations: 338.2 kB / 5.63 GB, free: 56.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02815/18.03, allocations: 9.689 MB / 5.64 GB, free: 56.04 MB / 0.8855 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.09579/18.13, allocations: 45.16 MB / 5.684 GB, free: 39.05 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/18.14, allocations: 7.498 MB / 5.691 GB, free: 38.77 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008539/18.15, allocations: 3.732 MB / 5.695 GB, free: 38.73 MB / 0.8855 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.04964/18.2, allocations: 18.37 MB / 5.713 GB, free: 34.04 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008405/18.21, allocations: 3.252 MB / 5.716 GB, free: 33.93 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006394/18.22, allocations: 0.7711 MB / 5.717 GB, free: 33.64 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=507): time 2.508e-05/18.22, allocations: 1.531 kB / 5.717 GB, free: 33.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=507): time 0.01971/18.24, allocations: 6.188 MB / 5.723 GB, free: 33.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/18.24, allocations: 336.6 kB / 5.723 GB, free: 32.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01814/18.25, allocations: 7.004 MB / 5.73 GB, free: 32.28 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00142/18.26, allocations: 138 kB / 5.73 GB, free: 32.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.006266/18.26, allocations: 4.335 MB / 5.734 GB, free: 30.72 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002807/18.27, allocations: 1.75 MB / 5.736 GB, free: 29.61 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/18.27, allocations: 128.9 kB / 5.736 GB, free: 29.61 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0006671/18.27, allocations: 0.5604 MB / 5.737 GB, free: 29.29 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007662/18.27, allocations: 3.105 MB / 5.74 GB, free: 29.28 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009393/18.28, allocations: 4.835 MB / 5.744 GB, free: 27.36 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009327/18.29, allocations: 4.041 MB / 5.748 GB, free: 27.19 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-05/18.29, allocations: 14.34 kB / 5.748 GB, free: 27.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02627/18.32, allocations: 9.136 MB / 5.757 GB, free: 26.53 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.009025/18.33, allocations: 23.69 MB / 5.78 GB, free: 17.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001924/18.33, allocations: 46.25 kB / 5.78 GB, free: 17.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/18.33, allocations: 159.6 kB / 5.781 GB, free: 17.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01109/18.34, allocations: 1.702 MB / 5.782 GB, free: 17.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008977/18.34, allocations: 0.7237 MB / 5.783 GB, free: 17.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/18.35, allocations: 0.7025 MB / 5.784 GB, free: 17 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002012/18.36, allocations: 313.2 kB / 5.784 GB, free: 17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/18.36, allocations: 2.938 kB / 5.784 GB, free: 17 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02436/18.38, allocations: 8.463 MB / 5.792 GB, free: 16.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/18.38, allocations: 49.94 kB / 5.792 GB, free: 16.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/18.38, allocations: 161 kB / 5.792 GB, free: 16.74 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/18.39, allocations: 1.696 MB / 5.794 GB, free: 16.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000884/18.39, allocations: 0.7089 MB / 5.795 GB, free: 16.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01644/18.41, allocations: 0.6932 MB / 5.795 GB, free: 16.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/18.41, allocations: 311.4 kB / 5.796 GB, free: 16.18 MB / 0.9011 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 815 * 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.002818/18.41, allocations: 496.9 kB / 5.796 GB, free: 16.04 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002526/18.42, allocations: 0.7571 MB / 5.797 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0226/18.44, allocations: 7.591 MB / 5.804 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/18.44, allocations: 54.94 kB / 5.804 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/18.44, allocations: 2.672 kB / 5.804 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01484/18.45, allocations: 5.752 MB / 5.81 GB, free: 14.79 MB / 0.9011 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.04424/18.5, allocations: 16.55 MB / 5.826 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/18.5, allocations: 3.844 kB / 5.826 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00864/18.51, allocations: 1.158 MB / 5.827 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/18.51, allocations: 82.7 kB / 5.827 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001155/18.51, allocations: 158.3 kB / 5.828 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007066/18.51, allocations: 0.6176 MB / 5.828 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/18.51, allocations: 1.75 kB / 5.828 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/18.54, allocations: 10.7 MB / 5.839 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006959/18.54, allocations: 1.866 MB / 5.84 GB, free: 8.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003323/18.55, allocations: 105.2 kB / 5.841 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009512/18.56, allocations: 0.5972 MB / 5.841 GB, free: 7.891 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/18.56, allocations: 309.2 kB / 5.841 GB, free: 7.848 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009812/18.56, allocations: 181.1 kB / 5.842 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01381/18.57, allocations: 5.518 MB / 5.847 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.652e-06/18.57, allocations: 0 / 5.847 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.02515/18.6, allocations: 5.263 MB / 5.852 GB, free: 4.578 MB / 0.9011 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (526): * Single equations (assignments): 516 * 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.006748/18.6, allocations: 2.474 MB / 5.855 GB, free: 3.723 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.03502/18.64, allocations: 12.36 MB / 5.867 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/18.64, allocations: 1.438 kB / 5.867 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008473/18.65, allocations: 3.148 MB / 5.87 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02369/18.67, allocations: 4.069 MB / 5.874 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04839/18.72, allocations: 16.78 MB / 5.89 GB, free: 6.125 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0136/18.73, allocations: 6.161 MB / 5.896 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.03296/18.77, allocations: 5.919 MB / 5.902 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003795/18.77, allocations: 0.5856 MB / 5.902 GB, free: 13.64 MB / 0.948 GB Notification: Performance of SimCode: time 1.9e-06/18.77, allocations: 2.438 kB / 5.902 GB, free: 13.64 MB / 0.948 GB Notification: Performance of Templates: time 1.065/19.84, allocations: 174 MB / 6.072 GB, free: 102.3 MB / 0.948 GB