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.01067/0.01068, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001113/0.001113, allocations: 176 kB / 16.06 MB, free: 5.832 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.98/3.98, allocations: 389.1 MB / 405.9 MB, free: 14.22 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.051/4.051, allocations: 472.3 MB / 0.9018 GB, free: 124 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004914, allocations: 12 kB / 1.008 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.5461, allocations: 98.69 MB / 1.104 GB, free: 206.2 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.06594/0.6121, allocations: 57.28 MB / 1.16 GB, free: 162.1 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02591/0.6381, allocations: 17.81 MB / 1.177 GB, free: 144.4 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.6414, allocations: 81.94 kB / 1.177 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.645, allocations: 0.9114 MB / 1.178 GB, free: 143.4 MB / 0.7136 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.009557/0.6546, allocations: 2.702 MB / 1.181 GB, free: 140.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009478/0.6641, allocations: 2.905 MB / 1.184 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007057/0.6712, allocations: 5.742 MB / 1.189 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/0.6737, allocations: 1.311 MB / 1.191 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.6774, allocations: 1.648 MB / 1.192 GB, free: 129.3 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.6798, allocations: 1.356 MB / 1.194 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003839/0.6802, allocations: 76 kB / 1.194 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.6841, allocations: 1.411 MB / 1.195 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007414/0.6849, allocations: 410.3 kB / 1.195 GB, free: 126 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000744/0.6857, allocations: 445.1 kB / 1.196 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004301/0.69, allocations: 2.7 MB / 1.199 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.305e-06/0.69, allocations: 4.781 kB / 1.199 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.537e-06/0.69, allocations: 0 / 1.199 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.585e-05/0.6901, allocations: 1.062 kB / 1.199 GB, free: 122.9 MB / 0.7136 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.004745/0.6949, allocations: 2.248 MB / 1.201 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6949, allocations: 13.09 kB / 1.201 GB, free: 120.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004316/0.6992, allocations: 0.7683 MB / 1.201 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/0.7033, allocations: 1.743 MB / 1.203 GB, free: 118 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004121/0.7037, allocations: 165 kB / 1.203 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.704, allocations: 135.8 kB / 1.203 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/0.7079, allocations: 1.638 MB / 1.205 GB, free: 116 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.7079, allocations: 7.875 kB / 1.205 GB, free: 116 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.7081, allocations: 49.88 kB / 1.205 GB, free: 116 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.7082, allocations: 32 kB / 1.205 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004646/0.7128, allocations: 1.486 MB / 1.207 GB, free: 114.5 MB / 0.7136 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.01395/0.7268, allocations: 8.513 MB / 1.215 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005944/0.7328, allocations: 1.483 MB / 1.216 GB, free: 104 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.7348, allocations: 0.5852 MB / 1.217 GB, free: 103.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005377/0.7402, allocations: 2.848 MB / 1.22 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001965/0.7422, allocations: 0.651 MB / 1.22 GB, free: 99.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009299/0.7432, allocations: 179.1 kB / 1.221 GB, free: 99.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=65): time 5.803e-06/0.7432, allocations: 0 / 1.221 GB, free: 99.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65): time 0.005508/0.7487, allocations: 1.656 MB / 1.222 GB, free: 97.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.7488, allocations: 137.1 kB / 1.222 GB, free: 97.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.7514, allocations: 1.56 MB / 1.224 GB, free: 95.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.7517, allocations: 45.7 kB / 1.224 GB, free: 95.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007485/0.7524, allocations: 0.8886 MB / 1.225 GB, free: 95.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.7527, allocations: 240.6 kB / 1.225 GB, free: 94.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.7528, allocations: 23.94 kB / 1.225 GB, free: 94.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7529, allocations: 341.9 kB / 1.225 GB, free: 94.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.7548, allocations: 0.5569 MB / 1.226 GB, free: 93.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.7569, allocations: 0.9994 MB / 1.227 GB, free: 92.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.7589, allocations: 0.6489 MB / 1.227 GB, free: 92.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.759, allocations: 4 kB / 1.227 GB, free: 92.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.004911/0.7639, allocations: 1.68 MB / 1.229 GB, free: 90.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.7642, allocations: 464.5 kB / 1.23 GB, free: 89.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/0.7642, allocations: 12 kB / 1.23 GB, free: 89.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.7642, allocations: 16 kB / 1.23 GB, free: 89.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.766, allocations: 327.5 kB / 1.23 GB, free: 89.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/0.766, allocations: 23.92 kB / 1.23 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.7682, allocations: 195.6 kB / 1.23 GB, free: 89.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.7684, allocations: 55.98 kB / 1.23 GB, free: 89.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.7684, allocations: 7.984 kB / 1.23 GB, free: 89.11 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004424/0.7729, allocations: 1.492 MB / 1.232 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.7729, allocations: 12 kB / 1.232 GB, free: 87.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.773, allocations: 16 kB / 1.232 GB, free: 87.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.7746, allocations: 336.2 kB / 1.232 GB, free: 87.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/0.7747, allocations: 23.92 kB / 1.232 GB, free: 87.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.7768, allocations: 192.4 kB / 1.232 GB, free: 87.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.777, allocations: 63.34 kB / 1.232 GB, free: 86.98 MB / 0.7136 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.001023/0.7781, allocations: 0.4911 MB / 1.233 GB, free: 86.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.7784, allocations: 181 kB / 1.233 GB, free: 86.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.7831, allocations: 1.5 MB / 1.234 GB, free: 84.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.7831, allocations: 11.95 kB / 1.234 GB, free: 84.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.424e-06/0.7831, allocations: 0 / 1.234 GB, free: 84.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003612/0.7868, allocations: 1.381 MB / 1.236 GB, free: 83.35 MB / 0.7136 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.007903/0.7947, allocations: 3.06 MB / 1.239 GB, free: 80.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.7948, allocations: 4 kB / 1.239 GB, free: 80.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.7962, allocations: 223.7 kB / 1.239 GB, free: 79.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.7962, allocations: 7.5 kB / 1.239 GB, free: 79.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.806e-05/0.7963, allocations: 19.98 kB / 1.239 GB, free: 79.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-06/0.7963, allocations: 7.984 kB / 1.239 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7963, allocations: 0 / 1.239 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005907/0.8022, allocations: 2.155 MB / 1.241 GB, free: 77.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009038/0.8032, allocations: 366.6 kB / 1.241 GB, free: 77.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/0.8035, allocations: 20 kB / 1.241 GB, free: 77.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.8052, allocations: 175.7 kB / 1.242 GB, free: 77.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.8054, allocations: 52.58 kB / 1.242 GB, free: 77.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.8055, allocations: 31.97 kB / 1.242 GB, free: 77.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001715/0.8073, allocations: 1.046 MB / 1.243 GB, free: 76.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.6e-07/0.8073, allocations: 0 / 1.243 GB, free: 76.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003745/0.811, allocations: 0.9629 MB / 1.244 GB, free: 75.09 MB / 0.7136 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.001279/0.8123, allocations: 0.5275 MB / 1.244 GB, free: 74.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006339/0.8187, allocations: 2.264 MB / 1.246 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.8188, allocations: 1.5 kB / 1.246 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.8207, allocations: 0.6322 MB / 1.247 GB, free: 71.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/0.825, allocations: 0.7988 MB / 1.248 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.8361, allocations: 4.531 MB / 1.252 GB, free: 66.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000985/0.8372, allocations: 1.404 MB / 1.254 GB, free: 64.94 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002761/0.8399, allocations: 443.2 kB / 1.254 GB, free: 64.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/0.8406, allocations: 151.4 kB / 1.254 GB, free: 64.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.877e-06/0.8406, allocations: 0 / 1.254 GB, free: 64.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.07174/0.9124, allocations: 33.95 MB / 1.287 GB, free: 31.51 MB / 0.7136 GB