Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.801/4.801, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 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.002561/0.002561, allocations: 355.2 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.493/4.493, allocations: 410.7 MB / 1.113 GB, free: 5.941 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.001839/0.001839, allocations: 186.9 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008101/0.0008105, allocations: 23.98 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/0.7446, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.06907/0.8138, allocations: 52.75 MB / 1.513 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02896/0.8428, allocations: 16.16 MB / 1.529 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.8456, allocations: 55.62 kB / 1.529 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.8497, allocations: 0.8133 MB / 1.529 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.009282/0.8591, allocations: 2.325 MB / 1.532 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.8709, allocations: 2.876 MB / 1.535 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006972/0.8779, allocations: 4.339 MB / 1.539 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.8803, allocations: 1.016 MB / 1.54 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.8838, allocations: 1.213 MB / 1.541 GB, free: 203 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.8862, allocations: 0.9775 MB / 1.542 GB, free: 202 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004771/0.8868, allocations: 52 kB / 1.542 GB, free: 202 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.8906, allocations: 1.045 MB / 1.543 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008251/0.8915, allocations: 330.6 kB / 1.543 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007327/0.8922, allocations: 360.9 kB / 1.544 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004231/0.8965, allocations: 2.307 MB / 1.546 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8965, allocations: 0 / 1.546 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.815e-06/0.8966, allocations: 0 / 1.546 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.585e-05/0.8966, allocations: 0 / 1.546 GB, free: 197.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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005518/0.9022, allocations: 1.842 MB / 1.548 GB, free: 196 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.9022, allocations: 11.62 kB / 1.548 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.9054, allocations: 393.7 kB / 1.548 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004654/0.9102, allocations: 1.52 MB / 1.55 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/0.9114, allocations: 201.9 kB / 1.55 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.9118, allocations: 80 kB / 1.55 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.9157, allocations: 1.122 MB / 1.551 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.9158, allocations: 0 / 1.551 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.9159, allocations: 36 kB / 1.551 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.916, allocations: 24 kB / 1.551 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004439/0.9204, allocations: 0.9485 MB / 1.552 GB, free: 191.6 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.01042/0.9309, allocations: 5.008 MB / 1.557 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/0.9346, allocations: 0.7253 MB / 1.558 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.9364, allocations: 388.6 kB / 1.558 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00348/0.9399, allocations: 1.821 MB / 1.56 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/0.942, allocations: 496.8 kB / 1.56 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007094/0.9428, allocations: 71.5 kB / 1.56 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 4.739e-06/0.9428, allocations: 0 / 1.56 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.005778/0.9486, allocations: 1.186 MB / 1.561 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.9487, allocations: 85.11 kB / 1.561 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/0.9512, allocations: 1.289 MB / 1.563 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.9514, allocations: 33.7 kB / 1.563 GB, free: 180 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/0.9521, allocations: 0.6571 MB / 1.563 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.9524, allocations: 141.9 kB / 1.564 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.9524, allocations: 16 kB / 1.564 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.9525, allocations: 337.8 kB / 1.564 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.9544, allocations: 369.1 kB / 1.564 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.9564, allocations: 0.6235 MB / 1.565 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.9584, allocations: 438.3 kB / 1.565 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.9584, allocations: 0 / 1.565 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00474/0.9632, allocations: 1.144 MB / 1.566 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.9634, allocations: 327.6 kB / 1.567 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.9635, allocations: 8 kB / 1.567 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.9635, allocations: 8 kB / 1.567 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.9651, allocations: 199.7 kB / 1.567 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.9651, allocations: 15.98 kB / 1.567 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.9672, allocations: 132.3 kB / 1.567 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.9675, allocations: 39.98 kB / 1.567 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.9675, allocations: 4 kB / 1.567 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003661/0.9712, allocations: 0.9642 MB / 1.568 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.9712, allocations: 8 kB / 1.568 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9713, allocations: 8 kB / 1.568 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.9725, allocations: 192.3 kB / 1.568 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.9726, allocations: 15.92 kB / 1.568 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.9744, allocations: 118.6 kB / 1.568 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.9746, allocations: 39.98 kB / 1.568 GB, free: 174 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.001163/0.9758, allocations: 494.6 kB / 1.569 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.9762, allocations: 139.1 kB / 1.569 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/0.9807, allocations: 1.081 MB / 1.57 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.9808, allocations: 7.922 kB / 1.57 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.9808, allocations: 0 / 1.57 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/0.9817, allocations: 311.3 kB / 1.57 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/0.982, allocations: 12 kB / 1.57 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/0.9838, allocations: 119.8 kB / 1.57 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.984, allocations: 32.27 kB / 1.57 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00461/0.9886, allocations: 1.099 MB / 1.572 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00417/0.9928, allocations: 1.166 MB / 1.573 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001768/0.9946, allocations: 428 kB / 1.573 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001817/0.9965, allocations: 0.8833 MB / 1.574 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of Backend: time 8.01e-07/0.9965, allocations: 0 / 1.574 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006594/1.003, allocations: 1.637 MB / 1.576 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.008608/1.012, allocations: 3.5 MB / 1.579 GB, free: 163 MB / 0.8542 GB Notification: Performance of Templates: time 0.07162/1.083, allocations: 30.27 MB / 1.609 GB, free: 133.4 MB / 0.8542 GB