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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0112/0.0112, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001233/0.001234, allocations: 183.5 kB / 15.94 MB, free: 5.941 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 2.055/2.055, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.385/2.385, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000522/0.0005222, allocations: 8 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.708, allocations: 98.72 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.432/9.14, allocations: 2.512 GB / 3.195 GB, free: 178.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/9.14, allocations: 106.8 kB / 3.195 GB, free: 178.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 14.03/23.17, allocations: 2.445 GB / 5.64 GB, free: 79.09 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.256e-06/23.17, allocations: 0 / 5.64 GB, free: 79.09 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.002137/23.17, allocations: 266.5 kB / 5.64 GB, free: 79.09 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 0.05772/23.23, allocations: 10.8 MB / 5.651 GB, free: 76.77 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.61e-05/23.23, allocations: 8.375 kB / 5.651 GB, free: 76.77 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006868/23.24, allocations: 1.069 MB / 5.652 GB, free: 76.68 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0254/23.26, allocations: 2.196 MB / 5.654 GB, free: 76.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05121/23.31, allocations: 11.69 MB / 5.665 GB, free: 74.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001262/23.31, allocations: 0.5973 MB / 5.666 GB, free: 74.87 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005086/23.32, allocations: 0.7978 MB / 5.667 GB, free: 74.86 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04758/23.37, allocations: 11.08 MB / 5.678 GB, free: 73.78 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005792/23.37, allocations: 25.34 kB / 5.678 GB, free: 73.78 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003577/23.37, allocations: 333.9 kB / 5.678 GB, free: 73.78 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004153/23.37, allocations: 339.5 kB / 5.678 GB, free: 73.76 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04132/23.41, allocations: 10.44 MB / 5.688 GB, free: 73.7 MB / 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 preOpt removeSimpleEquations (simulation): time 0.1179/23.53, allocations: 45.16 MB / 5.733 GB, free: 56.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02708/23.56, allocations: 8.051 MB / 5.74 GB, free: 56.42 MB / 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 preOpt evalFunc (simulation): time 0.06502/23.62, allocations: 18.21 MB / 5.758 GB, free: 51.77 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0192/23.64, allocations: 3.524 MB / 5.762 GB, free: 51.65 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008981/23.65, allocations: 0.7644 MB / 5.762 GB, free: 51.37 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=509): time 2.37e-05/23.65, allocations: 2.062 kB / 5.762 GB, free: 51.37 MB / 0.9011 GB Notification: Performance of matching and sorting (n=509): time 0.03991/23.69, allocations: 9.552 MB / 5.772 GB, free: 50.73 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/23.69, allocations: 344.1 kB / 5.772 GB, free: 50.38 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01957/23.71, allocations: 7.081 MB / 5.779 GB, free: 49.92 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001768/23.71, allocations: 135.3 kB / 5.779 GB, free: 49.89 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.006423/23.72, allocations: 4.33 MB / 5.783 GB, free: 48.36 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003398/23.72, allocations: 1.761 MB / 5.785 GB, free: 47.25 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/23.72, allocations: 124.7 kB / 5.785 GB, free: 47.25 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0005499/23.72, allocations: 0.5648 MB / 5.786 GB, free: 46.93 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01245/23.74, allocations: 3.379 MB / 5.789 GB, free: 46.91 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01442/23.75, allocations: 5.1 MB / 5.794 GB, free: 45.01 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/23.77, allocations: 4.29 MB / 5.798 GB, free: 44.85 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-05/23.77, allocations: 12.34 kB / 5.798 GB, free: 44.85 MB / 0.9011 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.03644/23.8, allocations: 9.691 MB / 5.808 GB, free: 44.19 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.006381/23.81, allocations: 23.69 MB / 5.831 GB, free: 35.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002511/23.81, allocations: 48.16 kB / 5.831 GB, free: 35.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000854/23.81, allocations: 171.4 kB / 5.831 GB, free: 35.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01531/23.82, allocations: 1.701 MB / 5.833 GB, free: 35.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/23.83, allocations: 0.7341 MB / 5.833 GB, free: 34.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01528/23.84, allocations: 0.7057 MB / 5.834 GB, free: 34.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002176/23.84, allocations: 314.6 kB / 5.834 GB, free: 34.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/23.84, allocations: 1.562 kB / 5.834 GB, free: 34.66 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03252/23.88, allocations: 9.013 MB / 5.843 GB, free: 34.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001811/23.88, allocations: 46.97 kB / 5.843 GB, free: 34.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/23.88, allocations: 169.4 kB / 5.843 GB, free: 34.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01495/23.89, allocations: 1.69 MB / 5.845 GB, free: 34.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/23.89, allocations: 0.7362 MB / 5.846 GB, free: 33.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01446/23.91, allocations: 0.6816 MB / 5.846 GB, free: 33.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002217/23.91, allocations: 309 kB / 5.847 GB, free: 33.84 MB / 0.9167 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.01029/23.92, allocations: 3.208 MB / 5.85 GB, free: 33.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003067/23.92, allocations: 0.7568 MB / 5.851 GB, free: 33.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03099/23.95, allocations: 8.139 MB / 5.859 GB, free: 32.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-05/23.95, allocations: 53.95 kB / 5.859 GB, free: 32.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/23.95, allocations: 0 / 5.859 GB, free: 32.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02339/23.98, allocations: 6.294 MB / 5.865 GB, free: 32.37 MB / 0.9167 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.05839/24.04, allocations: 17.09 MB / 5.881 GB, free: 29.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/24.04, allocations: 0 / 5.881 GB, free: 29.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01216/24.05, allocations: 1.162 MB / 5.883 GB, free: 29.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005776/24.05, allocations: 96.3 kB / 5.883 GB, free: 29.81 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001205/24.05, allocations: 153.6 kB / 5.883 GB, free: 29.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008597/24.05, allocations: 0.6393 MB / 5.883 GB, free: 29.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/24.05, allocations: 0 / 5.883 GB, free: 29.17 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03962/24.09, allocations: 11.51 MB / 5.895 GB, free: 24.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008129/24.1, allocations: 1.865 MB / 5.896 GB, free: 23.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00371/24.1, allocations: 110.2 kB / 5.897 GB, free: 23.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0134/24.12, allocations: 0.5981 MB / 5.897 GB, free: 23.17 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001594/24.12, allocations: 310.3 kB / 5.897 GB, free: 23.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008411/24.12, allocations: 181.4 kB / 5.898 GB, free: 23.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01527/24.13, allocations: 5.588 MB / 5.903 GB, free: 21.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.71e-07/24.13, allocations: 0 / 5.903 GB, free: 21.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02745/24.16, allocations: 5.232 MB / 5.908 GB, free: 19.9 MB / 0.9167 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.04738/24.21, allocations: 14.53 MB / 5.922 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04383/24.25, allocations: 12.62 MB / 5.935 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/24.25, allocations: 6.438 kB / 5.935 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01408/24.27, allocations: 3.412 MB / 5.938 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03503/24.3, allocations: 4.061 MB / 5.942 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8697/25.17, allocations: 61.88 MB / 6.002 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01514/25.19, allocations: 6.15 MB / 6.008 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03162/25.22, allocations: 4.121 MB / 6.012 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01352/25.23, allocations: 4.132 MB / 6.016 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.282e-06/25.23, allocations: 0.8438 kB / 6.016 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6074/25.84, allocations: 247.1 MB / 6.258 GB, free: 52.14 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/25.84, allocations: 263.8 kB / 6.258 GB, free: 51.79 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/41.92, allocations: 0 / 6.258 GB, free: 51.79 MB / 0.9636 GB