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.FlatPlateTotalArea.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.FlatPlateTotalArea,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.623/4.623, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.767e-05, allocations: 4.156 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2439, allocations: 98.73 MB / 0.6289 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.183/8.427, allocations: 2.468 GB / 3.097 GB, free: 170.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/8.428, allocations: 90.62 kB / 3.097 GB, free: 170.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 15.54/23.97, allocations: 2.729 GB / 5.826 GB, free: 36.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/23.97, allocations: 0 / 5.826 GB, free: 36.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.003515/23.97, allocations: 379.1 kB / 5.826 GB, free: 36.55 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: 2941 * Number of variables: 2941 Notification: Performance of Generate backend data structure: time 0.05614/24.03, allocations: 12.05 MB / 5.838 GB, free: 24.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/24.03, allocations: 8.031 kB / 5.838 GB, free: 24.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0327/24.06, allocations: 3.126 MB / 5.841 GB, free: 21.38 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07689/24.14, allocations: 17.87 MB / 5.859 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007663/24.14, allocations: 355.2 kB / 5.859 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005303/24.15, allocations: 0.6483 MB / 5.859 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.8286/24.98, allocations: 12.9 MB / 5.872 GB, free: 93.79 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05572/25.03, allocations: 14.08 MB / 5.886 GB, free: 92.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009325/25.03, allocations: 42.62 kB / 5.886 GB, free: 92.18 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005077/25.04, allocations: 22.53 kB / 5.886 GB, free: 92.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008747/25.04, allocations: 0.5576 MB / 5.886 GB, free: 92.16 MB / 0.8698 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.1958/25.23, allocations: 61.21 MB / 5.946 GB, free: 70.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02879/25.26, allocations: 9.313 MB / 5.955 GB, free: 69.94 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01205/25.27, allocations: 4.915 MB / 5.96 GB, free: 69.87 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003819/25.28, allocations: 2.225 MB / 5.962 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01339/25.29, allocations: 4.806 MB / 5.967 GB, free: 67.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=699): time 1.399e-05/25.29, allocations: 3.469 kB / 5.967 GB, free: 67.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=699): time 0.2774/25.57, allocations: 17.96 MB / 5.985 GB, free: 66.67 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/25.57, allocations: 335.2 kB / 5.985 GB, free: 66.35 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02639/25.6, allocations: 9.44 MB / 5.994 GB, free: 65.76 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.002131/25.6, allocations: 37.28 kB / 5.994 GB, free: 65.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.009809/25.61, allocations: 6.147 MB / 6 GB, free: 63.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004994/25.61, allocations: 2.342 MB / 6.002 GB, free: 62.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/25.61, allocations: 0 / 6.002 GB, free: 62.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0007731/25.62, allocations: 0.65 MB / 6.003 GB, free: 62.06 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01071/25.63, allocations: 4.017 MB / 6.007 GB, free: 62.04 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01362/25.64, allocations: 6.229 MB / 6.013 GB, free: 59.53 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7177/26.36, allocations: 29.1 MB / 6.041 GB, free: 58.26 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/26.36, allocations: 18.12 kB / 6.041 GB, free: 58.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.785/27.14, allocations: 35.2 MB / 6.076 GB, free: 55.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.01231/27.16, allocations: 35.38 MB / 6.11 GB, free: 34.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003652/27.16, allocations: 65.06 kB / 6.11 GB, free: 34.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/27.16, allocations: 195.4 kB / 6.111 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02324/27.18, allocations: 2.37 MB / 6.113 GB, free: 34.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/27.18, allocations: 1.606 MB / 6.115 GB, free: 33.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02421/27.21, allocations: 1.331 MB / 6.116 GB, free: 32.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003439/27.21, allocations: 428 kB / 6.116 GB, free: 32.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/27.21, allocations: 7.656 kB / 6.116 GB, free: 32.84 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7168/27.93, allocations: 34.18 MB / 6.15 GB, free: 20.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002612/27.93, allocations: 64 kB / 6.15 GB, free: 20.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/27.93, allocations: 197.7 kB / 6.15 GB, free: 20.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02277/27.95, allocations: 2.365 MB / 6.152 GB, free: 18.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/27.96, allocations: 1.612 MB / 6.154 GB, free: 17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02215/27.98, allocations: 1.154 MB / 6.155 GB, free: 16.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003141/27.98, allocations: 435.5 kB / 6.155 GB, free: 15.74 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1097): * Single equations (assignments): 1094 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.005225/27.99, allocations: 324.5 kB / 6.156 GB, free: 31.54 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2788/28.26, allocations: 17.96 MB / 6.173 GB, free: 17.75 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005586/28.27, allocations: 0.9956 MB / 6.174 GB, free: 16.74 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2843/28.55, allocations: 19.4 MB / 6.193 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/28.56, allocations: 72 kB / 6.193 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/28.56, allocations: 7.953 kB / 6.193 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039/29.59, allocations: 18.44 MB / 6.211 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3448/29.94, allocations: 32.51 MB / 6.243 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.522e-05/29.94, allocations: 10.03 kB / 6.243 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01935/29.96, allocations: 1.71 MB / 6.245 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/29.96, allocations: 119.3 kB / 6.245 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002264/29.96, allocations: 161.7 kB / 6.245 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/29.96, allocations: 1.527 MB / 6.246 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-05/29.96, allocations: 15.41 kB / 6.246 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2907/30.26, allocations: 26.6 MB / 6.272 GB, free: 110.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01233/30.27, allocations: 2.809 MB / 6.275 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006036/30.27, allocations: 45.14 kB / 6.275 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02/30.29, allocations: 0.7088 MB / 6.276 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002449/30.3, allocations: 445.5 kB / 6.276 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002288/30.3, allocations: 280.2 kB / 6.276 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.02157/30.32, allocations: 7.218 MB / 6.284 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.012e-06/30.32, allocations: 2.562 kB / 6.284 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.03928/30.36, allocations: 6.838 MB / 6.29 GB, free: 108.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.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 (717): * Single equations (assignments): 707 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.3342/30.69, allocations: 30.29 MB / 6.32 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04326/30.74, allocations: 15.75 MB / 6.335 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.108e-05/30.74, allocations: 10.12 kB / 6.335 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01275/30.75, allocations: 4.416 MB / 6.34 GB, free: 101 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05094/30.8, allocations: 5.785 MB / 6.345 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1025/30.9, allocations: 28.21 MB / 6.373 GB, free: 94.45 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02042/30.92, allocations: 8.624 MB / 6.381 GB, free: 93.34 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.06333/30.99, allocations: 9.856 MB / 6.391 GB, free: 91.82 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01785/31.01, allocations: 5.621 MB / 6.396 GB, free: 91.82 MB / 0.9011 GB Notification: Performance of SimCode: time 1.653e-06/31.01, allocations: 4 kB / 6.396 GB, free: 91.81 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.476/32.48, allocations: 315.7 MB / 6.705 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/32.48, allocations: 203.7 kB / 6.705 GB, free: 119.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.67/54.16, allocations: 0 / 6.705 GB, free: 119.7 MB / 0.9167 GB