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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.382/4.382, allocations: 432.6 MB / 445.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.611e-05, allocations: 3.906 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2403, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.385/8.625, allocations: 2.522 GB / 3.156 GB, free: 196.8 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005227/8.626, allocations: 93.5 kB / 3.157 GB, free: 196.8 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 13.51/22.14, allocations: 2.438 GB / 5.594 GB, free: 28.81 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.255e-06/22.14, allocations: 0 / 5.594 GB, free: 28.81 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001882/22.14, allocations: 266.1 kB / 5.595 GB, free: 28.56 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.03695/22.18, allocations: 8.921 MB / 5.603 GB, free: 19.54 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/22.18, allocations: 16.03 kB / 5.603 GB, free: 19.52 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005253/22.18, allocations: 1.061 MB / 5.604 GB, free: 18.45 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02157/22.2, allocations: 2.184 MB / 5.606 GB, free: 16.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04501/22.25, allocations: 11.63 MB / 5.618 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008746/22.25, allocations: 0.5935 MB / 5.618 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004227/22.25, allocations: 0.8006 MB / 5.619 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04196/22.3, allocations: 10.65 MB / 5.63 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005895/22.3, allocations: 35.77 kB / 5.63 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003882/22.3, allocations: 339.9 kB / 5.63 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005305/22.3, allocations: 331 kB / 5.63 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03747/22.34, allocations: 9.687 MB / 5.64 GB, free: 13.82 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 preOpt removeSimpleEquations (simulation): time 0.9177/23.26, allocations: 45.14 MB / 5.684 GB, free: 78.63 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02215/23.28, allocations: 7.502 MB / 5.691 GB, free: 78.36 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01072/23.29, allocations: 3.731 MB / 5.695 GB, free: 78.32 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 preOpt evalFunc (simulation): time 0.06329/23.35, allocations: 18.38 MB / 5.713 GB, free: 73.79 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01065/23.36, allocations: 3.248 MB / 5.716 GB, free: 73.68 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008364/23.37, allocations: 0.7663 MB / 5.717 GB, free: 73.54 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=507): time 2.765e-05/23.37, allocations: 0 / 5.717 GB, free: 73.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=507): time 0.02343/23.4, allocations: 6.19 MB / 5.723 GB, free: 73.01 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/23.4, allocations: 339.5 kB / 5.723 GB, free: 72.66 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02605/23.42, allocations: 7.006 MB / 5.73 GB, free: 72.21 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.01209/23.43, allocations: 134.5 kB / 5.73 GB, free: 72.18 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01982/23.45, allocations: 4.327 MB / 5.734 GB, free: 71.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.004294/23.46, allocations: 1.755 MB / 5.736 GB, free: 70.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/23.46, allocations: 127.7 kB / 5.736 GB, free: 70.07 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0007648/23.46, allocations: 0.5608 MB / 5.737 GB, free: 69.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02564/23.49, allocations: 3.112 MB / 5.74 GB, free: 69.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/23.5, allocations: 4.823 MB / 5.744 GB, free: 67.82 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/23.51, allocations: 4.047 MB / 5.748 GB, free: 67.64 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.477e-05/23.51, allocations: 15.25 kB / 5.748 GB, free: 67.64 MB / 0.9011 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.03413/23.55, allocations: 9.14 MB / 5.757 GB, free: 66.98 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.007546/23.55, allocations: 23.69 MB / 5.78 GB, free: 58.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002494/23.55, allocations: 49.12 kB / 5.78 GB, free: 58.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007341/23.55, allocations: 161.5 kB / 5.781 GB, free: 58.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01583/23.57, allocations: 1.699 MB / 5.782 GB, free: 58.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/23.57, allocations: 0.7186 MB / 5.783 GB, free: 57.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01608/23.59, allocations: 0.7002 MB / 5.784 GB, free: 57.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002473/23.59, allocations: 314.2 kB / 5.784 GB, free: 57.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/23.59, allocations: 3.375 kB / 5.784 GB, free: 57.45 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03038/23.62, allocations: 8.472 MB / 5.792 GB, free: 57.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001911/23.62, allocations: 46.5 kB / 5.792 GB, free: 57.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/23.62, allocations: 165.6 kB / 5.792 GB, free: 57.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01564/23.64, allocations: 1.689 MB / 5.794 GB, free: 57.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/23.64, allocations: 0.7177 MB / 5.795 GB, free: 56.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01582/23.65, allocations: 0.6785 MB / 5.795 GB, free: 56.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002739/23.66, allocations: 312.8 kB / 5.796 GB, free: 56.63 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 () * 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.00397/23.66, allocations: 491.2 kB / 5.796 GB, free: 56.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003957/23.66, allocations: 0.7527 MB / 5.797 GB, free: 56.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0296/23.69, allocations: 7.596 MB / 5.804 GB, free: 55.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.339e-05/23.69, allocations: 57.36 kB / 5.804 GB, free: 55.68 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.39e-05/23.69, allocations: 0 / 5.804 GB, free: 55.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01995/23.71, allocations: 5.757 MB / 5.81 GB, free: 55.24 MB / 0.9167 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.05825/23.77, allocations: 16.54 MB / 5.826 GB, free: 54.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/23.77, allocations: 3.953 kB / 5.826 GB, free: 54.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01248/23.78, allocations: 1.164 MB / 5.827 GB, free: 54.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005053/23.79, allocations: 84.42 kB / 5.827 GB, free: 54.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001551/23.79, allocations: 156.8 kB / 5.828 GB, free: 54.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007649/23.79, allocations: 0.6228 MB / 5.828 GB, free: 53.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/23.79, allocations: 1.438 kB / 5.828 GB, free: 53.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03211/23.82, allocations: 10.69 MB / 5.839 GB, free: 52.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00859/23.83, allocations: 1.863 MB / 5.84 GB, free: 52.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003815/23.83, allocations: 114.5 kB / 5.841 GB, free: 52.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01335/23.85, allocations: 0.5939 MB / 5.841 GB, free: 52.24 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001664/23.85, allocations: 303.4 kB / 5.841 GB, free: 52.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009689/23.85, allocations: 184 kB / 5.842 GB, free: 52.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01558/23.86, allocations: 5.517 MB / 5.847 GB, free: 51.94 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.12e-07/23.86, allocations: 0 / 5.847 GB, free: 51.94 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03087/23.89, allocations: 5.259 MB / 5.852 GB, free: 51.23 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) * 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.04011/23.94, allocations: 13.72 MB / 5.865 GB, free: 49.24 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03577/23.97, allocations: 12.05 MB / 5.877 GB, free: 47.88 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/23.97, allocations: 6.219 kB / 5.877 GB, free: 47.88 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01016/23.98, allocations: 3.144 MB / 5.88 GB, free: 46.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03444/24.02, allocations: 4.038 MB / 5.884 GB, free: 46.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06671/24.08, allocations: 19.69 MB / 5.904 GB, free: 38.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01316/24.1, allocations: 6.158 MB / 5.91 GB, free: 36.97 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03869/24.13, allocations: 5.821 MB / 5.915 GB, free: 36.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01214/24.15, allocations: 3.997 MB / 5.919 GB, free: 33.24 MB / 0.9167 GB Notification: Performance of SimCode: time 1.743e-06/24.15, allocations: 0 / 5.919 GB, free: 33.24 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.409/25.56, allocations: 254.5 MB / 6.168 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/25.56, allocations: 238.4 kB / 6.168 GB, free: 99.83 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.59/44.14, allocations: 0 / 6.168 GB, free: 99.83 MB / 0.9323 GB