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: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006104/0.006104, allocations: 236 kB / 15.81 MB, free: 6.285 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.001673/0.001674, allocations: 178.8 kB / 16.69 MB, free: 5.449 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.975/3.975, allocations: 389.1 MB / 406.5 MB, free: 11.84 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 3.983/3.983, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006941/0.0006945, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1795, allocations: 98.72 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.688/0.8675, allocations: 57.25 MB / 1.161 GB, free: 35.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03655/0.9041, allocations: 17.8 MB / 1.178 GB, free: 35.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003712/0.9078, allocations: 82.41 kB / 1.178 GB, free: 35.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004944/0.9128, allocations: 0.9129 MB / 1.179 GB, free: 35.37 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. Notification: Performance of NFTyping.typeBindings: time 0.0123/0.9252, allocations: 2.702 MB / 1.182 GB, free: 35.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01355/0.9388, allocations: 2.921 MB / 1.184 GB, free: 34.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.9495, allocations: 5.737 MB / 1.19 GB, free: 34.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004224/0.9538, allocations: 1.312 MB / 1.191 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005898/0.9598, allocations: 1.649 MB / 1.193 GB, free: 33.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003904/0.9637, allocations: 1.351 MB / 1.194 GB, free: 33.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0007059/0.9645, allocations: 76.25 kB / 1.194 GB, free: 33.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005883/0.9704, allocations: 1.407 MB / 1.196 GB, free: 33.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.9717, allocations: 419.4 kB / 1.196 GB, free: 33.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.9729, allocations: 450.5 kB / 1.196 GB, free: 32.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005999/0.979, allocations: 2.696 MB / 1.199 GB, free: 32.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.979, allocations: 3.938 kB / 1.199 GB, free: 32.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.216e-06/0.979, allocations: 0 / 1.199 GB, free: 32.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.17e-05/0.9791, allocations: 3.312 kB / 1.199 GB, free: 32.73 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.006907/0.9861, allocations: 2.249 MB / 1.201 GB, free: 31.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.9861, allocations: 9.094 kB / 1.201 GB, free: 31.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00681/0.9929, allocations: 0.7625 MB / 1.202 GB, free: 31.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/0.9979, allocations: 1.758 MB / 1.204 GB, free: 30.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006445/0.9986, allocations: 164.9 kB / 1.204 GB, free: 30.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.999, allocations: 133.1 kB / 1.204 GB, free: 30.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/1.004, allocations: 1.625 MB / 1.206 GB, free: 30.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.803e-05/1.004, allocations: 10.38 kB / 1.206 GB, free: 30.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/1.004, allocations: 49.22 kB / 1.206 GB, free: 30.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/1.004, allocations: 30.44 kB / 1.206 GB, free: 30.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006282/1.011, allocations: 1.491 MB / 1.207 GB, free: 30.47 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.01826/1.029, allocations: 8.506 MB / 1.215 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008955/1.038, allocations: 1.478 MB / 1.217 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002714/1.041, allocations: 0.5872 MB / 1.217 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006746/1.047, allocations: 2.845 MB / 1.22 GB, free: 37.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002792/1.05, allocations: 0.6454 MB / 1.221 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001155/1.051, allocations: 184.2 kB / 1.221 GB, free: 37.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=65): time 4.098e-06/1.051, allocations: 0 / 1.221 GB, free: 37.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65): time 0.008237/1.06, allocations: 1.655 MB / 1.223 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/1.06, allocations: 140 kB / 1.223 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/1.063, allocations: 1.568 MB / 1.224 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002774/1.063, allocations: 46.27 kB / 1.224 GB, free: 35.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/1.064, allocations: 0.8867 MB / 1.225 GB, free: 35.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/1.064, allocations: 237.2 kB / 1.225 GB, free: 35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/1.065, allocations: 22 kB / 1.226 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.065, allocations: 344.1 kB / 1.226 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/1.067, allocations: 0.5535 MB / 1.226 GB, free: 34.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003056/1.071, allocations: 0.9992 MB / 1.227 GB, free: 33.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/1.074, allocations: 0.6488 MB / 1.228 GB, free: 33.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/1.074, allocations: 3.531 kB / 1.228 GB, free: 33.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007327/1.081, allocations: 1.68 MB / 1.23 GB, free: 33.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003943/1.081, allocations: 458.5 kB / 1.23 GB, free: 32.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.033e-05/1.081, allocations: 15 kB / 1.23 GB, free: 32.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-05/1.081, allocations: 23.42 kB / 1.23 GB, free: 32.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.084, allocations: 324.8 kB / 1.23 GB, free: 32.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.834e-05/1.084, allocations: 26.06 kB / 1.23 GB, free: 32.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/1.087, allocations: 187 kB / 1.231 GB, free: 32.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/1.088, allocations: 58.86 kB / 1.231 GB, free: 32.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.088, allocations: 7.219 kB / 1.231 GB, free: 32.39 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006502/1.094, allocations: 1.504 MB / 1.232 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/1.094, allocations: 9.812 kB / 1.232 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/1.094, allocations: 19.22 kB / 1.232 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/1.097, allocations: 324.5 kB / 1.232 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.76e-05/1.097, allocations: 28.28 kB / 1.233 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/1.1, allocations: 199.6 kB / 1.233 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/1.101, allocations: 58.02 kB / 1.233 GB, free: 31.86 MB / 0.6355 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.001351/1.102, allocations: 0.4928 MB / 1.233 GB, free: 31.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/1.102, allocations: 172 kB / 1.233 GB, free: 31.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00666/1.109, allocations: 1.505 MB / 1.235 GB, free: 30.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005644/1.115, allocations: 1.378 MB / 1.236 GB, free: 30.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.115, allocations: 0 / 1.236 GB, free: 30.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.116, allocations: 368 kB / 1.237 GB, free: 29.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003722/1.116, allocations: 16.75 kB / 1.237 GB, free: 29.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.119, allocations: 177 kB / 1.237 GB, free: 29.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.119, allocations: 57.66 kB / 1.237 GB, free: 29.78 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007849/1.127, allocations: 1.459 MB / 1.238 GB, free: 29.05 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009617/1.137, allocations: 2.238 MB / 1.24 GB, free: 27.84 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002773/1.14, allocations: 0.6109 MB / 1.241 GB, free: 27.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002504/1.142, allocations: 1.036 MB / 1.242 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of Backend: time 1.042e-06/1.142, allocations: 0 / 1.242 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.152, allocations: 2.384 MB / 1.244 GB, free: 25.79 MB / 0.6355 GB Notification: Performance of SimCode: time 0.01266/1.165, allocations: 4.718 MB / 1.249 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.1139/1.279, allocations: 40.8 MB / 1.289 GB, free: 2.918 MB / 0.6511 GB