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.00558/0.005585, allocations: 232.6 kB / 15.82 MB, free: 6.293 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.002154/0.002154, allocations: 175.7 kB / 16.7 MB, free: 5.453 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 4.143/4.143, allocations: 389.1 MB / 406.5 MB, free: 11.83 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.022/4.022, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005062, allocations: 8.219 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1919, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.845/2.037, allocations: 434.1 MB / 1.529 GB, free: 216.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/2.037, allocations: 99.83 kB / 1.529 GB, free: 216.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.987/7.024, allocations: 0.9455 GB / 2.474 GB, free: 119.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.715e-06/7.024, allocations: 2.344 kB / 2.474 GB, free: 119.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004413/7.024, allocations: 55.91 kB / 2.474 GB, free: 119.5 MB / 0.8386 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.01681/7.041, allocations: 2.625 MB / 2.477 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/7.041, allocations: 9.406 kB / 2.477 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007798/7.049, allocations: 0.7307 MB / 2.477 GB, free: 118.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03024/7.079, allocations: 8.031 MB / 2.485 GB, free: 117.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/7.079, allocations: 95.28 kB / 2.485 GB, free: 117.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005678/7.08, allocations: 134.9 kB / 2.486 GB, free: 117.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005217/7.085, allocations: 1.511 MB / 2.487 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/7.085, allocations: 10.95 kB / 2.487 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/7.086, allocations: 49.84 kB / 2.487 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/7.086, allocations: 32.34 kB / 2.487 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005758/7.091, allocations: 1.203 MB / 2.488 GB, free: 117.3 MB / 0.8386 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.01824/7.11, allocations: 8.004 MB / 2.496 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007775/7.118, allocations: 1.138 MB / 2.497 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/7.12, allocations: 474.9 kB / 2.498 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00866/7.129, allocations: 2.906 MB / 2.501 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002233/7.131, allocations: 0.5131 MB / 2.501 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001597/7.133, allocations: 189.8 kB / 2.501 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=65): time 5.861e-06/7.133, allocations: 0 / 2.501 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65): time 0.006788/7.139, allocations: 1.293 MB / 2.502 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/7.139, allocations: 111.3 kB / 2.503 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/7.143, allocations: 1.508 MB / 2.504 GB, free: 110.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003078/7.143, allocations: 51.83 kB / 2.504 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/7.144, allocations: 0.8946 MB / 2.505 GB, free: 110 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/7.145, allocations: 232.7 kB / 2.505 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/7.145, allocations: 20.53 kB / 2.505 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001043/7.145, allocations: 347.2 kB / 2.506 GB, free: 109.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/7.147, allocations: 423.5 kB / 2.506 GB, free: 109.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/7.149, allocations: 0.8744 MB / 2.507 GB, free: 109 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/7.152, allocations: 0.5323 MB / 2.507 GB, free: 109 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/7.152, allocations: 3.906 kB / 2.507 GB, free: 109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.006155/7.158, allocations: 1.419 MB / 2.509 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003354/7.158, allocations: 465.8 kB / 2.509 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.984e-05/7.159, allocations: 16.47 kB / 2.509 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.952e-05/7.159, allocations: 21.77 kB / 2.509 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/7.161, allocations: 288.3 kB / 2.509 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.07e-05/7.161, allocations: 27 kB / 2.509 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/7.164, allocations: 159.2 kB / 2.51 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/7.165, allocations: 57.47 kB / 2.51 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/7.165, allocations: 6.938 kB / 2.51 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005461/7.17, allocations: 1.237 MB / 2.511 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.112e-05/7.17, allocations: 15.25 kB / 2.511 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/7.17, allocations: 20.91 kB / 2.511 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/7.173, allocations: 278.5 kB / 2.511 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.83e-05/7.173, allocations: 29.47 kB / 2.511 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/7.176, allocations: 149.3 kB / 2.511 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/7.176, allocations: 62.58 kB / 2.511 GB, free: 108.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.001615/7.178, allocations: 0.4908 MB / 2.512 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006051/7.178, allocations: 169.9 kB / 2.512 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/7.184, allocations: 1.252 MB / 2.513 GB, free: 107.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/7.184, allocations: 10.28 kB / 2.513 GB, free: 107.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/7.184, allocations: 0 / 2.513 GB, free: 107.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004363/7.189, allocations: 1.141 MB / 2.514 GB, free: 107.5 MB / 0.8386 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.01056/7.199, allocations: 2.63 MB / 2.517 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/7.199, allocations: 2.125 kB / 2.517 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/7.201, allocations: 176.6 kB / 2.517 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/7.201, allocations: 0 / 2.517 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/7.201, allocations: 33.83 kB / 2.517 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/7.201, allocations: 3.062 kB / 2.517 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/7.201, allocations: 6.844 kB / 2.517 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006968/7.208, allocations: 1.747 MB / 2.519 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/7.21, allocations: 330.5 kB / 2.519 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006075/7.211, allocations: 17.72 kB / 2.519 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/7.213, allocations: 137.5 kB / 2.519 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/7.213, allocations: 57.08 kB / 2.519 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/7.214, allocations: 31.17 kB / 2.519 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002591/7.216, allocations: 0.9984 MB / 2.52 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.022e-06/7.216, allocations: 0 / 2.52 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006461/7.223, allocations: 1.044 MB / 2.521 GB, free: 106.3 MB / 0.8386 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.00317/7.226, allocations: 1.192 MB / 2.523 GB, free: 106.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007485/7.233, allocations: 1.866 MB / 2.524 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/7.234, allocations: 2.844 kB / 2.524 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/7.236, allocations: 0.5056 MB / 2.525 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006724/7.243, allocations: 0.781 MB / 2.526 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/7.259, allocations: 4.356 MB / 2.53 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/7.26, allocations: 1.396 MB / 2.531 GB, free: 103.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004061/7.264, allocations: 461.2 kB / 2.532 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009528/7.265, allocations: 148.1 kB / 2.532 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.524e-06/7.265, allocations: 0 / 2.532 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.09793/7.363, allocations: 37.68 MB / 2.569 GB, free: 101.2 MB / 0.8386 GB