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.HeatingSubstation.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.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006378/0.006384, allocations: 238 kB / 15.8 MB, free: 6.312 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.001918/0.001918, allocations: 179.9 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.991/3.991, allocations: 389.1 MB / 406.5 MB, free: 11.85 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 4.428/4.428, allocations: 472.3 MB / 0.9024 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006484/0.0006487, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1716, allocations: 98.73 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.08796/0.2596, allocations: 52.18 MB / 1.156 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6575/0.9172, allocations: 16.08 MB / 1.171 GB, free: 42.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/0.9201, allocations: 57.44 kB / 1.171 GB, free: 42.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004133/0.9243, allocations: 0.809 MB / 1.172 GB, free: 42.64 MB / 0.6198 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.009992/0.9343, allocations: 2.33 MB / 1.174 GB, free: 42.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.9471, allocations: 2.715 MB / 1.177 GB, free: 42.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008847/0.956, allocations: 4.384 MB / 1.181 GB, free: 42.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.9587, allocations: 1.016 MB / 1.182 GB, free: 41.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.9625, allocations: 1.189 MB / 1.183 GB, free: 41.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.9652, allocations: 0.9799 MB / 1.184 GB, free: 41.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003988/0.9656, allocations: 53.72 kB / 1.184 GB, free: 41.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.9698, allocations: 1.029 MB / 1.185 GB, free: 41.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000824/0.9707, allocations: 316.8 kB / 1.186 GB, free: 41.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008229/0.9715, allocations: 364.2 kB / 1.186 GB, free: 41.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.9761, allocations: 2.271 MB / 1.188 GB, free: 41.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.9761, allocations: 2.75 kB / 1.188 GB, free: 41.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.375e-06/0.9761, allocations: 5.484 kB / 1.188 GB, free: 41.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.17e-05/0.9762, allocations: 0 / 1.188 GB, free: 41.03 MB / 0.6198 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.005344/0.9816, allocations: 1.824 MB / 1.19 GB, free: 39.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.9816, allocations: 12.61 kB / 1.19 GB, free: 39.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/0.9846, allocations: 398.1 kB / 1.191 GB, free: 39.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004606/0.9893, allocations: 1.517 MB / 1.192 GB, free: 39.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/0.9905, allocations: 203.9 kB / 1.192 GB, free: 39.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.9907, allocations: 84.78 kB / 1.192 GB, free: 39.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.9943, allocations: 1.1 MB / 1.193 GB, free: 39.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.9943, allocations: 9.734 kB / 1.193 GB, free: 39.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.9945, allocations: 37.27 kB / 1.193 GB, free: 39.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.9945, allocations: 22.16 kB / 1.193 GB, free: 39.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.9985, allocations: 0.9387 MB / 1.194 GB, free: 39.33 MB / 0.6198 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.01006/1.009, allocations: 5.08 MB / 1.199 GB, free: 36.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/1.012, allocations: 0.7203 MB / 1.2 GB, free: 36.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/1.014, allocations: 367.1 kB / 1.2 GB, free: 36.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003362/1.017, allocations: 1.796 MB / 1.202 GB, free: 35.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/1.019, allocations: 480.7 kB / 1.203 GB, free: 35.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006475/1.02, allocations: 71.19 kB / 1.203 GB, free: 35.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 3.887e-06/1.02, allocations: 0 / 1.203 GB, free: 35.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.005028/1.025, allocations: 1.119 MB / 1.204 GB, free: 35.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.025, allocations: 86.52 kB / 1.204 GB, free: 35.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/1.027, allocations: 1.293 MB / 1.205 GB, free: 35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/1.027, allocations: 33.27 kB / 1.205 GB, free: 34.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006527/1.028, allocations: 0.6641 MB / 1.206 GB, free: 34.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/1.028, allocations: 135.2 kB / 1.206 GB, free: 34.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/1.028, allocations: 11.06 kB / 1.206 GB, free: 34.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.202e-05/1.028, allocations: 338.9 kB / 1.206 GB, free: 34.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/1.03, allocations: 356.7 kB / 1.207 GB, free: 33.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/1.032, allocations: 0.6179 MB / 1.207 GB, free: 33.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/1.034, allocations: 439.5 kB / 1.208 GB, free: 33.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.034, allocations: 0 / 1.208 GB, free: 33.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004243/1.038, allocations: 1.102 MB / 1.209 GB, free: 32.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/1.038, allocations: 323.8 kB / 1.209 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.038, allocations: 6.922 kB / 1.209 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/1.038, allocations: 12.66 kB / 1.209 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.04, allocations: 201.8 kB / 1.209 GB, free: 32.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/1.04, allocations: 13.69 kB / 1.209 GB, free: 32.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.042, allocations: 117.1 kB / 1.209 GB, free: 32.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.042, allocations: 45.25 kB / 1.209 GB, free: 32.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.042, allocations: 6.156 kB / 1.209 GB, free: 32.55 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003343/1.045, allocations: 0.9144 MB / 1.21 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.045, allocations: 6.312 kB / 1.21 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.045, allocations: 9.625 kB / 1.21 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.047, allocations: 181.3 kB / 1.21 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/1.047, allocations: 18.72 kB / 1.21 GB, free: 32.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.049, allocations: 110.5 kB / 1.211 GB, free: 32.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.049, allocations: 35.89 kB / 1.211 GB, free: 32.21 MB / 0.6198 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.001062/1.05, allocations: 0.4915 MB / 1.211 GB, free: 31.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/1.05, allocations: 137.8 kB / 1.211 GB, free: 31.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004445/1.055, allocations: 1.009 MB / 1.212 GB, free: 31.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.055, allocations: 1.969 kB / 1.212 GB, free: 31.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.055, allocations: 0.5625 kB / 1.212 GB, free: 31.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009323/1.056, allocations: 307.9 kB / 1.212 GB, free: 31.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/1.056, allocations: 16.14 kB / 1.213 GB, free: 31.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/1.058, allocations: 114.8 kB / 1.213 GB, free: 31.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.058, allocations: 32.66 kB / 1.213 GB, free: 31.18 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004333/1.062, allocations: 1.037 MB / 1.214 GB, free: 30.76 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00407/1.066, allocations: 1.097 MB / 1.215 GB, free: 30.25 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001713/1.068, allocations: 418.5 kB / 1.215 GB, free: 30.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002058/1.07, allocations: 0.8861 MB / 1.216 GB, free: 29.75 MB / 0.6198 GB Notification: Performance of Backend: time 4.71e-07/1.07, allocations: 0 / 1.216 GB, free: 29.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00685/1.077, allocations: 1.634 MB / 1.218 GB, free: 29.18 MB / 0.6198 GB Notification: Performance of SimCode: time 0.009271/1.086, allocations: 3.481 MB / 1.221 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.09964/1.186, allocations: 29.69 MB / 1.25 GB, free: 13.45 MB / 0.6198 GB