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.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01028/0.01028, allocations: 223 kB / 15.17 MB, free: 5.941 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.001071/0.001071, allocations: 181 kB / 16.06 MB, free: 5.832 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 3.24/3.24, allocations: 389.1 MB / 405.9 MB, free: 6.754 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.151/4.151, allocations: 472.3 MB / 0.9017 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004746, allocations: 15.98 kB / 1.008 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1733, allocations: 98.7 MB / 1.104 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.04384/0.2172, allocations: 33.24 MB / 1.136 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.6166/0.8339, allocations: 145.3 MB / 1.278 GB, free: 152.5 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.8361, allocations: 48.28 kB / 1.278 GB, free: 152.4 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.8378, allocations: 492.9 kB / 1.279 GB, free: 152.2 MB / 0.7917 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005815/0.8436, allocations: 1.689 MB / 1.28 GB, free: 151.2 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005711/0.8494, allocations: 1.641 MB / 1.282 GB, free: 150.4 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01282/0.8622, allocations: 13.32 MB / 1.295 GB, free: 144.1 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005985/0.8682, allocations: 4.486 MB / 1.299 GB, free: 141.3 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004849/0.8731, allocations: 3.053 MB / 1.302 GB, free: 138.2 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00441/0.8775, allocations: 3.123 MB / 1.306 GB, free: 135.1 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006417/0.8782, allocations: 180 kB / 1.306 GB, free: 134.9 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003332/0.8816, allocations: 0.9669 MB / 1.307 GB, free: 133.9 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0008969/0.8825, allocations: 0.9101 MB / 1.308 GB, free: 133 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.8837, allocations: 1.042 MB / 1.309 GB, free: 132 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006745/0.8905, allocations: 6.775 MB / 1.315 GB, free: 125.2 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.164e-06/0.8905, allocations: 0 / 1.315 GB, free: 125.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.331e-06/0.8905, allocations: 0 / 1.315 GB, free: 125.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001056/0.8907, allocations: 0 / 1.315 GB, free: 125.2 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01018/0.9008, allocations: 4.957 MB / 1.32 GB, free: 120.1 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.9009, allocations: 15.62 kB / 1.32 GB, free: 120.1 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.9112, allocations: 1.553 MB / 1.322 GB, free: 118.6 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/0.9225, allocations: 5.031 MB / 1.326 GB, free: 113.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.9228, allocations: 295.9 kB / 1.327 GB, free: 113.2 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008418/0.9237, allocations: 407.9 kB / 1.327 GB, free: 112.8 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.9367, allocations: 5.794 MB / 1.333 GB, free: 106.8 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.9369, allocations: 11.94 kB / 1.333 GB, free: 106.8 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005428/0.9374, allocations: 168 kB / 1.333 GB, free: 106.6 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.9376, allocations: 187.6 kB / 1.333 GB, free: 106.5 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.9528, allocations: 5.723 MB / 1.339 GB, free: 100.7 MB / 0.7917 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.03223/0.985, allocations: 19.93 MB / 1.358 GB, free: 80.19 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009081/0.9941, allocations: 3.696 MB / 1.362 GB, free: 76.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00459/0.9988, allocations: 1.956 MB / 1.364 GB, free: 74.54 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002161/1.001, allocations: 1.942 MB / 1.366 GB, free: 72.21 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005087/1.006, allocations: 2.098 MB / 1.368 GB, free: 70.06 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=264): time 7.152e-06/1.006, allocations: 0 / 1.368 GB, free: 70.06 MB / 0.7917 GB Notification: Performance of matching and sorting (n=264): time 0.0153/1.021, allocations: 5.278 MB / 1.373 GB, free: 64.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/1.022, allocations: 210 kB / 1.373 GB, free: 64.45 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005258/1.027, allocations: 3.393 MB / 1.376 GB, free: 61.07 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000539/1.027, allocations: 77.7 kB / 1.376 GB, free: 60.99 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001758/1.029, allocations: 2.01 MB / 1.378 GB, free: 58.96 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/1.03, allocations: 0.9087 MB / 1.379 GB, free: 58.04 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/1.03, allocations: 60 kB / 1.379 GB, free: 57.98 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.031, allocations: 432.2 kB / 1.38 GB, free: 57.55 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/1.035, allocations: 1.645 MB / 1.381 GB, free: 55.91 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005125/1.04, allocations: 2.331 MB / 1.384 GB, free: 53.32 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005156/1.046, allocations: 2.02 MB / 1.386 GB, free: 51.27 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/1.046, allocations: 4 kB / 1.386 GB, free: 51.27 MB / 0.7917 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.0124/1.058, allocations: 4.689 MB / 1.39 GB, free: 46.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002931/1.058, allocations: 0.6637 MB / 1.391 GB, free: 45.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/1.058, allocations: 20 kB / 1.391 GB, free: 45.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006548/1.059, allocations: 112.7 kB / 1.391 GB, free: 45.46 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004449/1.063, allocations: 0.7956 MB / 1.392 GB, free: 44.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/1.066, allocations: 1.56 MB / 1.393 GB, free: 42.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/1.07, allocations: 498.9 kB / 1.394 GB, free: 42.48 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/1.07, allocations: 155.8 kB / 1.394 GB, free: 42.33 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.257e-06/1.07, allocations: 4 kB / 1.394 GB, free: 42.32 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01085/1.081, allocations: 4.363 MB / 1.398 GB, free: 37.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/1.081, allocations: 22 kB / 1.398 GB, free: 37.89 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/1.082, allocations: 116.7 kB / 1.398 GB, free: 37.77 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004298/1.086, allocations: 0.7918 MB / 1.399 GB, free: 36.98 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/1.088, allocations: 1.574 MB / 1.401 GB, free: 35.28 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004179/1.092, allocations: 466.5 kB / 1.401 GB, free: 34.82 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/1.093, allocations: 147.9 kB / 1.401 GB, free: 34.68 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 379 * 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.002825/1.096, allocations: 1.534 MB / 1.403 GB, free: 33.13 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007491/1.096, allocations: 383.3 kB / 1.403 GB, free: 32.75 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.109, allocations: 4.578 MB / 1.407 GB, free: 28.16 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/1.109, allocations: 31.98 kB / 1.408 GB, free: 28.12 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.304e-06/1.109, allocations: 0 / 1.408 GB, free: 28.12 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009412/1.118, allocations: 3.602 MB / 1.411 GB, free: 24.43 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02009/1.138, allocations: 9.105 MB / 1.42 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.138, allocations: 4 kB / 1.42 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004036/1.142, allocations: 0.6516 MB / 1.421 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005719/1.143, allocations: 100.7 kB / 1.421 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/1.143, allocations: 91.92 kB / 1.421 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.145, allocations: 1.569 MB / 1.422 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.983e-06/1.145, allocations: 9.156 kB / 1.422 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/1.162, allocations: 6.227 MB / 1.428 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/1.165, allocations: 0.9639 MB / 1.429 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006736/1.165, allocations: 63.98 kB / 1.429 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003631/1.169, allocations: 325.3 kB / 1.43 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/1.17, allocations: 185.8 kB / 1.43 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003396/1.17, allocations: 127.8 kB / 1.43 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003844/1.174, allocations: 2.37 MB / 1.432 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.84e-07/1.174, allocations: 0 / 1.432 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006025/1.18, allocations: 2.263 MB / 1.434 GB, free: 15.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002741/1.183, allocations: 0.9199 MB / 1.435 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01801/1.201, allocations: 6.598 MB / 1.442 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/1.201, allocations: 4.969 kB / 1.442 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00581/1.206, allocations: 2.006 MB / 1.444 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01064/1.217, allocations: 2.01 MB / 1.446 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/1.241, allocations: 11.47 MB / 1.457 GB, free: 9.199 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004485/1.245, allocations: 3.151 MB / 1.46 GB, free: 6.016 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0105/1.256, allocations: 2.01 MB / 1.462 GB, free: 4.152 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/1.257, allocations: 379.2 kB / 1.462 GB, free: 3.781 MB / 0.823 GB Notification: Performance of SimCode: time 1.514e-06/1.258, allocations: 0 / 1.462 GB, free: 3.781 MB / 0.823 GB Notification: Performance of Templates: time 0.6992/1.957, allocations: 77.22 MB / 1.538 GB, free: 243.3 MB / 0.823 GB