Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.14/2.14, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 182.4 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 84.62 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006407, allocations: 13.59 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2107, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.472, allocations: 442.7 MB / 1.331 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.472, allocations: 96.31 kB / 1.331 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.028/6.5, allocations: 0.9609 GB / 2.292 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.248e-06/6.5, allocations: 0 / 2.292 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004141/6.5, allocations: 58.17 kB / 2.292 GB, free: 119.7 MB / 0.8855 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.01122/6.511, allocations: 2.64 MB / 2.295 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/6.511, allocations: 14.81 kB / 2.295 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007158/6.519, allocations: 0.735 MB / 2.296 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03015/6.549, allocations: 8.841 MB / 2.304 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/6.549, allocations: 95.66 kB / 2.304 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005108/6.549, allocations: 140.5 kB / 2.304 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005072/6.555, allocations: 1.538 MB / 2.306 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-05/6.555, allocations: 0 / 2.306 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/6.555, allocations: 55.41 kB / 2.306 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/6.555, allocations: 35.06 kB / 2.306 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007169/6.562, allocations: 1.221 MB / 2.307 GB, free: 110.2 MB / 0.8855 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.02119/6.583, allocations: 8.381 MB / 2.315 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009887/6.593, allocations: 1.151 MB / 2.316 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/6.604, allocations: 2.941 MB / 2.319 GB, free: 99.42 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002788/6.607, allocations: 0.5169 MB / 2.32 GB, free: 99.11 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001805/6.608, allocations: 197.2 kB / 2.32 GB, free: 99.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 5.861e-06/6.608, allocations: 0 / 2.32 GB, free: 99.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.008314/6.617, allocations: 1.308 MB / 2.321 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/6.617, allocations: 111.2 kB / 2.321 GB, free: 98.26 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/6.62, allocations: 1.356 MB / 2.323 GB, free: 97.35 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002549/6.621, allocations: 41.7 kB / 2.323 GB, free: 97.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/6.622, allocations: 0.9041 MB / 2.324 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/6.622, allocations: 234 kB / 2.324 GB, free: 96.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/6.623, allocations: 20 kB / 2.324 GB, free: 96.14 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001211/6.623, allocations: 353.9 kB / 2.324 GB, free: 95.79 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/6.625, allocations: 429 kB / 2.325 GB, free: 95.37 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003018/6.628, allocations: 0.8954 MB / 2.326 GB, free: 94.28 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/6.631, allocations: 0.5446 MB / 2.326 GB, free: 93.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/6.631, allocations: 0 / 2.326 GB, free: 93.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.007628/6.639, allocations: 1.453 MB / 2.327 GB, free: 92.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00146/6.641, allocations: 5.116 MB / 2.332 GB, free: 86.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.694e-05/6.641, allocations: 12 kB / 2.332 GB, free: 86.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.609e-05/6.641, allocations: 20 kB / 2.333 GB, free: 86.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/6.644, allocations: 295.5 kB / 2.333 GB, free: 86.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.284e-05/6.644, allocations: 23.92 kB / 2.333 GB, free: 86.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/6.647, allocations: 155.7 kB / 2.333 GB, free: 86.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/6.647, allocations: 69.38 kB / 2.333 GB, free: 86.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/6.647, allocations: 4 kB / 2.333 GB, free: 86.23 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005113/6.653, allocations: 1.269 MB / 2.334 GB, free: 84.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/6.653, allocations: 12 kB / 2.334 GB, free: 84.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/6.653, allocations: 20.91 kB / 2.334 GB, free: 84.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/6.655, allocations: 294.7 kB / 2.335 GB, free: 84.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.153e-05/6.655, allocations: 27.92 kB / 2.335 GB, free: 84.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/6.658, allocations: 155.8 kB / 2.335 GB, free: 84.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/6.658, allocations: 55.98 kB / 2.335 GB, free: 84.41 MB / 0.8855 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.001428/6.66, allocations: 0.4949 MB / 2.335 GB, free: 83.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005232/6.66, allocations: 181.7 kB / 2.335 GB, free: 83.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005337/6.666, allocations: 1.275 MB / 2.337 GB, free: 82.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/6.666, allocations: 8 kB / 2.337 GB, free: 82.45 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/6.666, allocations: 0 / 2.337 GB, free: 82.45 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004225/6.67, allocations: 1.149 MB / 2.338 GB, free: 81.23 MB / 0.8855 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.009441/6.679, allocations: 2.679 MB / 2.34 GB, free: 78.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/6.679, allocations: 0 / 2.34 GB, free: 78.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/6.681, allocations: 175.8 kB / 2.341 GB, free: 78.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/6.681, allocations: 0 / 2.341 GB, free: 78.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/6.681, allocations: 27.98 kB / 2.341 GB, free: 78.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/6.681, allocations: 7.938 kB / 2.341 GB, free: 78.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/6.681, allocations: 7.891 kB / 2.341 GB, free: 78.26 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00673/6.688, allocations: 1.816 MB / 2.342 GB, free: 76.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/6.689, allocations: 342.6 kB / 2.343 GB, free: 76.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/6.69, allocations: 23.94 kB / 2.343 GB, free: 76.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/6.692, allocations: 131.8 kB / 2.343 GB, free: 75.89 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/6.692, allocations: 56.52 kB / 2.343 GB, free: 75.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/6.693, allocations: 31.97 kB / 2.343 GB, free: 75.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002143/6.695, allocations: 1.043 MB / 2.344 GB, free: 74.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/6.695, allocations: 0 / 2.344 GB, free: 74.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005608/6.7, allocations: 1.064 MB / 2.345 GB, free: 73.67 MB / 0.8855 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.002948/6.703, allocations: 1.215 MB / 2.346 GB, free: 72.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007165/6.711, allocations: 1.899 MB / 2.348 GB, free: 70.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/6.711, allocations: 4 kB / 2.348 GB, free: 70.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/6.713, allocations: 0.5043 MB / 2.349 GB, free: 70.11 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00574/6.719, allocations: 0.7739 MB / 2.349 GB, free: 69.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/6.73, allocations: 4.15 MB / 2.353 GB, free: 65.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009933/6.731, allocations: 1.408 MB / 2.355 GB, free: 63.78 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003465/6.735, allocations: 464.9 kB / 2.355 GB, free: 63.38 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/6.735, allocations: 151.3 kB / 2.355 GB, free: 63.23 MB / 0.8855 GB Notification: Performance of SimCode: time 9.92e-07/6.735, allocations: 0 / 2.355 GB, free: 63.23 MB / 0.8855 GB Notification: Performance of Templates: time 0.09396/6.829, allocations: 38.38 MB / 2.393 GB, free: 25.86 MB / 0.8855 GB