Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",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.01245/0.01246, allocations: 221.4 kB / 15.17 MB, free: 5.922 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.00119/0.00119, allocations: 178.3 kB / 16.06 MB, free: 5.828 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.91/3.91, allocations: 389 MB / 405.9 MB, free: 11.81 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.084/4.084, allocations: 472.3 MB / 0.9018 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004892, allocations: 10.84 kB / 1.008 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1906, allocations: 98.72 MB / 1.104 GB, free: 80.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.06841/0.2591, allocations: 57.27 MB / 1.16 GB, free: 23.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0308/0.2899, allocations: 17.8 MB / 1.177 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.2931, allocations: 82.47 kB / 1.178 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004361/0.2975, allocations: 0.9225 MB / 1.178 GB, free: 4.496 MB / 0.6042 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. Notification: Performance of NFTyping.typeBindings: time 0.01022/0.3078, allocations: 2.7 MB / 1.181 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.6204/0.9281, allocations: 2.906 MB / 1.184 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01106/0.9392, allocations: 5.737 MB / 1.189 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003921/0.9432, allocations: 1.306 MB / 1.191 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005982/0.9492, allocations: 1.647 MB / 1.192 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004044/0.9533, allocations: 1.353 MB / 1.194 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007769/0.9542, allocations: 76.44 kB / 1.194 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005998/0.9602, allocations: 1.412 MB / 1.195 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.9616, allocations: 416.5 kB / 1.196 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.963, allocations: 444.2 kB / 1.196 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006783/0.9698, allocations: 2.705 MB / 1.199 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.9699, allocations: 1.469 kB / 1.199 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9699, allocations: 0 / 1.199 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001119/0.97, allocations: 0 / 1.199 GB, free: 17.43 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.00828/0.9783, allocations: 2.24 MB / 1.201 GB, free: 16.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.9784, allocations: 10.69 kB / 1.201 GB, free: 16.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000795/0.9792, allocations: 177.9 kB / 1.201 GB, free: 16.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007113/0.9863, allocations: 0.7662 MB / 1.202 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00609/0.9925, allocations: 1.756 MB / 1.203 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007342/0.9933, allocations: 164.6 kB / 1.204 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005903/0.9939, allocations: 130.6 kB / 1.204 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006141/1, allocations: 1.633 MB / 1.205 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.312e-05/1, allocations: 6.438 kB / 1.205 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/1, allocations: 47.19 kB / 1.205 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.953e-05/1, allocations: 30.06 kB / 1.205 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00741/1.008, allocations: 1.494 MB / 1.207 GB, free: 15.32 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.02083/1.029, allocations: 8.506 MB / 1.215 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009442/1.038, allocations: 1.475 MB / 1.217 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003061/1.041, allocations: 0.5978 MB / 1.217 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008294/1.05, allocations: 2.842 MB / 1.22 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002991/1.053, allocations: 0.6473 MB / 1.221 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001536/1.054, allocations: 181.1 kB / 1.221 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=65): time 5.821e-06/1.054, allocations: 0 / 1.221 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65): time 0.008945/1.063, allocations: 1.661 MB / 1.222 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.063, allocations: 138.5 kB / 1.223 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004696/1.068, allocations: 1.56 MB / 1.224 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004079/1.069, allocations: 45.61 kB / 1.224 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001671/1.07, allocations: 0.8911 MB / 1.225 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005862/1.071, allocations: 230.6 kB / 1.225 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/1.071, allocations: 19.19 kB / 1.225 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002539/1.071, allocations: 351 kB / 1.226 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/1.076, allocations: 0.5556 MB / 1.226 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/1.08, allocations: 1.008 MB / 1.227 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/1.085, allocations: 0.6459 MB / 1.228 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.902e-05/1.085, allocations: 3.875 kB / 1.228 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00987/1.095, allocations: 1.679 MB / 1.229 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003715/1.095, allocations: 460.9 kB / 1.23 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/1.095, allocations: 14.45 kB / 1.23 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.3e-05/1.095, allocations: 23.47 kB / 1.23 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/1.098, allocations: 322.5 kB / 1.23 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.577e-05/1.098, allocations: 28.27 kB / 1.23 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/1.102, allocations: 193.7 kB / 1.23 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/1.102, allocations: 56.45 kB / 1.23 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.102, allocations: 5.781 kB / 1.23 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006889/1.109, allocations: 1.497 MB / 1.232 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.228e-05/1.109, allocations: 11.72 kB / 1.232 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/1.109, allocations: 21.94 kB / 1.232 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/1.112, allocations: 327.9 kB / 1.232 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.009e-05/1.112, allocations: 28.44 kB / 1.232 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/1.115, allocations: 196.7 kB / 1.232 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/1.116, allocations: 56.56 kB / 1.232 GB, free: 21.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 123 * Array equations: 2 * Algorithm blocks: 1 * 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.001595/1.118, allocations: 0.4885 MB / 1.233 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/1.118, allocations: 177.4 kB / 1.233 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007018/1.125, allocations: 1.497 MB / 1.235 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/1.125, allocations: 9.844 kB / 1.235 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/1.125, allocations: 2.5 kB / 1.235 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005596/1.131, allocations: 1.379 MB / 1.236 GB, free: 20.41 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.01178/1.143, allocations: 3.061 MB / 1.239 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.143, allocations: 1.375 kB / 1.239 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.145, allocations: 226.5 kB / 1.239 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/1.145, allocations: 3.406 kB / 1.239 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/1.145, allocations: 22.3 kB / 1.239 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/1.145, allocations: 9.453 kB / 1.239 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.145, allocations: 0.5625 kB / 1.239 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009513/1.155, allocations: 2.155 MB / 1.241 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.156, allocations: 366.8 kB / 1.242 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/1.157, allocations: 24.34 kB / 1.242 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.16, allocations: 168.9 kB / 1.242 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.16, allocations: 60.98 kB / 1.242 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.16, allocations: 28.5 kB / 1.242 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002561/1.163, allocations: 1.047 MB / 1.243 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.32e-07/1.163, allocations: 0 / 1.243 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005481/1.168, allocations: 0.9668 MB / 1.244 GB, free: 17.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.0118/1.18, allocations: 3.136 MB / 1.247 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01/1.19, allocations: 2.263 MB / 1.249 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.19, allocations: 0.6562 kB / 1.249 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00303/1.193, allocations: 0.6324 MB / 1.25 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006888/1.2, allocations: 0.7909 MB / 1.251 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04735/1.248, allocations: 12.21 MB / 1.262 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/1.249, allocations: 1.396 MB / 1.264 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003806/1.253, allocations: 451.3 kB / 1.264 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.255, allocations: 0.7583 MB / 1.265 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of SimCode: time 2.495e-06/1.255, allocations: 0 / 1.265 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1445/1.4, allocations: 50.89 MB / 1.315 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004565/1.4, allocations: 269.8 kB / 1.315 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.527/5.928, allocations: 0 / 1.315 GB, free: 1.012 MB / 0.6667 GB