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: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01211/0.01211, allocations: 220.3 kB / 15.17 MB, free: 5.992 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.001176/0.001176, allocations: 180.3 kB / 16.06 MB, free: 5.871 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.927/3.927, allocations: 389.1 MB / 405.9 MB, free: 13.32 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 4.124/4.124, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004878, allocations: 11.94 kB / 1.008 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6395, allocations: 98.72 MB / 1.104 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.09519/0.7347, allocations: 52.19 MB / 1.155 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03564/0.7704, allocations: 16.08 MB / 1.171 GB, free: 6.227 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.7733, allocations: 55.62 kB / 1.171 GB, free: 6.172 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004177/0.7775, allocations: 0.8155 MB / 1.172 GB, free: 5.352 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.00977/0.7873, allocations: 2.331 MB / 1.174 GB, free: 3.008 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01227/0.7996, allocations: 2.717 MB / 1.177 GB, free: 300 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.008701/0.8083, allocations: 4.381 MB / 1.181 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.8111, allocations: 1.014 MB / 1.182 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.815, allocations: 1.182 MB / 1.183 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.8177, allocations: 0.9838 MB / 1.184 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0004678/0.8182, allocations: 56 kB / 1.184 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.8223, allocations: 1.029 MB / 1.185 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0008913/0.8232, allocations: 318.6 kB / 1.185 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008159/0.824, allocations: 364.9 kB / 1.186 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.8289, allocations: 2.272 MB / 1.188 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.829, allocations: 4 kB / 1.188 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.735e-06/0.829, allocations: 0 / 1.188 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.296e-05/0.8291, allocations: 0 / 1.188 GB, free: 4.641 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.00575/0.8348, allocations: 1.823 MB / 1.19 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.8349, allocations: 8.031 kB / 1.19 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004333/0.8354, allocations: 135 kB / 1.19 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.8385, allocations: 401.7 kB / 1.19 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/0.8437, allocations: 1.515 MB / 1.192 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001238/0.845, allocations: 205.8 kB / 1.192 GB, free: 456 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.8453, allocations: 91.95 kB / 1.192 GB, free: 364 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/0.8492, allocations: 1.103 MB / 1.193 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.8493, allocations: 0 / 1.193 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.8495, allocations: 36 kB / 1.193 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.8495, allocations: 20 kB / 1.193 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004401/0.8539, allocations: 0.9408 MB / 1.194 GB, free: 14.21 MB / 0.6042 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.01123/0.8652, allocations: 5.084 MB / 1.199 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/0.8691, allocations: 0.7249 MB / 1.2 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.8709, allocations: 368.6 kB / 1.2 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003849/0.8748, allocations: 1.79 MB / 1.202 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002035/0.8769, allocations: 476.7 kB / 1.202 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007262/0.8777, allocations: 75.41 kB / 1.202 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 3.787e-06/0.8777, allocations: 0 / 1.202 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.005741/0.8834, allocations: 1.118 MB / 1.203 GB, free: 4.078 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.8836, allocations: 85.11 kB / 1.203 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.8865, allocations: 1.289 MB / 1.205 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.8868, allocations: 41.7 kB / 1.205 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009369/0.8877, allocations: 0.6686 MB / 1.205 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.888, allocations: 138 kB / 1.206 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.888, allocations: 12 kB / 1.206 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.8882, allocations: 334 kB / 1.206 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.8901, allocations: 361 kB / 1.206 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.8923, allocations: 0.6117 MB / 1.207 GB, free: 404 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.8942, allocations: 438.3 kB / 1.207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.8943, allocations: 0 / 1.207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004884/0.8992, allocations: 1.1 MB / 1.208 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003199/0.8995, allocations: 318.3 kB / 1.209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.8996, allocations: 11.94 kB / 1.209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/0.8996, allocations: 12 kB / 1.209 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.9013, allocations: 203.7 kB / 1.209 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.78e-05/0.9014, allocations: 15.98 kB / 1.209 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.9036, allocations: 112.5 kB / 1.209 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.9038, allocations: 39.98 kB / 1.209 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.9039, allocations: 7.984 kB / 1.209 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003642/0.9075, allocations: 0.9153 MB / 1.21 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.9076, allocations: 8 kB / 1.21 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.9076, allocations: 15.95 kB / 1.21 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.9089, allocations: 183.8 kB / 1.21 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.909, allocations: 12 kB / 1.21 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.9107, allocations: 112.5 kB / 1.21 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.9108, allocations: 39.92 kB / 1.21 GB, free: 12.76 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,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.001054/0.9119, allocations: 494.5 kB / 1.211 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.9122, allocations: 134.4 kB / 1.211 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/0.9165, allocations: 1.015 MB / 1.212 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.9166, allocations: 11.98 kB / 1.212 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9166, allocations: 0 / 1.212 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.9166, allocations: 0 / 1.212 GB, free: 11.09 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 postOpt removeSimpleEquations (simulation): time 0.006597/0.9232, allocations: 2.114 MB / 1.214 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9233, allocations: 0 / 1.214 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.9244, allocations: 139.9 kB / 1.214 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.9244, allocations: 0 / 1.214 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.9245, allocations: 23.92 kB / 1.214 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.9245, allocations: 0 / 1.214 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9245, allocations: 4 kB / 1.214 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.9286, allocations: 1.035 MB / 1.215 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007398/0.9294, allocations: 307.2 kB / 1.215 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/0.9297, allocations: 12 kB / 1.215 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/0.9314, allocations: 115.9 kB / 1.216 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.9315, allocations: 35.95 kB / 1.216 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/0.9316, allocations: 27.97 kB / 1.216 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001935/0.9336, allocations: 0.8793 MB / 1.216 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9336, allocations: 4 kB / 1.216 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002676/0.9363, allocations: 0.6743 MB / 1.217 GB, free: 5.605 MB / 0.6198 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.0055/0.9418, allocations: 1.892 MB / 1.219 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005809/0.9477, allocations: 1.478 MB / 1.22 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.9477, allocations: 4.125 kB / 1.22 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.9496, allocations: 492.8 kB / 1.221 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/0.9546, allocations: 0.6262 MB / 1.221 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/0.9858, allocations: 8.356 MB / 1.23 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.987, allocations: 1.225 MB / 1.231 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002151/0.9892, allocations: 294 kB / 1.231 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.9904, allocations: 0.5266 MB / 1.232 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/0.9904, allocations: 0 / 1.232 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.101, allocations: 38.62 MB / 1.269 GB, free: 184 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003345/1.101, allocations: 271.1 kB / 1.27 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.784/4.885, allocations: 0 / 1.27 GB, free: 15.82 MB / 0.6823 GB