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.Tubular.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.Tubular,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.351/4.351, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.363e-05, allocations: 4.312 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2383, allocations: 98.75 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.139/8.378, allocations: 2.468 GB / 3.097 GB, free: 171.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/8.378, allocations: 98.44 kB / 3.097 GB, free: 171.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.116/13.49, allocations: 0.8904 GB / 3.987 GB, free: 142.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.645e-06/13.49, allocations: 0 / 3.987 GB, free: 142.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0009423/13.5, allocations: 129.8 kB / 3.987 GB, free: 142.1 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 964 * Number of variables: 964 Notification: Performance of Generate backend data structure: time 0.01811/13.51, allocations: 4.284 MB / 3.991 GB, free: 140.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/13.51, allocations: 14.22 kB / 3.991 GB, free: 140.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/13.53, allocations: 1.354 MB / 3.993 GB, free: 140.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02138/13.55, allocations: 5.286 MB / 3.998 GB, free: 139.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/13.55, allocations: 119.3 kB / 3.998 GB, free: 139.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/13.55, allocations: 221.3 kB / 3.998 GB, free: 139.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01444/13.57, allocations: 4.431 MB / 4.003 GB, free: 139.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/13.58, allocations: 4.453 MB / 4.007 GB, free: 139 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/13.58, allocations: 13.41 kB / 4.007 GB, free: 139 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001586/13.59, allocations: 6.906 kB / 4.007 GB, free: 139 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002444/13.59, allocations: 177.4 kB / 4.007 GB, free: 139 MB / 0.823 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.05138/13.64, allocations: 18.85 MB / 4.026 GB, free: 132.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008502/13.65, allocations: 3.178 MB / 4.029 GB, free: 132.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004416/13.65, allocations: 1.618 MB / 4.03 GB, free: 132.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002942/13.65, allocations: 1.867 MB / 4.032 GB, free: 130.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005349/13.66, allocations: 1.747 MB / 4.034 GB, free: 130.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=265): time 7.594e-06/13.66, allocations: 1.688 kB / 4.034 GB, free: 130.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=265): time 0.1324/13.79, allocations: 7.768 MB / 4.041 GB, free: 130 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/13.79, allocations: 264.8 kB / 4.042 GB, free: 129.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008019/13.8, allocations: 2.926 MB / 4.044 GB, free: 129.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000915/13.8, allocations: 29.52 kB / 4.045 GB, free: 129.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003103/13.8, allocations: 1.951 MB / 4.046 GB, free: 128.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001893/13.81, allocations: 0.8598 MB / 4.047 GB, free: 128.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00054/13.81, allocations: 3.969 kB / 4.047 GB, free: 128.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003319/13.81, allocations: 424.2 kB / 4.048 GB, free: 127.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/13.81, allocations: 1.324 MB / 4.049 GB, free: 127.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004707/13.82, allocations: 1.983 MB / 4.051 GB, free: 127.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3411/14.16, allocations: 13.59 MB / 4.064 GB, free: 126.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.163e-05/14.16, allocations: 6.312 kB / 4.064 GB, free: 126.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.3509/14.51, allocations: 15.74 MB / 4.08 GB, free: 123.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001701/14.51, allocations: 7.298 MB / 4.087 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-05/14.51, allocations: 18.81 kB / 4.087 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/14.51, allocations: 107 kB / 4.087 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008455/14.52, allocations: 0.8368 MB / 4.088 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/14.52, allocations: 2.095 MB / 4.09 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008229/14.53, allocations: 447.5 kB / 4.09 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/14.53, allocations: 143.5 kB / 4.09 GB, free: 114 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/14.53, allocations: 8.906 kB / 4.09 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3487/14.88, allocations: 15.37 MB / 4.105 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.481e-05/14.88, allocations: 19.94 kB / 4.105 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009745/14.88, allocations: 120.7 kB / 4.105 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008187/14.89, allocations: 0.813 MB / 4.106 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/14.89, allocations: 1.509 MB / 4.108 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007895/14.9, allocations: 401 kB / 4.108 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/14.9, allocations: 148.4 kB / 4.108 GB, free: 105.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (372): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001948/14.9, allocations: 177.5 kB / 4.108 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1327/15.04, allocations: 7.767 MB / 4.116 GB, free: 97.44 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002181/15.04, allocations: 355.2 kB / 4.116 GB, free: 97.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1361/15.17, allocations: 8.48 MB / 4.125 GB, free: 88.59 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-05/15.17, allocations: 27.98 kB / 4.125 GB, free: 88.56 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/15.17, allocations: 4 kB / 4.125 GB, free: 88.55 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1299/15.3, allocations: 7.711 MB / 4.132 GB, free: 80.76 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1476/15.45, allocations: 12.6 MB / 4.144 GB, free: 68.12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/15.45, allocations: 3.984 kB / 4.144 GB, free: 68.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007292/15.46, allocations: 0.642 MB / 4.145 GB, free: 67.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009244/15.46, allocations: 96.59 kB / 4.145 GB, free: 67.41 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009234/15.46, allocations: 55.92 kB / 4.145 GB, free: 67.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/15.46, allocations: 2.088 MB / 4.147 GB, free: 65.14 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/15.46, allocations: 7.922 kB / 4.147 GB, free: 65.13 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1387/15.6, allocations: 9.951 MB / 4.157 GB, free: 55.09 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004403/15.61, allocations: 1.023 MB / 4.158 GB, free: 54.04 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002212/15.61, allocations: 11.98 kB / 4.158 GB, free: 54.03 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007601/15.62, allocations: 303.3 kB / 4.158 GB, free: 53.73 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/15.62, allocations: 170 kB / 4.158 GB, free: 53.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000962/15.62, allocations: 103.9 kB / 4.158 GB, free: 53.46 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006331/15.63, allocations: 2.259 MB / 4.161 GB, free: 51.21 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.11e-07/15.63, allocations: 0 / 4.161 GB, free: 51.21 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0137/15.64, allocations: 2.334 MB / 4.163 GB, free: 48.88 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (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) * 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 (280): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.144/15.78, allocations: 12.12 MB / 4.175 GB, free: 37 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01746/15.8, allocations: 5.677 MB / 4.18 GB, free: 31.37 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/15.8, allocations: 5.312 kB / 4.18 GB, free: 31.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005246/15.81, allocations: 1.69 MB / 4.182 GB, free: 29.71 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.015/15.82, allocations: 1.694 MB / 4.184 GB, free: 28.09 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03248/15.85, allocations: 8.703 MB / 4.192 GB, free: 19.42 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005829/15.86, allocations: 3.102 MB / 4.195 GB, free: 16.29 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01961/15.88, allocations: 2.669 MB / 4.198 GB, free: 13.72 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0057/15.89, allocations: 1.772 MB / 4.2 GB, free: 11.95 MB / 0.823 GB Notification: Performance of SimCode: time 1.473e-06/15.89, allocations: 0 / 4.2 GB, free: 11.95 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.043/16.93, allocations: 112.6 MB / 4.31 GB, free: 140.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/16.93, allocations: 173.9 kB / 4.31 GB, free: 140.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/25.31, allocations: 0 / 4.31 GB, free: 140.5 MB / 0.8386 GB