Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01064/0.01064, allocations: 222.9 kB / 15.17 MB, free: 5.926 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.001093/0.001093, allocations: 176 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.841/3.841, allocations: 389.1 MB / 405.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.97/3.97, allocations: 472.3 MB / 0.9018 GB, free: 144 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004893, allocations: 12 kB / 1.008 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5468/0.5473, allocations: 98.71 MB / 1.104 GB, free: 206.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.05815/0.6055, allocations: 52.19 MB / 1.155 GB, free: 167.2 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02362/0.6292, allocations: 16.09 MB / 1.171 GB, free: 151.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003702/0.633, allocations: 55.62 kB / 1.171 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.6362, allocations: 0.8146 MB / 1.172 GB, free: 150.4 MB / 0.7136 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.007925/0.6441, allocations: 2.331 MB / 1.174 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008914/0.6531, allocations: 2.717 MB / 1.176 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005609/0.6587, allocations: 4.386 MB / 1.181 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.6606, allocations: 1.01 MB / 1.182 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.6633, allocations: 1.192 MB / 1.183 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.665, allocations: 0.977 MB / 1.184 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.6653, allocations: 56 kB / 1.184 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.6681, allocations: 1.029 MB / 1.185 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005376/0.6687, allocations: 318.6 kB / 1.185 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.6693, allocations: 360.9 kB / 1.186 GB, free: 136.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003654/0.6729, allocations: 2.276 MB / 1.188 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.673, allocations: 2.344 kB / 1.188 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.376e-06/0.673, allocations: 0 / 1.188 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.948e-05/0.673, allocations: 4 kB / 1.188 GB, free: 133.9 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.00341/0.6765, allocations: 1.822 MB / 1.19 GB, free: 132 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.6765, allocations: 11.84 kB / 1.19 GB, free: 132 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.6785, allocations: 393.1 kB / 1.19 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.6819, allocations: 1.524 MB / 1.191 GB, free: 130 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006815/0.6826, allocations: 195.8 kB / 1.192 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.6829, allocations: 89 kB / 1.192 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.6855, allocations: 1.111 MB / 1.193 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.6856, allocations: 3.938 kB / 1.193 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.6857, allocations: 32.5 kB / 1.193 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.6857, allocations: 21 kB / 1.193 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.6887, allocations: 0.9418 MB / 1.194 GB, free: 127.7 MB / 0.7136 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.00771/0.6964, allocations: 5.076 MB / 1.199 GB, free: 122.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.6989, allocations: 0.7272 MB / 1.199 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.7, allocations: 359.8 kB / 1.2 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002777/0.7028, allocations: 1.795 MB / 1.202 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.7042, allocations: 482.8 kB / 1.202 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005114/0.7047, allocations: 70 kB / 1.202 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=42): time 3.727e-06/0.7047, allocations: 0 / 1.202 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42): time 0.00362/0.7083, allocations: 1.124 MB / 1.203 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.7084, allocations: 85.09 kB / 1.203 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.7104, allocations: 1.293 MB / 1.205 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.7106, allocations: 33.7 kB / 1.205 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/0.7112, allocations: 0.6754 MB / 1.205 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.7113, allocations: 138 kB / 1.205 GB, free: 115.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.7114, allocations: 12 kB / 1.205 GB, free: 115.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.7115, allocations: 330 kB / 1.206 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.7127, allocations: 354.8 kB / 1.206 GB, free: 114.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.714, allocations: 0.6168 MB / 1.207 GB, free: 114 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.7153, allocations: 440.9 kB / 1.207 GB, free: 113.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.65e-06/0.7153, allocations: 0 / 1.207 GB, free: 113.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003081/0.7184, allocations: 1.094 MB / 1.208 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.7186, allocations: 330.8 kB / 1.208 GB, free: 112.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.7186, allocations: 13.45 kB / 1.208 GB, free: 112.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.7187, allocations: 12 kB / 1.208 GB, free: 112.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009961/0.7197, allocations: 195.7 kB / 1.209 GB, free: 111.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.7197, allocations: 12 kB / 1.209 GB, free: 111.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.7211, allocations: 124.4 kB / 1.209 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.7212, allocations: 35.98 kB / 1.209 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.7212, allocations: 4 kB / 1.209 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002412/0.7237, allocations: 0.9189 MB / 1.21 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.7237, allocations: 8 kB / 1.21 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.7237, allocations: 8 kB / 1.21 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/0.7245, allocations: 188 kB / 1.21 GB, free: 110.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.7246, allocations: 15.98 kB / 1.21 GB, free: 110.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.7258, allocations: 108.6 kB / 1.21 GB, free: 110.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-05/0.7259, allocations: 42.84 kB / 1.21 GB, free: 110.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0008038/0.7267, allocations: 491 kB / 1.211 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.727, allocations: 138.3 kB / 1.211 GB, free: 109.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.7298, allocations: 1.018 MB / 1.212 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.7299, allocations: 4 kB / 1.212 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.862e-06/0.7299, allocations: 0 / 1.212 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.662e-06/0.7299, allocations: 7.453 kB / 1.212 GB, free: 108.8 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.004928/0.7349, allocations: 2.119 MB / 1.214 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.34e-06/0.7349, allocations: 0 / 1.214 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.7356, allocations: 131.9 kB / 1.214 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.134e-06/0.7356, allocations: 4 kB / 1.214 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.7357, allocations: 15.98 kB / 1.214 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.294e-06/0.7357, allocations: 0 / 1.214 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.383e-06/0.7357, allocations: 4 kB / 1.214 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.7385, allocations: 1.043 MB / 1.215 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006805/0.7392, allocations: 311.1 kB / 1.215 GB, free: 105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.7395, allocations: 8 kB / 1.215 GB, free: 105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.7407, allocations: 118.9 kB / 1.215 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.7408, allocations: 31.95 kB / 1.215 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/0.7409, allocations: 27.98 kB / 1.215 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001447/0.7424, allocations: 0.8871 MB / 1.216 GB, free: 104 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.84e-07/0.7424, allocations: 0 / 1.216 GB, free: 104 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002266/0.7447, allocations: 0.6627 MB / 1.217 GB, free: 103.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0009984/0.7457, allocations: 432.5 kB / 1.217 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003902/0.7496, allocations: 1.471 MB / 1.219 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.552e-06/0.7497, allocations: 4 kB / 1.219 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.751, allocations: 489.5 kB / 1.219 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/0.7542, allocations: 0.6167 MB / 1.22 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.7593, allocations: 2.732 MB / 1.222 GB, free: 97.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/0.7601, allocations: 1.226 MB / 1.224 GB, free: 96.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001685/0.7618, allocations: 294.9 kB / 1.224 GB, free: 96.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.7622, allocations: 107.4 kB / 1.224 GB, free: 95.96 MB / 0.7136 GB Notification: Performance of SimCode: time 1.572e-06/0.7622, allocations: 0 / 1.224 GB, free: 95.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.05406/0.8163, allocations: 25.66 MB / 1.249 GB, free: 71.32 MB / 0.7136 GB