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.009118/0.009118, allocations: 109.1 kB / 15.05 MB, free: 5.949 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.001096/0.001096, allocations: 181.4 kB / 15.94 MB, free: 5.902 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 1.857/1.857, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.193/2.193, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004663, allocations: 8 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.5728, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9977/1.571, allocations: 434.1 MB / 1.107 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.571, allocations: 98.81 kB / 1.107 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.557/6.128, allocations: 0.952 GB / 2.059 GB, free: 87.02 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.489e-06/6.128, allocations: 0 / 2.059 GB, free: 87.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003064/6.129, allocations: 60.42 kB / 2.059 GB, free: 87 MB / 0.823 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.008018/6.137, allocations: 2.615 MB / 2.062 GB, free: 85.09 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/6.137, allocations: 13.36 kB / 2.062 GB, free: 85.09 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/6.142, allocations: 0.7345 MB / 2.063 GB, free: 84.81 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02683/6.169, allocations: 8.773 MB / 2.071 GB, free: 79.36 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/6.169, allocations: 102.5 kB / 2.071 GB, free: 79.32 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004553/6.169, allocations: 130.8 kB / 2.071 GB, free: 79.27 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/6.173, allocations: 1.497 MB / 2.073 GB, free: 78.24 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/6.173, allocations: 10.16 kB / 2.073 GB, free: 78.24 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/6.174, allocations: 55.64 kB / 2.073 GB, free: 78.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/6.174, allocations: 33.64 kB / 2.073 GB, free: 78.19 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/6.178, allocations: 1.208 MB / 2.074 GB, free: 77.59 MB / 0.823 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.01379/6.191, allocations: 8.02 MB / 2.082 GB, free: 70.35 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005271/6.197, allocations: 1.149 MB / 2.083 GB, free: 69.73 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006705/6.204, allocations: 2.924 MB / 2.086 GB, free: 66.54 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/6.205, allocations: 0.5144 MB / 2.086 GB, free: 66.01 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001217/6.206, allocations: 206.9 kB / 2.087 GB, free: 65.81 MB / 0.823 GB Notification: Performance of pre-optimization done (n=65): time 5.063e-06/6.206, allocations: 0 / 2.087 GB, free: 65.81 MB / 0.823 GB Notification: Performance of matching and sorting (n=65): time 0.004511/6.211, allocations: 1.285 MB / 2.088 GB, free: 64.52 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/6.211, allocations: 119.3 kB / 2.088 GB, free: 64.38 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/6.214, allocations: 1.34 MB / 2.089 GB, free: 63 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/6.214, allocations: 45.7 kB / 2.089 GB, free: 62.95 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008529/6.215, allocations: 0.8963 MB / 2.09 GB, free: 62.04 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/6.215, allocations: 224.8 kB / 2.091 GB, free: 61.82 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/6.215, allocations: 23.94 kB / 2.091 GB, free: 61.79 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/6.215, allocations: 349.9 kB / 2.091 GB, free: 61.45 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/6.217, allocations: 426.3 kB / 2.091 GB, free: 61.03 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/6.219, allocations: 0.8696 MB / 2.092 GB, free: 59.95 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/6.22, allocations: 0.534 MB / 2.093 GB, free: 59.41 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/6.22, allocations: 4 kB / 2.093 GB, free: 59.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.004413/6.225, allocations: 1.422 MB / 2.094 GB, free: 57.97 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009895/6.226, allocations: 4.751 MB / 2.099 GB, free: 52.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.556e-05/6.226, allocations: 12 kB / 2.099 GB, free: 52.83 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.84e-05/6.226, allocations: 23.95 kB / 2.099 GB, free: 52.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/6.228, allocations: 287.5 kB / 2.099 GB, free: 52.53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/6.228, allocations: 27.92 kB / 2.099 GB, free: 52.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/6.23, allocations: 151.8 kB / 2.099 GB, free: 52.35 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/6.23, allocations: 55.98 kB / 2.099 GB, free: 52.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/6.23, allocations: 4 kB / 2.099 GB, free: 52.29 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003786/6.234, allocations: 1.247 MB / 2.1 GB, free: 51.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/6.234, allocations: 12 kB / 2.1 GB, free: 51.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/6.234, allocations: 20 kB / 2.1 GB, free: 51.01 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/6.236, allocations: 283.7 kB / 2.101 GB, free: 50.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/6.236, allocations: 27.92 kB / 2.101 GB, free: 50.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/6.238, allocations: 143.8 kB / 2.101 GB, free: 50.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/6.238, allocations: 55.98 kB / 2.101 GB, free: 50.51 MB / 0.823 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.001306/6.24, allocations: 0.4928 MB / 2.101 GB, free: 50 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/6.24, allocations: 177.8 kB / 2.102 GB, free: 49.83 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/6.244, allocations: 1.251 MB / 2.103 GB, free: 48.57 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/6.244, allocations: 11.92 kB / 2.103 GB, free: 48.56 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.324e-06/6.244, allocations: 7.25 kB / 2.103 GB, free: 48.55 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002851/6.247, allocations: 1.135 MB / 2.104 GB, free: 47.35 MB / 0.823 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.007639/6.255, allocations: 2.654 MB / 2.107 GB, free: 44.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.709e-06/6.255, allocations: 4.031 kB / 2.107 GB, free: 44.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/6.256, allocations: 167.7 kB / 2.107 GB, free: 44.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/6.256, allocations: 4 kB / 2.107 GB, free: 44.44 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/6.256, allocations: 35.92 kB / 2.107 GB, free: 44.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.436e-06/6.256, allocations: 4 kB / 2.107 GB, free: 44.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/6.256, allocations: 0 / 2.107 GB, free: 44.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004764/6.261, allocations: 1.76 MB / 2.108 GB, free: 42.61 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/6.262, allocations: 342.6 kB / 2.109 GB, free: 42.25 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/6.263, allocations: 19.95 kB / 2.109 GB, free: 42.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003552/6.266, allocations: 131.8 kB / 2.109 GB, free: 42.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/6.266, allocations: 52.58 kB / 2.109 GB, free: 42.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/6.267, allocations: 31.97 kB / 2.109 GB, free: 42.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00419/6.271, allocations: 1.035 MB / 2.11 GB, free: 40.96 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.066e-06/6.271, allocations: 0 / 2.11 GB, free: 40.96 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009038/6.28, allocations: 1.061 MB / 2.111 GB, free: 39.9 MB / 0.823 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.004687/6.285, allocations: 1.221 MB / 2.112 GB, free: 38.74 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01132/6.296, allocations: 1.881 MB / 2.114 GB, free: 36.83 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/6.296, allocations: 0 / 2.114 GB, free: 36.83 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/6.3, allocations: 0.5004 MB / 2.115 GB, free: 36.33 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008633/6.308, allocations: 0.758 MB / 2.115 GB, free: 35.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/6.327, allocations: 4.107 MB / 2.119 GB, free: 31.49 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/6.329, allocations: 1.404 MB / 2.121 GB, free: 30.05 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006902/6.336, allocations: 455.6 kB / 2.121 GB, free: 29.65 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/6.338, allocations: 155.2 kB / 2.121 GB, free: 29.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.421e-06/6.338, allocations: 4 kB / 2.121 GB, free: 29.5 MB / 0.823 GB Notification: Performance of Templates: time 0.08973/6.427, allocations: 38.19 MB / 2.159 GB, free: 8.203 MB / 0.8386 GB