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.006139/0.006139, allocations: 233.7 kB / 15.8 MB, free: 6.32 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.001875/0.001875, allocations: 180.3 kB / 16.69 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.495/3.495, allocations: 389.1 MB / 406.5 MB, free: 6.895 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.609/4.609, allocations: 472.3 MB / 0.9023 GB, free: 183.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006983/0.0006987, allocations: 16 kB / 1.008 GB, free: 81.17 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.708/0.7088, allocations: 98.7 MB / 1.105 GB, free: 34.8 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.0803/0.7891, allocations: 52.19 MB / 1.156 GB, free: 14.22 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03791/0.8271, allocations: 16.09 MB / 1.171 GB, free: 3.051 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.8306, allocations: 56.16 kB / 1.171 GB, free: 3.027 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004638/0.8353, allocations: 0.8034 MB / 1.172 GB, free: 2.629 MB / 0.573 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.01134/0.8467, allocations: 2.333 MB / 1.174 GB, free: 1.34 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01357/0.8603, allocations: 2.715 MB / 1.177 GB, free: 184 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.009311/0.8696, allocations: 4.389 MB / 1.181 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.8725, allocations: 1.012 MB / 1.182 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00427/0.8768, allocations: 1.19 MB / 1.183 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.8799, allocations: 0.9801 MB / 1.184 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.00049/0.8804, allocations: 54.66 kB / 1.184 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/0.8849, allocations: 1.029 MB / 1.185 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0009986/0.886, allocations: 325.4 kB / 1.186 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009536/0.8869, allocations: 354.7 kB / 1.186 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005248/0.8922, allocations: 2.278 MB / 1.188 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.8923, allocations: 0 / 1.188 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8923, allocations: 1 kB / 1.188 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001007/0.8924, allocations: 0 / 1.188 GB, free: 9.195 MB / 0.5886 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.00611/0.8985, allocations: 1.832 MB / 1.19 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.8986, allocations: 9.625 kB / 1.19 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.9019, allocations: 393.3 kB / 1.191 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005283/0.9073, allocations: 1.516 MB / 1.192 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/0.9086, allocations: 203.8 kB / 1.192 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.9089, allocations: 92.3 kB / 1.192 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00401/0.913, allocations: 1.106 MB / 1.193 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.913, allocations: 5.5 kB / 1.193 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.9132, allocations: 32 kB / 1.193 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.9133, allocations: 20 kB / 1.193 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004854/0.9181, allocations: 0.9447 MB / 1.194 GB, free: 4.398 MB / 0.5886 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.01325/0.9314, allocations: 5.068 MB / 1.199 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.9354, allocations: 0.7337 MB / 1.2 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.9373, allocations: 360.6 kB / 1.2 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004221/0.9415, allocations: 1.793 MB / 1.202 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002142/0.9437, allocations: 473.3 kB / 1.203 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008232/0.9446, allocations: 71.41 kB / 1.203 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 6.151e-06/0.9446, allocations: 0 / 1.203 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.005918/0.9506, allocations: 1.125 MB / 1.204 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.9507, allocations: 85.11 kB / 1.204 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.9537, allocations: 1.289 MB / 1.205 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.9539, allocations: 41.69 kB / 1.205 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009307/0.9549, allocations: 0.6608 MB / 1.206 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.9551, allocations: 146 kB / 1.206 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.9552, allocations: 12 kB / 1.206 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.9554, allocations: 331.5 kB / 1.206 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.9573, allocations: 357.1 kB / 1.207 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.9596, allocations: 0.6156 MB / 1.207 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.9617, allocations: 434.1 kB / 1.208 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.9617, allocations: 4 kB / 1.208 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004955/0.9667, allocations: 1.101 MB / 1.209 GB, free: 5.059 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003182/0.967, allocations: 318 kB / 1.209 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.9671, allocations: 8 kB / 1.209 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.9671, allocations: 12 kB / 1.209 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.9687, allocations: 195.7 kB / 1.209 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.83e-05/0.9688, allocations: 17.33 kB / 1.209 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.9708, allocations: 124.5 kB / 1.209 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.9711, allocations: 45.47 kB / 1.209 GB, free: 4.258 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9711, allocations: 6.031 kB / 1.209 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003845/0.9749, allocations: 0.9109 MB / 1.21 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.975, allocations: 8.625 kB / 1.21 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.975, allocations: 9.312 kB / 1.21 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.9764, allocations: 191.7 kB / 1.21 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.9764, allocations: 11.94 kB / 1.21 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.9784, allocations: 114.3 kB / 1.211 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.9785, allocations: 31.98 kB / 1.211 GB, free: 2.98 MB / 0.6042 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.00116/0.9797, allocations: 0.4902 MB / 1.211 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.9801, allocations: 138.3 kB / 1.211 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/0.9848, allocations: 1.01 MB / 1.212 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.9849, allocations: 8 kB / 1.212 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.9849, allocations: 0 / 1.212 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.986, allocations: 307.2 kB / 1.212 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.9863, allocations: 8 kB / 1.213 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/0.988, allocations: 116.4 kB / 1.213 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.9881, allocations: 31.95 kB / 1.213 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00477/0.9929, allocations: 1.034 MB / 1.214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004366/0.9973, allocations: 1.105 MB / 1.215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00183/0.9992, allocations: 412.1 kB / 1.215 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002359/1.002, allocations: 0.8833 MB / 1.216 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of Backend: time 1.793e-06/1.002, allocations: 0 / 1.216 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007526/1.009, allocations: 1.638 MB / 1.218 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of SimCode: time 0.01017/1.019, allocations: 3.486 MB / 1.221 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of Templates: time 0.08794/1.107, allocations: 29.67 MB / 1.25 GB, free: 11.02 MB / 0.6511 GB