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.959/4.959, allocations: 0.5623 GB / 0.5769 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.002424/0.002424, allocations: 356.2 kB / 0.644 GB, free: 185.7 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.111/4.111, allocations: 410.7 MB / 1.112 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.001784/0.001784, allocations: 183.8 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004798, allocations: 12 kB / 1.348 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5743/0.5748, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05199/0.6269, allocations: 52.75 MB / 1.512 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02291/0.6498, allocations: 16.17 MB / 1.528 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.6523, allocations: 55.62 kB / 1.528 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.6551, allocations: 0.8028 MB / 1.529 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007359/0.6625, allocations: 2.329 MB / 1.531 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.008988/0.6715, allocations: 2.865 MB / 1.534 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005322/0.6769, allocations: 4.34 MB / 1.538 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.6787, allocations: 1.018 MB / 1.539 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.6811, allocations: 1.209 MB / 1.54 GB, free: 203 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.6824, allocations: 0.9713 MB / 1.541 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.6826, allocations: 60 kB / 1.541 GB, free: 202 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.685, allocations: 1.052 MB / 1.542 GB, free: 201 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003633/0.6854, allocations: 322.6 kB / 1.543 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.6858, allocations: 356.9 kB / 1.543 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.6886, allocations: 2.311 MB / 1.545 GB, free: 198 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.095e-06/0.6887, allocations: 8 kB / 1.545 GB, free: 198 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.108e-06/0.6887, allocations: 0 / 1.545 GB, free: 198 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.85e-05/0.6887, allocations: 0 / 1.545 GB, free: 198 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.003305/0.6921, allocations: 1.834 MB / 1.547 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6921, allocations: 15.56 kB / 1.547 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.694, allocations: 393.7 kB / 1.547 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003602/0.6976, allocations: 1.511 MB / 1.549 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007124/0.6983, allocations: 205.8 kB / 1.549 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.6986, allocations: 91.94 kB / 1.549 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.7015, allocations: 1.114 MB / 1.55 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.7016, allocations: 4 kB / 1.55 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.7017, allocations: 40 kB / 1.55 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.7018, allocations: 24 kB / 1.55 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.705, 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.007743/0.7127, allocations: 4.991 MB / 1.556 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.7151, allocations: 0.7325 MB / 1.557 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.7163, allocations: 388.6 kB / 1.557 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002687/0.719, allocations: 1.822 MB / 1.559 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.7204, allocations: 496.9 kB / 1.56 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004613/0.7208, allocations: 71.5 kB / 1.56 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 3.601e-06/0.7209, allocations: 0 / 1.56 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.003754/0.7246, allocations: 1.186 MB / 1.561 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.7247, allocations: 85.09 kB / 1.561 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.7267, allocations: 1.297 MB / 1.562 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.7268, allocations: 33.7 kB / 1.562 GB, free: 180 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/0.7274, allocations: 0.6493 MB / 1.563 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.7275, allocations: 149.9 kB / 1.563 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.7276, allocations: 16 kB / 1.563 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.7277, allocations: 333.9 kB / 1.563 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.7289, allocations: 369.1 kB / 1.564 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.7302, allocations: 0.6196 MB / 1.564 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.7315, allocations: 438.3 kB / 1.565 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.404e-06/0.7316, allocations: 4 kB / 1.565 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003179/0.7347, allocations: 1.14 MB / 1.566 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.7349, allocations: 327.6 kB / 1.566 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.7349, allocations: 8 kB / 1.566 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.735, allocations: 15.98 kB / 1.566 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009911/0.736, allocations: 203.7 kB / 1.566 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.736, allocations: 11.95 kB / 1.566 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.7374, allocations: 128.4 kB / 1.566 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7376, allocations: 43.92 kB / 1.566 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.7376, allocations: 4 kB / 1.566 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002535/0.7401, allocations: 0.9681 MB / 1.567 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.7402, allocations: 8 kB / 1.567 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7402, allocations: 12 kB / 1.567 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.741, allocations: 188.3 kB / 1.568 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.7411, allocations: 19.92 kB / 1.568 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.7423, allocations: 110.2 kB / 1.568 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/0.7424, allocations: 35.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.0008088/0.7433, allocations: 498.5 kB / 1.568 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.7435, allocations: 134.3 kB / 1.568 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.7465, allocations: 1.076 MB / 1.569 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.7465, allocations: 8 kB / 1.569 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.619e-06/0.7466, allocations: 0 / 1.569 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.983e-06/0.7466, allocations: 3.984 kB / 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.004819/0.7514, allocations: 2.22 MB / 1.572 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.679e-06/0.7515, allocations: 4 kB / 1.572 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.7522, allocations: 136 kB / 1.572 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.247e-06/0.7523, allocations: 0 / 1.572 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.7523, allocations: 23.98 kB / 1.572 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-06/0.7523, allocations: 4 kB / 1.572 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.7524, allocations: 7.953 kB / 1.572 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.7552, allocations: 1.102 MB / 1.573 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.7558, allocations: 319 kB / 1.573 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.756, allocations: 20 kB / 1.573 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.7572, allocations: 123 kB / 1.573 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.7573, allocations: 43.69 kB / 1.573 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/0.7574, allocations: 27.97 kB / 1.573 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001445/0.7589, allocations: 0.8793 MB / 1.574 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.19e-07/0.7589, allocations: 4 kB / 1.574 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002293/0.7612, allocations: 0.6861 MB / 1.575 GB, free: 166.6 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.0009953/0.7622, allocations: 446.5 kB / 1.575 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003988/0.7662, allocations: 1.497 MB / 1.577 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.7663, allocations: 0 / 1.577 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.7676, allocations: 0.4909 MB / 1.577 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/0.7711, allocations: 0.6127 MB / 1.578 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.7762, allocations: 2.753 MB / 1.581 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/0.777, allocations: 1.237 MB / 1.582 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0018/0.7788, allocations: 296.2 kB / 1.582 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.7792, allocations: 107.4 kB / 1.582 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.554e-06/0.7792, allocations: 0 / 1.582 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.05393/0.8332, allocations: 26.14 MB / 1.608 GB, free: 133.6 MB / 0.8542 GB