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.01126/0.01126, allocations: 111.6 kB / 15.06 MB, free: 5.551 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.001264/0.001264, allocations: 180.2 kB / 15.95 MB, free: 5.516 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 2.033/2.033, allocations: 194.5 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.306/2.306, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006996/0.0007, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6801, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.08663/0.7668, allocations: 52.11 MB / 0.7343 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.04046/0.8073, allocations: 16.88 MB / 0.7508 GB, free: 9.273 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004807/0.8122, allocations: 83.38 kB / 0.7509 GB, free: 9.191 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.007655/0.8199, allocations: 0.999 MB / 0.7519 GB, free: 8.188 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01682/0.8368, allocations: 2.555 MB / 0.7544 GB, free: 5.625 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01622/0.853, allocations: 2.853 MB / 0.7571 GB, free: 2.77 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01199/0.8651, allocations: 3.018 MB / 0.7601 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004846/0.87, allocations: 1.318 MB / 0.7614 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007213/0.8773, allocations: 1.537 MB / 0.7629 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003684/0.881, allocations: 0.9682 MB / 0.7638 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0007512/0.8818, allocations: 72 kB / 0.7639 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0058/0.8876, allocations: 1.459 MB / 0.7653 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.8887, allocations: 394.5 kB / 0.7657 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.8898, allocations: 448.6 kB / 0.7661 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006348/0.8962, allocations: 2.677 MB / 0.7687 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8962, allocations: 0 / 0.7687 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8962, allocations: 0 / 0.7687 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.778e-05/0.8963, allocations: 0 / 0.7687 GB, free: 6.84 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.007446/0.9038, allocations: 2.244 MB / 0.7709 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.9039, allocations: 16.03 kB / 0.7709 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005754/0.9044, allocations: 169.4 kB / 0.7711 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006806/0.9113, allocations: 0.77 MB / 0.7719 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.9165, allocations: 1.716 MB / 0.7735 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000713/0.9173, allocations: 166.5 kB / 0.7737 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004607/0.9177, allocations: 132 kB / 0.7738 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006191/0.9239, allocations: 1.614 MB / 0.7754 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.967e-05/0.9241, allocations: 7.938 kB / 0.7754 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/0.9244, allocations: 51.94 kB / 0.7755 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.427e-05/0.9245, allocations: 28 kB / 0.7755 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009538/0.934, allocations: 1.48 MB / 0.7769 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.02748/0.9616, allocations: 8.675 MB / 0.7854 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.9744, allocations: 1.457 MB / 0.7868 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01244/0.9869, allocations: 3.231 MB / 0.79 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004162/0.9911, allocations: 0.6315 MB / 0.7906 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001673/0.9928, allocations: 183.1 kB / 0.7908 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=65): time 5.921e-06/0.9929, allocations: 0 / 0.7908 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65): time 0.01182/1.005, allocations: 1.641 MB / 0.7924 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.005, allocations: 141 kB / 0.7925 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/1.009, allocations: 1.591 MB / 0.7941 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002831/1.009, allocations: 41.7 kB / 0.7941 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/1.01, allocations: 0.8962 MB / 0.795 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004496/1.011, allocations: 232.7 kB / 0.7952 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.011, allocations: 20 kB / 0.7952 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.011, allocations: 349.9 kB / 0.7955 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/1.014, allocations: 0.5452 MB / 0.7961 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/1.017, allocations: 0.9916 MB / 0.797 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/1.021, allocations: 0.6449 MB / 0.7977 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/1.021, allocations: 4 kB / 0.7977 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00758/1.028, allocations: 1.66 MB / 0.7993 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002015/1.03, allocations: 4.661 MB / 0.8039 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-05/1.031, allocations: 16 kB / 0.8039 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-05/1.031, allocations: 16 kB / 0.8039 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/1.033, allocations: 331.5 kB / 0.8042 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-05/1.034, allocations: 23.92 kB / 0.8042 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/1.037, allocations: 200.4 kB / 0.8044 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/1.037, allocations: 63.91 kB / 0.8045 GB, free: 356 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.037, allocations: 4 kB / 0.8045 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007119/1.044, allocations: 1.489 MB / 0.8059 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.006e-05/1.044, allocations: 15.95 kB / 0.8059 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/1.044, allocations: 20 kB / 0.806 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/1.047, allocations: 327.6 kB / 0.8063 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.645e-05/1.047, allocations: 23.92 kB / 0.8063 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/1.051, allocations: 196.3 kB / 0.8065 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003977/1.051, allocations: 59.97 kB / 0.8065 GB, free: 14.22 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.001664/1.053, allocations: 0.4889 MB / 0.807 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006538/1.054, allocations: 169.8 kB / 0.8072 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007849/1.061, allocations: 1.498 MB / 0.8086 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-05/1.061, allocations: 12 kB / 0.8087 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.062, allocations: 4 kB / 0.8087 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006552/1.068, allocations: 1.365 MB / 0.81 GB, free: 10.6 MB / 0.6355 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.01236/1.081, allocations: 3.111 MB / 0.813 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.081, allocations: 4.031 kB / 0.813 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/1.083, allocations: 223.7 kB / 0.8133 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/1.083, allocations: 0 / 0.8133 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/1.083, allocations: 27.97 kB / 0.8133 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/1.083, allocations: 4 kB / 0.8133 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.083, allocations: 0 / 0.8133 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009431/1.093, allocations: 2.15 MB / 0.8154 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.094, allocations: 370.7 kB / 0.8157 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/1.094, allocations: 27.98 kB / 0.8158 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.097, allocations: 171.8 kB / 0.8159 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.097, allocations: 56.53 kB / 0.816 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.097, allocations: 39.91 kB / 0.816 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002582/1.1, allocations: 1.066 MB / 0.8171 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.51e-07/1.1, allocations: 0 / 0.8171 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004677/1.104, allocations: 0.9863 MB / 0.818 GB, free: 2.207 MB / 0.6355 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.01148/1.116, allocations: 3.23 MB / 0.8212 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.009551/1.126, allocations: 2.246 MB / 0.8234 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.126, allocations: 0 / 0.8234 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/1.129, allocations: 0.6285 MB / 0.824 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005812/1.134, allocations: 0.7707 MB / 0.8247 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/1.151, allocations: 12.69 MB / 0.8371 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.152, allocations: 1.4 MB / 0.8385 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003387/1.155, allocations: 453.9 kB / 0.8389 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/1.157, allocations: 0.7609 MB / 0.8397 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of SimCode: time 1.643e-06/1.157, allocations: 0 / 0.8397 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/1.304, allocations: 50.62 MB / 0.8891 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/1.305, allocations: 279.3 kB / 0.8894 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.931/6.236, allocations: 0 / 0.8894 GB, free: 9.285 MB / 0.7136 GB