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.FlatPlate.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadModel(Buildings): time 3.95/3.95, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.679e-05, allocations: 3.375 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1751, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.623/5.798, allocations: 2.223 GB / 2.858 GB, free: 139.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/5.798, allocations: 94.62 kB / 2.858 GB, free: 139.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.176/12.97, allocations: 1.403 GB / 4.261 GB, free: 126.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.015e-06/12.97, allocations: 1.062 kB / 4.261 GB, free: 126.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0008791/12.97, allocations: 132.5 kB / 4.261 GB, free: 126.4 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 973 * Number of variables: 973 Notification: Performance of Generate backend data structure: time 0.02068/13, allocations: 5.458 MB / 4.266 GB, free: 124.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/13, allocations: 8.812 kB / 4.266 GB, free: 124.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01688/13.01, allocations: 1.684 MB / 4.268 GB, free: 124.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01972/13.03, allocations: 5.149 MB / 4.273 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004895/13.03, allocations: 283.2 kB / 4.273 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/13.03, allocations: 379.3 kB / 4.273 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/13.05, allocations: 5.159 MB / 4.278 GB, free: 123.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002028/13.05, allocations: 8.625 kB / 4.278 GB, free: 123.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/13.06, allocations: 160.7 kB / 4.279 GB, free: 123.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/13.06, allocations: 161.1 kB / 4.279 GB, free: 123.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/13.07, allocations: 4.82 MB / 4.283 GB, free: 123.2 MB / 0.8386 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.0457/13.12, allocations: 18.88 MB / 4.302 GB, free: 117.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008572/13.13, allocations: 3.473 MB / 4.305 GB, free: 117.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004271/13.13, allocations: 1.714 MB / 4.307 GB, free: 117.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002652/13.13, allocations: 2.542 MB / 4.309 GB, free: 115 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005579/13.14, allocations: 1.961 MB / 4.311 GB, free: 114.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=282): time 8.288e-06/13.14, allocations: 6.25 kB / 4.311 GB, free: 114.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282): time 0.01423/13.15, allocations: 3.822 MB / 4.315 GB, free: 114.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/13.15, allocations: 265.7 kB / 4.315 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007694/13.16, allocations: 3.272 MB / 4.319 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000888/13.16, allocations: 79.55 kB / 4.319 GB, free: 113.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00254/13.16, allocations: 1.916 MB / 4.321 GB, free: 113.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/13.17, allocations: 0.9618 MB / 4.321 GB, free: 112.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005177/13.17, allocations: 62.5 kB / 4.321 GB, free: 112.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002947/13.17, allocations: 426.2 kB / 4.322 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003839/13.17, allocations: 1.436 MB / 4.323 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004572/13.17, allocations: 2.068 MB / 4.325 GB, free: 111.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004604/13.18, allocations: 1.823 MB / 4.327 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-05/13.18, allocations: 3.688 kB / 4.327 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01341/13.19, allocations: 4.241 MB / 4.331 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001314/13.19, allocations: 6.571 MB / 4.338 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.471e-05/13.19, allocations: 13.56 kB / 4.338 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007897/13.19, allocations: 108.7 kB / 4.338 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00586/13.2, allocations: 0.8116 MB / 4.339 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/13.2, allocations: 2.16 MB / 4.341 GB, free: 102.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00735/13.21, allocations: 0.5382 MB / 4.341 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/13.21, allocations: 162.4 kB / 4.341 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/13.21, allocations: 7.875 kB / 4.341 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/13.22, allocations: 3.915 MB / 4.345 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/13.22, allocations: 18.48 kB / 4.345 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/13.22, allocations: 117.2 kB / 4.345 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005638/13.23, allocations: 0.7941 MB / 4.346 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/13.23, allocations: 1.564 MB / 4.348 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00653/13.24, allocations: 0.4969 MB / 4.348 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/13.24, allocations: 160.4 kB / 4.348 GB, free: 100.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (380): * Single equations (assignments): 376 * 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.001229/13.24, allocations: 287.4 kB / 4.349 GB, free: 100.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/13.24, allocations: 383.2 kB / 4.349 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/13.26, allocations: 4.846 MB / 4.354 GB, free: 99.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-05/13.26, allocations: 25.91 kB / 4.354 GB, free: 99.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/13.26, allocations: 6.828 kB / 4.354 GB, free: 99.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01121/13.27, allocations: 3.677 MB / 4.357 GB, free: 99.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02455/13.29, allocations: 9.228 MB / 4.366 GB, free: 98.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/13.29, allocations: 0 / 4.366 GB, free: 98.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004962/13.3, allocations: 0.6212 MB / 4.367 GB, free: 98.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004392/13.3, allocations: 0.6565 MB / 4.368 GB, free: 98.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007888/13.3, allocations: 97.31 kB / 4.368 GB, free: 98.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005625/13.31, allocations: 7.514 MB / 4.375 GB, free: 91.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.69e-06/13.31, allocations: 0 / 4.375 GB, free: 91.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/13.33, allocations: 6.135 MB / 4.381 GB, free: 91.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003937/13.33, allocations: 1.146 MB / 4.382 GB, free: 91.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/13.33, allocations: 57.12 kB / 4.382 GB, free: 91.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006172/13.34, allocations: 332 kB / 4.382 GB, free: 91.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007917/13.34, allocations: 184 kB / 4.383 GB, free: 91.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005654/13.34, allocations: 137.6 kB / 4.383 GB, free: 91.01 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.006086/13.35, allocations: 2.578 MB / 4.385 GB, free: 90.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.017e-06/13.35, allocations: 1.562 kB / 4.385 GB, free: 90.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0141/13.36, allocations: 2.865 MB / 4.388 GB, free: 90.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (264): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005408/13.37, allocations: 1.832 MB / 4.39 GB, free: 90 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02062/13.39, allocations: 6.104 MB / 4.396 GB, free: 88.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/13.39, allocations: 2.641 kB / 4.396 GB, free: 88.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.008877/13.4, allocations: 1.945 MB / 4.398 GB, free: 87.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01939/13.42, allocations: 1.873 MB / 4.4 GB, free: 87.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03289/13.45, allocations: 7.986 MB / 4.407 GB, free: 84.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007328/13.46, allocations: 3.123 MB / 4.41 GB, free: 83.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0303/13.49, allocations: 3.58 MB / 4.414 GB, free: 83.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003393/13.49, allocations: 342.5 kB / 4.414 GB, free: 83.33 MB / 0.8386 GB Notification: Performance of SimCode: time 3.216e-06/13.49, allocations: 3.938 kB / 4.414 GB, free: 83.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.2061/13.7, allocations: 100.1 MB / 4.512 GB, free: 41.14 MB / 0.8386 GB