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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.167/4.167, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.134e-05, allocations: 4 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.5069, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.601, allocations: 2.521 GB / 3.15 GB, free: 234 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/6.602, allocations: 95.94 kB / 3.15 GB, free: 233.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.68/17.29, allocations: 2.426 GB / 5.576 GB, free: 39.74 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.816e-06/17.29, allocations: 0 / 5.576 GB, free: 39.74 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001454/17.29, allocations: 271.9 kB / 5.577 GB, free: 39.5 MB / 0.8698 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.02685/17.31, allocations: 8.91 MB / 5.585 GB, free: 30.55 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/17.31, allocations: 15.97 kB / 5.585 GB, free: 30.54 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/17.33, allocations: 2.184 MB / 5.587 GB, free: 28.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03455/17.36, allocations: 11.64 MB / 5.599 GB, free: 16.82 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00049/17.37, allocations: 256 kB / 5.599 GB, free: 16.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003289/17.37, allocations: 479.9 kB / 5.6 GB, free: 16.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02361/17.39, allocations: 9.171 MB / 5.609 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02947/17.42, allocations: 9.515 MB / 5.618 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003461/17.42, allocations: 27.78 kB / 5.618 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002245/17.42, allocations: 16 kB / 5.618 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004114/17.42, allocations: 335 kB / 5.618 GB, free: 12.72 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 1.368/18.79, allocations: 43.85 MB / 5.661 GB, free: 74.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/18.81, allocations: 7.166 MB / 5.668 GB, free: 74.13 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01233/18.82, allocations: 3.575 MB / 5.671 GB, free: 74.09 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.04731/18.87, allocations: 17.9 MB / 5.689 GB, free: 69.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007063/18.87, allocations: 3.081 MB / 5.692 GB, free: 69.64 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005864/18.88, allocations: 0.6215 MB / 5.693 GB, free: 69.51 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=505): time 3.291e-05/18.88, allocations: 0 / 5.693 GB, free: 69.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=505): time 0.08572/18.97, allocations: 10.94 MB / 5.703 GB, free: 69 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/18.97, allocations: 341.9 kB / 5.704 GB, free: 68.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/18.98, allocations: 6.281 MB / 5.71 GB, free: 68.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001357/18.98, allocations: 35.08 kB / 5.71 GB, free: 68.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.005763/18.99, allocations: 4.283 MB / 5.714 GB, free: 67.06 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002715/18.99, allocations: 1.679 MB / 5.716 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008994/18.99, allocations: 1.688 kB / 5.716 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0005639/18.99, allocations: 0.5571 MB / 5.716 GB, free: 65.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006893/19, allocations: 2.991 MB / 5.719 GB, free: 65.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008418/19.01, allocations: 4.678 MB / 5.724 GB, free: 63.82 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1935/19.2, allocations: 16.41 MB / 5.74 GB, free: 63.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.844e-05/19.2, allocations: 18.86 kB / 5.74 GB, free: 63.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.2125/19.42, allocations: 21.04 MB / 5.76 GB, free: 62.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.004458/19.42, allocations: 23.22 MB / 5.783 GB, free: 37.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002136/19.42, allocations: 54.16 kB / 5.783 GB, free: 37.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/19.42, allocations: 154.9 kB / 5.783 GB, free: 37.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/19.43, allocations: 1.696 MB / 5.785 GB, free: 37.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008208/19.43, allocations: 0.7227 MB / 5.785 GB, free: 37.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/19.44, allocations: 0.5722 MB / 5.786 GB, free: 37.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/19.45, allocations: 315.9 kB / 5.786 GB, free: 37.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/19.45, allocations: 9.109 kB / 5.786 GB, free: 37.22 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2084/19.65, allocations: 20.25 MB / 5.806 GB, free: 36.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/19.65, allocations: 52.06 kB / 5.806 GB, free: 36.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/19.65, allocations: 158 kB / 5.806 GB, free: 36.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/19.66, allocations: 1.686 MB / 5.808 GB, free: 36.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007531/19.67, allocations: 0.7322 MB / 5.809 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/19.68, allocations: 0.5514 MB / 5.809 GB, free: 35.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001972/19.68, allocations: 314.2 kB / 5.809 GB, free: 35.54 MB / 0.8855 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.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.002904/19.68, allocations: 283.3 kB / 5.81 GB, free: 35.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002981/19.68, allocations: 0.7148 MB / 5.81 GB, free: 35.03 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08791/19.77, allocations: 11.96 MB / 5.822 GB, free: 34.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-05/19.77, allocations: 56 kB / 5.822 GB, free: 34.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/19.77, allocations: 2.469 kB / 5.822 GB, free: 34.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08207/19.85, allocations: 10.47 MB / 5.832 GB, free: 33.54 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 postOpt removeSimpleEquations (simulation): time 0.112/19.97, allocations: 20.15 MB / 5.852 GB, free: 32.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/19.97, allocations: 2.062 kB / 5.852 GB, free: 32.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008265/19.97, allocations: 1.159 MB / 5.853 GB, free: 32.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/19.98, allocations: 84.59 kB / 5.853 GB, free: 32.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00113/19.98, allocations: 98 kB / 5.853 GB, free: 32.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/19.98, allocations: 0.6207 MB / 5.854 GB, free: 47.92 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.38e-06/19.98, allocations: 0 / 5.854 GB, free: 47.92 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09322/20.07, allocations: 15.19 MB / 5.869 GB, free: 46.7 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006919/20.08, allocations: 1.805 MB / 5.871 GB, free: 46.22 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003521/20.08, allocations: 27.12 kB / 5.871 GB, free: 46.21 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01015/20.09, allocations: 0.4929 MB / 5.871 GB, free: 46.16 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002061/20.09, allocations: 305.7 kB / 5.871 GB, free: 46.14 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001979/20.1, allocations: 184.1 kB / 5.872 GB, free: 46.14 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.01819/20.11, allocations: 4.767 MB / 5.876 GB, free: 45.89 MB / 0.9012 GB Notification: Performance of sort global known variables: time 2.139e-06/20.11, allocations: 0 / 5.876 GB, free: 45.89 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.03752/20.15, allocations: 5.029 MB / 5.881 GB, free: 41.13 MB / 0.9012 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (525): * Single equations (assignments): 515 * 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.009834/20.16, allocations: 2.262 MB / 5.883 GB, free: 39.56 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.03772/20.2, allocations: 11.52 MB / 5.895 GB, free: 33.05 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/20.2, allocations: 9.812 kB / 5.895 GB, free: 33.04 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.006639/20.21, allocations: 3.035 MB / 5.898 GB, free: 31.41 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01951/20.23, allocations: 3.53 MB / 5.901 GB, free: 29.44 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05604/20.28, allocations: 16.4 MB / 5.917 GB, free: 15.2 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02497/20.31, allocations: 6.156 MB / 5.923 GB, free: 10.66 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.04827/20.36, allocations: 5.593 MB / 5.929 GB, free: 7.207 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003609/20.36, allocations: 0.5578 MB / 5.929 GB, free: 6.719 MB / 0.9012 GB Notification: Performance of SimCode: time 1.677e-06/20.36, allocations: 0 / 5.929 GB, free: 6.719 MB / 0.9012 GB Notification: Performance of Templates: time 0.9964/21.36, allocations: 145.1 MB / 6.071 GB, free: 124.7 MB / 0.9324 GB