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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.507/4.507, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.01e-05, allocations: 4 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7137/0.7137, allocations: 98.72 MB / 0.6289 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.368/9.081, allocations: 2.521 GB / 3.15 GB, free: 155 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/9.082, allocations: 98.58 kB / 3.15 GB, free: 155 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 13.71/22.8, allocations: 2.426 GB / 5.576 GB, free: 72.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.256e-06/22.8, allocations: 1.469 kB / 5.576 GB, free: 72.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.002414/22.8, allocations: 262.1 kB / 5.576 GB, free: 72.06 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.04253/22.84, allocations: 8.918 MB / 5.585 GB, free: 68.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/22.84, allocations: 11.48 kB / 5.585 GB, free: 68.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02159/22.86, allocations: 2.191 MB / 5.587 GB, free: 67.97 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04482/22.91, allocations: 11.64 MB / 5.599 GB, free: 66.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005816/22.91, allocations: 252.5 kB / 5.599 GB, free: 66.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004018/22.91, allocations: 482.4 kB / 5.599 GB, free: 66.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02932/22.94, allocations: 9.17 MB / 5.608 GB, free: 66.71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03531/22.98, allocations: 9.515 MB / 5.618 GB, free: 65.66 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004632/22.98, allocations: 28.25 kB / 5.618 GB, free: 65.66 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002934/22.98, allocations: 11.33 kB / 5.618 GB, free: 65.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003899/22.98, allocations: 338.4 kB / 5.618 GB, free: 65.64 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.1115/23.09, allocations: 43.86 MB / 5.661 GB, free: 48.67 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01826/23.11, allocations: 7.161 MB / 5.668 GB, free: 48.46 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009041/23.12, allocations: 3.579 MB / 5.671 GB, free: 48.41 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.0601/23.18, allocations: 17.89 MB / 5.689 GB, free: 43.92 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009233/23.19, allocations: 3.084 MB / 5.692 GB, free: 43.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007863/23.2, allocations: 0.6244 MB / 5.692 GB, free: 43.57 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=505): time 4.751e-05/23.2, allocations: 0 / 5.692 GB, free: 43.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=505): time 0.1427/23.34, allocations: 10.94 MB / 5.703 GB, free: 43.05 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/23.34, allocations: 335.8 kB / 5.703 GB, free: 42.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01691/23.36, allocations: 6.28 MB / 5.709 GB, free: 42.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001759/23.36, allocations: 32.45 kB / 5.71 GB, free: 42.22 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.006562/23.37, allocations: 4.277 MB / 5.714 GB, free: 40.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003328/23.37, allocations: 1.681 MB / 5.715 GB, free: 39.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/23.37, allocations: 3.562 kB / 5.715 GB, free: 39.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0005867/23.37, allocations: 0.5639 MB / 5.716 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008452/23.38, allocations: 2.989 MB / 5.719 GB, free: 39.17 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/23.39, allocations: 4.673 MB / 5.723 GB, free: 37.28 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3956/23.78, allocations: 16.42 MB / 5.739 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.676e-05/23.79, allocations: 17.42 kB / 5.739 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.3875/24.17, allocations: 21.05 MB / 5.76 GB, free: 35.04 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.009141/24.18, allocations: 23.22 MB / 5.783 GB, free: 26.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003338/24.18, allocations: 47.06 kB / 5.783 GB, free: 26.74 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007895/24.18, allocations: 156.5 kB / 5.783 GB, free: 26.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01612/24.2, allocations: 1.699 MB / 5.785 GB, free: 26.72 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/24.2, allocations: 0.7255 MB / 5.785 GB, free: 26.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01541/24.22, allocations: 0.5673 MB / 5.786 GB, free: 26.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002474/24.22, allocations: 317.4 kB / 5.786 GB, free: 26.12 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/24.22, allocations: 4.125 kB / 5.786 GB, free: 26.12 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3687/24.59, allocations: 20.25 MB / 5.806 GB, free: 25.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002258/24.59, allocations: 48.72 kB / 5.806 GB, free: 25.06 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004316/24.59, allocations: 159.3 kB / 5.806 GB, free: 25.05 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01529/24.6, allocations: 1.692 MB / 5.808 GB, free: 25.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/24.6, allocations: 0.7297 MB / 5.808 GB, free: 24.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/24.62, allocations: 0.5514 MB / 5.809 GB, free: 24.44 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/24.62, allocations: 313.4 kB / 5.809 GB, free: 24.44 MB / 0.9011 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.003974/24.63, allocations: 279.5 kB / 5.81 GB, free: 24.3 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1437/24.77, allocations: 10.9 MB / 5.82 GB, free: 23.49 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003781/24.77, allocations: 0.7132 MB / 5.821 GB, free: 23.11 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.151/24.92, allocations: 11.96 MB / 5.833 GB, free: 22.37 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.159e-05/24.92, allocations: 56.3 kB / 5.833 GB, free: 22.37 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/24.92, allocations: 0 / 5.833 GB, free: 22.37 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1411/25.07, allocations: 10.47 MB / 5.843 GB, free: 19 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.1884/25.25, allocations: 20.16 MB / 5.863 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.613e-05/25.25, allocations: 3.562 kB / 5.863 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01906/25.27, allocations: 1.163 MB / 5.864 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006538/25.27, allocations: 80.02 kB / 5.864 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002157/25.28, allocations: 96.17 kB / 5.864 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/25.28, allocations: 0.63 MB / 5.864 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/25.28, allocations: 3.375 kB / 5.864 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1891/25.47, allocations: 15.99 MB / 5.88 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008769/25.48, allocations: 1.808 MB / 5.882 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003722/25.48, allocations: 27.45 kB / 5.882 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01327/25.49, allocations: 494.7 kB / 5.882 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00177/25.49, allocations: 305.9 kB / 5.883 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001406/25.5, allocations: 183.5 kB / 5.883 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01546/25.51, allocations: 4.766 MB / 5.887 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.32e-07/25.51, allocations: 0 / 5.887 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03474/25.55, allocations: 5.032 MB / 5.892 GB, free: 4.484 MB / 0.9167 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.1781/25.72, allocations: 18.5 MB / 5.91 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.8635/26.59, allocations: 12.3 MB / 5.922 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-05/26.59, allocations: 4.312 kB / 5.922 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01407/26.6, allocations: 3.034 MB / 5.925 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0394/26.64, allocations: 3.528 MB / 5.929 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08365/26.72, allocations: 19.09 MB / 5.947 GB, free: 109 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01734/26.74, allocations: 6.152 MB / 5.953 GB, free: 108 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.03988/26.78, allocations: 5.588 MB / 5.959 GB, free: 108 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01266/26.8, allocations: 3.975 MB / 5.963 GB, free: 108 MB / 0.9323 GB Notification: Performance of SimCode: time 1.673e-06/26.8, allocations: 0 / 5.963 GB, free: 108 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5577/27.35, allocations: 221 MB / 6.179 GB, free: 47.41 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/27.35, allocations: 187.5 kB / 6.179 GB, free: 47.22 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/44.19, allocations: 0 / 6.179 GB, free: 47.22 MB / 0.9323 GB