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 4.935/4.935, allocations: 0.5623 GB / 0.5776 GB, free: 3.312 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.002592/0.002591, allocations: 356.4 kB / 0.6447 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.433/4.433, allocations: 410.7 MB / 1.113 GB, free: 5.992 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.00181/0.00181, allocations: 181.8 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006716/0.0006719, allocations: 8 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7221/0.7228, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.1042/0.827, allocations: 57.9 MB / 1.518 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0339/0.861, allocations: 17.86 MB / 1.535 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004558/0.8656, allocations: 79.44 kB / 1.535 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006069/0.8717, allocations: 0.9143 MB / 1.536 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.884, allocations: 2.696 MB / 1.539 GB, free: 205 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01165/0.8957, allocations: 3.036 MB / 1.542 GB, free: 202 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.008735/0.9045, allocations: 5.732 MB / 1.547 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.9076, allocations: 1.319 MB / 1.549 GB, free: 195 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004836/0.9125, allocations: 1.66 MB / 1.55 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.9158, allocations: 1.357 MB / 1.552 GB, free: 192 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006182/0.9165, allocations: 76 kB / 1.552 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004957/0.9214, allocations: 1.411 MB / 1.553 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.9225, allocations: 426.2 kB / 1.554 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0009546/0.9235, allocations: 448.6 kB / 1.554 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005204/0.9287, allocations: 2.728 MB / 1.557 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.9288, allocations: 8 kB / 1.557 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9288, allocations: 0 / 1.557 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.676e-05/0.9289, allocations: 0 / 1.557 GB, free: 186.9 MB / 0.8542 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.006844/0.9358, allocations: 2.264 MB / 1.559 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.9358, allocations: 8.031 kB / 1.559 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006811/0.9426, allocations: 0.7738 MB / 1.56 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.9479, allocations: 1.737 MB / 1.561 GB, free: 182 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006712/0.9486, allocations: 170.6 kB / 1.562 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004053/0.949, allocations: 140.9 kB / 1.562 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00532/0.9544, allocations: 1.673 MB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.393e-05/0.9545, allocations: 3.938 kB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.9547, allocations: 55.94 kB / 1.563 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/0.9547, allocations: 31.98 kB / 1.563 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006649/0.9614, allocations: 1.499 MB / 1.565 GB, free: 178.3 MB / 0.8542 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.01823/0.9797, allocations: 8.869 MB / 1.573 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009012/0.9887, allocations: 1.478 MB / 1.575 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.9916, allocations: 0.5998 MB / 1.576 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006705/0.9983, allocations: 2.875 MB / 1.578 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00278/1.001, allocations: 0.6589 MB / 1.579 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001194/1.002, allocations: 183 kB / 1.579 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=66): time 5.21e-06/1.002, allocations: 0 / 1.579 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=66): time 0.00812/1.011, allocations: 1.677 MB / 1.581 GB, free: 161 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/1.011, allocations: 141.1 kB / 1.581 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/1.013, allocations: 1.573 MB / 1.582 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/1.014, allocations: 45.7 kB / 1.582 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000867/1.015, allocations: 0.9002 MB / 1.583 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/1.015, allocations: 236.7 kB / 1.584 GB, free: 158 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/1.015, allocations: 20 kB / 1.584 GB, free: 158 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/1.015, allocations: 345.9 kB / 1.584 GB, free: 157.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/1.018, allocations: 0.5647 MB / 1.584 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/1.021, allocations: 1.03 MB / 1.586 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/1.024, allocations: 0.6645 MB / 1.586 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/1.024, allocations: 7.953 kB / 1.586 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.006867/1.031, allocations: 1.711 MB / 1.588 GB, free: 153.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000263/1.031, allocations: 491.8 kB / 1.588 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/1.031, allocations: 12 kB / 1.588 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.922e-05/1.031, allocations: 20 kB / 1.588 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/1.034, allocations: 331.5 kB / 1.589 GB, free: 152.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/1.034, allocations: 27.86 kB / 1.589 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/1.037, allocations: 196.5 kB / 1.589 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/1.037, allocations: 63.97 kB / 1.589 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.037, allocations: 4 kB / 1.589 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00605/1.043, allocations: 1.52 MB / 1.59 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/1.043, allocations: 23.94 kB / 1.59 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.043, allocations: 20.98 kB / 1.59 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/1.046, allocations: 331.6 kB / 1.591 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/1.046, allocations: 23.94 kB / 1.591 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/1.049, allocations: 200.3 kB / 1.591 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/1.049, allocations: 63.97 kB / 1.591 GB, free: 150 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 128 * 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.001135/1.05, allocations: 0.4889 MB / 1.592 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/1.05, allocations: 177.8 kB / 1.592 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006296/1.057, allocations: 1.519 MB / 1.593 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005147/1.062, allocations: 1.395 MB / 1.595 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/1.062, allocations: 0 / 1.595 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.063, allocations: 381.5 kB / 1.595 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003531/1.063, allocations: 12 kB / 1.595 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.066, allocations: 182 kB / 1.595 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/1.066, allocations: 52.58 kB / 1.595 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007271/1.073, allocations: 1.479 MB / 1.597 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00861/1.082, allocations: 2.271 MB / 1.599 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002571/1.085, allocations: 0.6066 MB / 1.599 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0021/1.087, allocations: 1.051 MB / 1.6 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of Backend: time 5.11e-07/1.087, allocations: 0 / 1.6 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009887/1.097, allocations: 2.404 MB / 1.603 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01148/1.108, allocations: 4.742 MB / 1.607 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.09847/1.207, allocations: 41.17 MB / 1.648 GB, free: 92.59 MB / 0.8542 GB