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.FlatPlateWithTank.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.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004226/0.004226, allocations: 233.8 kB / 15.8 MB, free: 6.316 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.001179/0.001179, allocations: 179.4 kB / 16.68 MB, free: 5.473 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.851/3.851, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.819/3.819, allocations: 472.3 MB / 0.9024 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000694/0.0006941, allocations: 12 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1744, allocations: 98.72 MB / 1.105 GB, free: 80.58 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.6817/0.8562, allocations: 94.85 MB / 1.197 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2658/1.122, allocations: 167.7 MB / 1.361 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006884/1.129, allocations: 135.1 kB / 1.361 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008214/1.137, allocations: 1.556 MB / 1.363 GB, free: 15.89 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:96:13-96:26:writable] Warning: 'each' used when modifying non-array element T. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:97:13-97:86:writable] Warning: 'each' used when modifying non-array element T. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:99:13-99:92:writable] Warning: 'each' used when modifying non-array element der_T. [/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.02165/1.159, allocations: 4.839 MB / 1.367 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.02096/1.18, allocations: 4.463 MB / 1.372 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.04649/1.226, allocations: 29.82 MB / 1.401 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02096/1.247, allocations: 9.637 MB / 1.41 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01822/1.266, allocations: 6.896 MB / 1.417 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01703/1.283, allocations: 7.012 MB / 1.424 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.003272/1.286, allocations: 428 kB / 1.424 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01293/1.299, allocations: 2.554 MB / 1.427 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.005435/1.305, allocations: 2.05 MB / 1.429 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.005925/1.311, allocations: 2.246 MB / 1.431 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.02771/1.338, allocations: 15.3 MB / 1.446 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.338, allocations: 0 / 1.446 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.206e-06/1.338, allocations: 0 / 1.446 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0005824/1.339, allocations: 0 / 1.446 GB, free: 10.39 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.03677/1.376, allocations: 10.26 MB / 1.456 GB, free: 16 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.376, allocations: 8.031 kB / 1.456 GB, free: 8 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02193/1.398, allocations: 2.381 MB / 1.458 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03196/1.43, allocations: 10 MB / 1.468 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001455/1.431, allocations: 0.6864 MB / 1.469 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/1.435, allocations: 0.8201 MB / 1.469 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07802/1.513, allocations: 11.88 MB / 1.481 GB, free: 5.781 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005194/1.513, allocations: 23.72 kB / 1.481 GB, free: 5.758 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01164/1.525, allocations: 352 kB / 1.481 GB, free: 5.414 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007601/1.526, allocations: 345.3 kB / 1.482 GB, free: 5.078 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06647/1.592, allocations: 11.18 MB / 1.493 GB, free: 9.883 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 1.17/2.763, allocations: 46.9 MB / 1.538 GB, free: 267.9 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02572/2.788, allocations: 8.017 MB / 1.546 GB, free: 264.7 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01357/2.802, allocations: 4.196 MB / 1.55 GB, free: 262.6 MB / 0.8387 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 evalFunc (simulation): time 0.05621/2.858, allocations: 18.3 MB / 1.568 GB, free: 249.1 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01248/2.871, allocations: 3.638 MB / 1.572 GB, free: 247 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006085/2.877, allocations: 0.6898 MB / 1.572 GB, free: 246.7 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=506): time 1.692e-05/2.877, allocations: 0 / 1.572 GB, free: 246.7 MB / 0.8387 GB Notification: Performance of matching and sorting (n=506): time 0.03571/2.913, allocations: 9.609 MB / 1.582 GB, free: 241.9 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/2.913, allocations: 317.1 kB / 1.582 GB, free: 241.6 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/2.928, allocations: 7.227 MB / 1.589 GB, free: 237.4 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.001551/2.929, allocations: 129.7 kB / 1.589 GB, free: 237.3 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004977/2.934, allocations: 4.379 MB / 1.594 GB, free: 232.9 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002765/2.937, allocations: 1.75 MB / 1.595 GB, free: 231.1 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007714/2.938, allocations: 135.9 kB / 1.595 GB, free: 231 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0003965/2.938, allocations: 0.568 MB / 1.596 GB, free: 230.4 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0117/2.95, allocations: 3.48 MB / 1.599 GB, free: 227 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01337/2.964, allocations: 5.198 MB / 1.604 GB, free: 221.1 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/2.977, allocations: 4.378 MB / 1.609 GB, free: 216.8 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-05/2.977, allocations: 12.81 kB / 1.609 GB, free: 216.8 MB / 0.8387 GB Notification: Performance of matching and sorting (n=836) (initialization): time 0.03221/3.01, allocations: 9.821 MB / 1.618 GB, free: 206.9 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008739/3.011, allocations: 1.552 MB / 1.62 GB, free: 204.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.148e-05/3.011, allocations: 48 kB / 1.62 GB, free: 204.8 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/3.011, allocations: 88 kB / 1.62 GB, free: 204.7 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01399/3.025, allocations: 1.661 MB / 1.622 GB, free: 203 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001572/3.025, allocations: 107.7 kB / 1.622 GB, free: 202.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/3.038, allocations: 0.7115 MB / 1.622 GB, free: 202.2 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/3.04, allocations: 311.9 kB / 1.623 GB, free: 201.9 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/3.04, allocations: 4 kB / 1.623 GB, free: 201.9 MB / 0.8387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02876/3.069, allocations: 9.113 MB / 1.632 GB, free: 192.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/3.069, allocations: 49.88 kB / 1.632 GB, free: 192.8 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.778e-05/3.069, allocations: 84 kB / 1.632 GB, free: 192.7 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01374/3.083, allocations: 1.648 MB / 1.633 GB, free: 191 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001768/3.083, allocations: 107.6 kB / 1.633 GB, free: 190.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01286/3.096, allocations: 0.6741 MB / 1.634 GB, free: 190.3 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001898/3.098, allocations: 321.5 kB / 1.634 GB, free: 190 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (833): * Single equations (assignments): 828 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00874/3.107, allocations: 3.232 MB / 1.638 GB, free: 186.7 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002728/3.11, allocations: 0.7524 MB / 1.638 GB, free: 186 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03021/3.14, allocations: 8.099 MB / 1.646 GB, free: 177.9 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02308/3.163, allocations: 6.437 MB / 1.653 GB, free: 171.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/3.163, allocations: 0 / 1.653 GB, free: 171.4 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006531/3.17, allocations: 1.779 MB / 1.654 GB, free: 169.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002857/3.172, allocations: 104 kB / 1.654 GB, free: 169.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01204/3.184, allocations: 0.6017 MB / 1.655 GB, free: 168.9 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/3.186, allocations: 303.7 kB / 1.655 GB, free: 168.6 MB / 0.8387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03308/3.219, allocations: 7.668 MB / 1.663 GB, free: 160.9 MB / 0.8387 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03948/3.258, allocations: 12.12 MB / 1.675 GB, free: 148.7 MB / 0.8387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01071/3.269, allocations: 3.48 MB / 1.678 GB, free: 145.2 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.01127/3.281, allocations: 4.962 MB / 1.683 GB, free: 140.2 MB / 0.8387 GB Notification: Performance of Backend: time 1.253e-06/3.281, allocations: 0 / 1.683 GB, free: 140.2 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.04051/3.321, allocations: 11.58 MB / 1.694 GB, free: 129 MB / 0.8387 GB Notification: Performance of SimCode: time 0.06718/3.388, allocations: 24.56 MB / 1.718 GB, free: 104.4 MB / 0.8387 GB Notification: Performance of Templates: time 1.126/4.514, allocations: 190.6 MB / 1.904 GB, free: 225.7 MB / 0.8387 GB