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.FlatPlate.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009131/0.009131, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001135/0.001135, allocations: 179.3 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.817/1.817, allocations: 194.5 MB / 211.2 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.166/2.166, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004808, allocations: 16 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5553, allocations: 98.7 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.923/6.479, allocations: 2.213 GB / 2.896 GB, free: 189.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/6.479, allocations: 95.39 kB / 2.896 GB, free: 189.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.553/13.03, allocations: 1.407 GB / 4.303 GB, free: 58.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.529e-06/13.03, allocations: 0 / 4.303 GB, free: 58.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0007159/13.03, allocations: 135.8 kB / 4.303 GB, free: 58.23 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.01992/13.05, allocations: 6.279 MB / 4.309 GB, free: 51.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/13.05, allocations: 12.03 kB / 4.309 GB, free: 51.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/13.07, allocations: 1.668 MB / 4.311 GB, free: 50.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/13.08, allocations: 5.19 MB / 4.316 GB, free: 44.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/13.08, allocations: 283.4 kB / 4.316 GB, free: 44.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/13.09, allocations: 375.9 kB / 4.316 GB, free: 44.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/13.1, allocations: 5.497 MB / 4.322 GB, free: 38.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/13.1, allocations: 3.938 kB / 4.322 GB, free: 38.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/13.1, allocations: 160 kB / 4.322 GB, free: 38.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/13.1, allocations: 155.2 kB / 4.322 GB, free: 38.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01697/13.12, allocations: 5.458 MB / 4.327 GB, free: 32.83 MB / 0.8386 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04072/13.16, allocations: 18.92 MB / 4.346 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/13.17, allocations: 3.918 MB / 4.35 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002492/13.18, allocations: 2.541 MB / 4.352 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006828/13.18, allocations: 2.194 MB / 4.354 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=282): time 8.058e-06/13.18, allocations: 0 / 4.354 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282): time 0.5833/13.77, allocations: 6.952 MB / 4.361 GB, free: 120.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/13.77, allocations: 268.7 kB / 4.361 GB, free: 120.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00823/13.77, allocations: 3.307 MB / 4.364 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0008198/13.78, allocations: 84.92 kB / 4.365 GB, free: 119.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002536/13.78, allocations: 1.917 MB / 4.366 GB, free: 119.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/13.78, allocations: 0.9571 MB / 4.367 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/13.78, allocations: 57 kB / 4.367 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003041/13.78, allocations: 429.3 kB / 4.368 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006183/13.79, allocations: 1.665 MB / 4.369 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007046/13.79, allocations: 2.296 MB / 4.372 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006356/13.8, allocations: 2.051 MB / 4.374 GB, free: 118 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.381e-05/13.8, allocations: 3.906 kB / 4.374 GB, free: 118 MB / 0.8386 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01839/13.82, allocations: 4.698 MB / 4.378 GB, free: 117.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001329/13.82, allocations: 6.567 MB / 4.385 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.014e-05/13.82, allocations: 15.34 kB / 4.385 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008235/13.82, allocations: 116 kB / 4.385 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005965/13.83, allocations: 0.8052 MB / 4.386 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/13.83, allocations: 2.165 MB / 4.388 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006608/13.84, allocations: 0.5427 MB / 4.388 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/13.84, allocations: 164 kB / 4.388 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/13.84, allocations: 12.03 kB / 4.388 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01632/13.85, allocations: 4.371 MB / 4.393 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/13.85, allocations: 14.47 kB / 4.393 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006868/13.85, allocations: 112.2 kB / 4.393 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005708/13.86, allocations: 0.8086 MB / 4.394 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/13.86, allocations: 1.566 MB / 4.395 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006196/13.87, allocations: 0.5109 MB / 4.396 GB, free: 107.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/13.87, allocations: 157.8 kB / 4.396 GB, free: 107.2 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 () * Number of clocked 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.004573/13.87, allocations: 1.526 MB / 4.397 GB, free: 107 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/13.88, allocations: 379.3 kB / 4.398 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02185/13.9, allocations: 5.312 MB / 4.403 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-05/13.9, allocations: 28.44 kB / 4.403 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/13.9, allocations: 0 / 4.403 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01523/13.91, allocations: 4.119 MB / 4.407 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/13.94, allocations: 9.681 MB / 4.416 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/13.94, allocations: 3.656 kB / 4.416 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005281/13.95, allocations: 0.617 MB / 4.417 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004545/13.95, allocations: 0.675 MB / 4.418 GB, free: 105.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007421/13.95, allocations: 97.05 kB / 4.418 GB, free: 105.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005821/13.96, allocations: 7.529 MB / 4.425 GB, free: 98.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.436e-06/13.96, allocations: 0 / 4.425 GB, free: 98.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/13.98, allocations: 6.818 MB / 4.432 GB, free: 98.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003795/13.99, allocations: 1.145 MB / 4.433 GB, free: 97.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/13.99, allocations: 61.39 kB / 4.433 GB, free: 97.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006045/13.99, allocations: 338 kB / 4.433 GB, free: 97.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008141/13.99, allocations: 178.2 kB / 4.433 GB, free: 97.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006466/14, allocations: 136.7 kB / 4.433 GB, free: 97.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.006667/14, allocations: 2.624 MB / 4.436 GB, free: 97.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.022e-06/14, allocations: 0 / 4.436 GB, free: 97.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0134/14.02, allocations: 2.859 MB / 4.439 GB, free: 97.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) * Number of clocked states: 0 () * 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.005438/14.02, allocations: 1.864 MB / 4.441 GB, free: 97.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02093/14.04, allocations: 6.679 MB / 4.447 GB, free: 96.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/14.04, allocations: 6.438 kB / 4.447 GB, free: 96.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007484/14.05, allocations: 2.17 MB / 4.449 GB, free: 96.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01085/14.06, allocations: 1.865 MB / 4.451 GB, free: 96.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/14.09, allocations: 11.32 MB / 4.462 GB, free: 92.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004963/14.09, allocations: 3.122 MB / 4.465 GB, free: 91.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01375/14.1, allocations: 2.384 MB / 4.468 GB, free: 91.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002698/14.11, allocations: 433.8 kB / 4.468 GB, free: 91.57 MB / 0.8386 GB Notification: Performance of SimCode: time 1.731e-06/14.11, allocations: 2.656 kB / 4.468 GB, free: 91.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.2005/14.31, allocations: 92.36 MB / 4.558 GB, free: 85.34 MB / 0.8386 GB