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.009447/0.009447, allocations: 107.5 kB / 15.06 MB, free: 5.562 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.00116/0.001159, allocations: 187.6 kB / 15.95 MB, free: 5.523 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.035/2.035, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.428/2.428, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007788/0.0007791, allocations: 8 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5981/0.5989, allocations: 98.7 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.07973/0.6787, allocations: 52.12 MB / 0.7342 GB, free: 9.969 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.03437/0.7131, allocations: 16.88 MB / 0.7507 GB, free: 9.297 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003507/0.7167, allocations: 75.44 kB / 0.7508 GB, free: 9.223 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004336/0.721, allocations: 1.003 MB / 0.7518 GB, free: 8.215 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.7313, allocations: 2.555 MB / 0.7543 GB, free: 5.652 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01097/0.7423, allocations: 2.851 MB / 0.757 GB, free: 2.797 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007195/0.7495, allocations: 3.018 MB / 0.76 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.7525, allocations: 1.322 MB / 0.7613 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004355/0.7569, allocations: 1.53 MB / 0.7628 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.7592, allocations: 0.976 MB / 0.7637 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0004317/0.7597, allocations: 76 kB / 0.7638 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00464/0.7643, allocations: 1.459 MB / 0.7652 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0008582/0.7652, allocations: 386.5 kB / 0.7656 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008943/0.7661, allocations: 448.6 kB / 0.766 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005357/0.7715, allocations: 2.685 MB / 0.7686 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.728e-06/0.7716, allocations: 0 / 0.7686 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.416e-06/0.7716, allocations: 0 / 0.7686 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.429e-05/0.7716, allocations: 0 / 0.7686 GB, free: 6.859 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.006021/0.7777, allocations: 2.237 MB / 0.7708 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.7777, allocations: 15.95 kB / 0.7708 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/0.7826, allocations: 0.77 MB / 0.7716 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/0.7871, allocations: 1.708 MB / 0.7733 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004946/0.7877, allocations: 166.5 kB / 0.7734 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003614/0.7881, allocations: 132 kB / 0.7735 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004963/0.793, allocations: 1.61 MB / 0.7751 GB, free: 0 / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-05/0.7932, allocations: 4.047 kB / 0.7751 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.7934, allocations: 48 kB / 0.7752 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.903e-05/0.7934, allocations: 35.83 kB / 0.7752 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005773/0.7992, allocations: 1.472 MB / 0.7766 GB, free: 14.43 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.01764/0.8169, allocations: 8.687 MB / 0.7851 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006741/0.8237, allocations: 1.453 MB / 0.7865 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008672/0.8324, allocations: 3.223 MB / 0.7897 GB, free: 136 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002394/0.8348, allocations: 0.6393 MB / 0.7903 GB, free: 15.48 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001042/0.8359, allocations: 179.1 kB / 0.7905 GB, free: 15.3 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=65): time 5.196e-06/0.836, allocations: 7.938 kB / 0.7905 GB, free: 15.29 MB / 0.6199 GB Notification: Performance of matching and sorting (n=65): time 0.006773/0.8427, allocations: 1.637 MB / 0.7921 GB, free: 13.65 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.8429, allocations: 137.1 kB / 0.7922 GB, free: 13.48 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/0.8463, allocations: 1.587 MB / 0.7938 GB, free: 11.85 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.8465, allocations: 49.69 kB / 0.7938 GB, free: 11.8 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.8477, allocations: 0.9041 MB / 0.7947 GB, free: 10.88 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.848, allocations: 228.7 kB / 0.7949 GB, free: 10.66 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.355e-05/0.8481, allocations: 24 kB / 0.7949 GB, free: 10.63 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.8483, allocations: 349.9 kB / 0.7953 GB, free: 10.29 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.8506, allocations: 0.5452 MB / 0.7958 GB, free: 9.738 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002632/0.8532, allocations: 0.9974 MB / 0.7968 GB, free: 8.547 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.8556, allocations: 0.6333 MB / 0.7974 GB, free: 7.906 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/0.8557, allocations: 4 kB / 0.7974 GB, free: 7.902 MB / 0.6199 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.005885/0.8616, allocations: 1.664 MB / 0.799 GB, free: 6.223 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.002464/0.8641, allocations: 4.661 MB / 0.8036 GB, free: 1.191 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.726e-05/0.8642, allocations: 12 kB / 0.8036 GB, free: 1.18 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.135e-05/0.8642, allocations: 24 kB / 0.8036 GB, free: 1.156 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002026/0.8663, allocations: 331.5 kB / 0.8039 GB, free: 0.832 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.739e-05/0.8663, allocations: 27.92 kB / 0.804 GB, free: 0.8047 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.8687, allocations: 196.4 kB / 0.8041 GB, free: 0.6133 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.869, allocations: 63.91 kB / 0.8042 GB, free: 0.5508 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.869, allocations: 6.344 kB / 0.8042 GB, free: 0.5469 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005331/0.8744, allocations: 1.489 MB / 0.8057 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.985e-05/0.8745, allocations: 12 kB / 0.8057 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.8745, allocations: 23.95 kB / 0.8057 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.8764, allocations: 327.9 kB / 0.806 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.693e-05/0.8765, allocations: 23.92 kB / 0.806 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.8789, allocations: 196.3 kB / 0.8062 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/0.8792, allocations: 55.97 kB / 0.8063 GB, free: 14.43 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.001287/0.8805, allocations: 0.4975 MB / 0.8068 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/0.8809, allocations: 169.8 kB / 0.8069 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005482/0.8864, allocations: 1.498 MB / 0.8084 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/0.8865, allocations: 12 kB / 0.8084 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.8865, allocations: 0 / 0.8084 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004419/0.891, allocations: 1.369 MB / 0.8097 GB, free: 10.8 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.00976/0.9008, allocations: 3.115 MB / 0.8128 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.335e-06/0.9008, allocations: 0 / 0.8128 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.9024, allocations: 223.7 kB / 0.813 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.9025, allocations: 4 kB / 0.813 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.9026, allocations: 23.97 kB / 0.813 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.537e-06/0.9026, allocations: 4 kB / 0.813 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9026, allocations: 0 / 0.813 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007296/0.9099, allocations: 2.154 MB / 0.8151 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.9111, allocations: 374.6 kB / 0.8155 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/0.9114, allocations: 16 kB / 0.8155 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/0.9133, allocations: 175.8 kB / 0.8157 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.9136, allocations: 56.53 kB / 0.8157 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.9137, allocations: 35.91 kB / 0.8158 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002398/0.9161, allocations: 1.074 MB / 0.8168 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.44e-07/0.9161, allocations: 0 / 0.8168 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004119/0.9203, allocations: 0.9862 MB / 0.8178 GB, free: 2.406 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.001557/0.9219, allocations: 0.5591 MB / 0.8183 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007706/0.9296, allocations: 2.245 MB / 0.8205 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.835e-06/0.9296, allocations: 0 / 0.8205 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.932, allocations: 0.6257 MB / 0.8211 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005272/0.9373, allocations: 0.7812 MB / 0.8219 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.9519, allocations: 4.057 MB / 0.8258 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.9542, allocations: 1.404 MB / 0.8272 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004727/0.9589, allocations: 444.5 kB / 0.8276 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.9601, allocations: 167.3 kB / 0.8278 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of SimCode: time 2.579e-06/0.9601, allocations: 0 / 0.8278 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of Templates: time 0.1202/1.08, allocations: 34.68 MB / 0.8617 GB, free: 5.824 MB / 0.6824 GB