Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.686/4.686, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 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.002425/0.002424, allocations: 360.6 kB / 0.644 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.032/4.032, allocations: 410.7 MB / 1.112 GB, free: 6.027 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.001829/0.001829, allocations: 183.8 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004973, allocations: 16 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6343/0.6348, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.05122/0.6861, allocations: 52.75 MB / 1.512 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.7091, allocations: 16.17 MB / 1.528 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.7116, allocations: 55.62 kB / 1.528 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.7145, allocations: 0.8058 MB / 1.529 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007366/0.722, allocations: 2.333 MB / 1.531 GB, free: 212.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.009795/0.7318, allocations: 2.874 MB / 1.534 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00543/0.7372, allocations: 4.338 MB / 1.538 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.7391, allocations: 1.006 MB / 1.539 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.7418, allocations: 1.209 MB / 1.54 GB, free: 203 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.7435, allocations: 0.9771 MB / 1.541 GB, free: 202 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.7438, allocations: 56 kB / 1.541 GB, free: 202 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.7463, allocations: 1.048 MB / 1.542 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.7468, allocations: 322.6 kB / 1.543 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.7474, allocations: 360.9 kB / 1.543 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.7507, allocations: 2.315 MB / 1.545 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.137e-06/0.7508, allocations: 0 / 1.545 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7508, allocations: 4 kB / 1.545 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.007e-05/0.7508, allocations: 0 / 1.545 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.00365/0.7545, allocations: 1.826 MB / 1.547 GB, free: 196 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.7545, allocations: 15.62 kB / 1.547 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.7566, allocations: 397.7 kB / 1.547 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/0.7601, allocations: 1.523 MB / 1.549 GB, free: 194 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007067/0.7608, allocations: 201.8 kB / 1.549 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.761, allocations: 88.94 kB / 1.549 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.7637, allocations: 1.126 MB / 1.55 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.7638, allocations: 0 / 1.55 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.7639, allocations: 32 kB / 1.55 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.764, allocations: 20 kB / 1.55 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/0.7669, allocations: 0.9524 MB / 1.551 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.007902/0.7749, allocations: 4.999 MB / 1.556 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.7773, allocations: 0.73 MB / 1.557 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.7786, allocations: 383.7 kB / 1.557 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002937/0.7816, allocations: 1.833 MB / 1.559 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.783, allocations: 496.9 kB / 1.56 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005548/0.7836, allocations: 71.5 kB / 1.56 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 4.09e-06/0.7836, allocations: 0 / 1.56 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.003899/0.7875, allocations: 1.186 MB / 1.561 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.7876, allocations: 89.11 kB / 1.561 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.7896, allocations: 1.289 MB / 1.562 GB, free: 180 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.7897, allocations: 37.7 kB / 1.562 GB, free: 180 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005599/0.7903, allocations: 0.6571 MB / 1.563 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.7905, allocations: 142 kB / 1.563 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.7906, allocations: 15.98 kB / 1.563 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.7906, allocations: 345.8 kB / 1.563 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.7921, allocations: 361.1 kB / 1.564 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.7936, allocations: 0.6157 MB / 1.564 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.7949, allocations: 446.3 kB / 1.565 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.7949, allocations: 0 / 1.565 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003205/0.7981, allocations: 1.145 MB / 1.566 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.7983, allocations: 327 kB / 1.566 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7983, allocations: 4 kB / 1.566 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.7984, allocations: 12 kB / 1.566 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.7994, allocations: 199.7 kB / 1.566 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.7994, allocations: 15.95 kB / 1.566 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.8008, allocations: 128.4 kB / 1.566 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.8009, allocations: 43.97 kB / 1.566 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.801, allocations: 4 kB / 1.566 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002568/0.8036, allocations: 0.9642 MB / 1.567 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.8036, allocations: 4 kB / 1.567 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8036, allocations: 18.39 kB / 1.567 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.8045, allocations: 199.7 kB / 1.568 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.8046, allocations: 15.88 kB / 1.568 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.8059, allocations: 104.6 kB / 1.568 GB, free: 174 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.806, allocations: 43.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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.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.0008754/0.8069, allocations: 494.5 kB / 1.568 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.8072, allocations: 134.3 kB / 1.568 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.8107, allocations: 1.079 MB / 1.569 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.8108, allocations: 12 kB / 1.569 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.298e-06/0.8108, allocations: 0 / 1.569 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.477e-06/0.8108, allocations: 0 / 1.569 GB, free: 172.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 postOpt removeSimpleEquations (simulation): time 0.004926/0.8158, allocations: 2.22 MB / 1.572 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.8158, allocations: 0 / 1.572 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.8166, allocations: 143.9 kB / 1.572 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.8166, allocations: 4 kB / 1.572 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-05/0.8167, allocations: 15.98 kB / 1.572 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.578e-06/0.8167, allocations: 8 kB / 1.572 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.736e-06/0.8167, allocations: 3.953 kB / 1.572 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.8196, allocations: 1.102 MB / 1.573 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006197/0.8202, allocations: 323.1 kB / 1.573 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.8205, allocations: 8 kB / 1.573 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.8217, allocations: 115.9 kB / 1.573 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.8218, allocations: 41.09 kB / 1.573 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-05/0.8219, allocations: 35.91 kB / 1.573 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001433/0.8233, allocations: 0.8833 MB / 1.574 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.92e-07/0.8234, allocations: 0 / 1.574 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002294/0.8257, allocations: 0.69 MB / 1.575 GB, free: 166.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001024/0.8267, allocations: 442.8 kB / 1.575 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004027/0.8308, allocations: 1.489 MB / 1.577 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.809e-06/0.8308, allocations: 4 kB / 1.577 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.8321, allocations: 0.4986 MB / 1.577 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.8357, allocations: 0.614 MB / 1.578 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.8409, allocations: 2.753 MB / 1.581 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/0.8417, allocations: 1.225 MB / 1.582 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001769/0.8434, allocations: 308.4 kB / 1.582 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.8438, allocations: 103.4 kB / 1.582 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.724e-06/0.8438, allocations: 0 / 1.582 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.05403/0.8978, allocations: 26.12 MB / 1.608 GB, free: 133.6 MB / 0.8542 GB