Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.006/5.006, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002667/0.002666, allocations: 362.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.238/4.238, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00195/0.00195, allocations: 183.9 kB / 1.226 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005034, allocations: 11.98 kB / 1.349 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7545, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/2.008, allocations: 450.4 MB / 1.901 GB, free: 87.88 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/2.008, allocations: 106.3 kB / 1.901 GB, free: 87.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.413/7.421, allocations: 0.9823 GB / 2.884 GB, free: 151.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.355e-06/7.421, allocations: 0 / 2.884 GB, free: 151.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004251/7.422, allocations: 54.97 kB / 2.884 GB, free: 151.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01168/7.434, allocations: 2.647 MB / 2.886 GB, free: 150.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/7.434, allocations: 13.06 kB / 2.886 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/7.441, allocations: 0.7339 MB / 2.887 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02942/7.471, allocations: 8.267 MB / 2.895 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/7.471, allocations: 99.91 kB / 2.895 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004741/7.471, allocations: 134.6 kB / 2.895 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004943/7.476, allocations: 1.544 MB / 2.897 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.682e-05/7.476, allocations: 7.781 kB / 2.897 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/7.477, allocations: 53.7 kB / 2.897 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/7.477, allocations: 31.03 kB / 2.897 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005616/7.482, allocations: 1.216 MB / 2.898 GB, free: 149.2 MB / 0.948 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.01667/7.499, allocations: 8.357 MB / 2.906 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007585/7.507, allocations: 1.148 MB / 2.907 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/7.509, allocations: 473.4 kB / 2.908 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008069/7.517, allocations: 2.939 MB / 2.911 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002154/7.519, allocations: 0.5289 MB / 2.911 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001531/7.521, allocations: 186.7 kB / 2.911 GB, free: 142.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 5.01e-06/7.521, allocations: 0 / 2.911 GB, free: 142.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.006614/7.527, allocations: 1.305 MB / 2.913 GB, free: 142.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/7.528, allocations: 113 kB / 2.913 GB, free: 142.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/7.531, allocations: 1.519 MB / 2.914 GB, free: 142 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002966/7.531, allocations: 49.86 kB / 2.914 GB, free: 141.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009397/7.532, allocations: 0.9048 MB / 2.915 GB, free: 141.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/7.532, allocations: 239.2 kB / 2.915 GB, free: 141.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/7.532, allocations: 18.06 kB / 2.915 GB, free: 141.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001022/7.532, allocations: 353.5 kB / 2.916 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/7.534, allocations: 433 kB / 2.916 GB, free: 141.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/7.537, allocations: 0.8988 MB / 2.917 GB, free: 140.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/7.539, allocations: 0.5429 MB / 2.917 GB, free: 140.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/7.539, allocations: 3.094 kB / 2.917 GB, free: 140.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005699/7.545, allocations: 1.449 MB / 2.919 GB, free: 140.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000303/7.545, allocations: 488.5 kB / 2.919 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/7.545, allocations: 13.16 kB / 2.919 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.311e-05/7.545, allocations: 20.25 kB / 2.919 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/7.548, allocations: 290.7 kB / 2.92 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.73e-05/7.548, allocations: 26.67 kB / 2.92 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/7.551, allocations: 158.6 kB / 2.92 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/7.551, allocations: 59.59 kB / 2.92 GB, free: 139.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/7.551, allocations: 3.312 kB / 2.92 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005115/7.556, allocations: 1.274 MB / 2.921 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.363e-05/7.556, allocations: 12.59 kB / 2.921 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/7.556, allocations: 20.22 kB / 2.921 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/7.558, allocations: 287.8 kB / 2.921 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.259e-05/7.559, allocations: 26.12 kB / 2.921 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/7.561, allocations: 152.8 kB / 2.922 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002924/7.562, allocations: 66.88 kB / 2.922 GB, free: 139.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * 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.001502/7.563, allocations: 0.4927 MB / 2.922 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005862/7.564, allocations: 173.1 kB / 2.922 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/7.569, allocations: 1.271 MB / 2.924 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/7.57, allocations: 5.438 kB / 2.924 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/7.57, allocations: 3.062 kB / 2.924 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004119/7.574, allocations: 1.15 MB / 2.925 GB, free: 139 MB / 0.948 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.009792/7.584, allocations: 2.675 MB / 2.927 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/7.584, allocations: 5.688 kB / 2.927 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/7.585, allocations: 172.3 kB / 2.927 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/7.585, allocations: 3.031 kB / 2.927 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/7.586, allocations: 31.42 kB / 2.928 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/7.586, allocations: 9.391 kB / 2.928 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/7.586, allocations: 1.625 kB / 2.928 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006811/7.592, allocations: 1.774 MB / 2.929 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/7.594, allocations: 340.4 kB / 2.93 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/7.594, allocations: 14.88 kB / 2.93 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/7.596, allocations: 129.9 kB / 2.93 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/7.596, allocations: 58.02 kB / 2.93 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/7.597, allocations: 35.56 kB / 2.93 GB, free: 138.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002225/7.599, allocations: 1.009 MB / 2.931 GB, free: 138 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/7.599, allocations: 0 / 2.931 GB, free: 138 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005901/7.605, allocations: 1.069 MB / 2.932 GB, free: 137.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (76): * Single equations (assignments): 67 * 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.002985/7.608, allocations: 1.186 MB / 2.933 GB, free: 137.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007162/7.615, allocations: 1.903 MB / 2.935 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/7.615, allocations: 0 / 2.935 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/7.617, allocations: 0.5016 MB / 2.935 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006588/7.624, allocations: 0.7932 MB / 2.936 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/7.64, allocations: 4.387 MB / 2.94 GB, free: 135.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/7.641, allocations: 1.408 MB / 2.942 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003684/7.644, allocations: 473.7 kB / 2.942 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000726/7.645, allocations: 151 kB / 2.942 GB, free: 134.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.843e-06/7.645, allocations: 0 / 2.942 GB, free: 134.9 MB / 0.948 GB Notification: Performance of Templates: time 0.09611/7.741, allocations: 38.03 MB / 2.98 GB, free: 132.7 MB / 0.948 GB