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 2.542/2.542, allocations: 287.9 MB / 302.9 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001464, allocations: 166.9 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 96.98 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004687, allocations: 14.72 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1636, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05947/0.2231, allocations: 48.06 MB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0295/0.2526, allocations: 15.39 MB / 1.041 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.2549, allocations: 59.56 kB / 1.041 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.2584, allocations: 0.8787 MB / 1.042 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008016/0.2664, allocations: 2.198 MB / 1.044 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.2768, allocations: 2.799 MB / 1.046 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005069/0.2819, allocations: 2.276 MB / 1.049 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.2838, allocations: 1.026 MB / 1.05 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.2863, allocations: 1.094 MB / 1.051 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.2876, allocations: 0.696 MB / 1.051 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.2878, allocations: 56 kB / 1.052 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.2909, allocations: 1.08 MB / 1.053 GB, free: 432 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004588/0.2914, allocations: 310.7 kB / 1.053 GB, free: 120 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005929/0.292, allocations: 356.9 kB / 1.053 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.2957, allocations: 2.299 MB / 1.055 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.653e-06/0.2957, allocations: 0 / 1.055 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2958, allocations: 0 / 1.055 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.2958, allocations: 0 / 1.055 GB, free: 13.46 MB / 0.6823 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.00418/0.3, allocations: 1.83 MB / 1.057 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3, allocations: 16.03 kB / 1.057 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.3021, allocations: 393.6 kB / 1.058 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/0.3056, allocations: 1.457 MB / 1.059 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008073/0.3065, allocations: 197.9 kB / 1.059 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.3067, allocations: 88 kB / 1.059 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.31, allocations: 1.103 MB / 1.06 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.3101, allocations: 8 kB / 1.06 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.3102, allocations: 36 kB / 1.06 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.3103, allocations: 20 kB / 1.06 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.3137, allocations: 0.9407 MB / 1.061 GB, free: 7.223 MB / 0.6823 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.01347/0.3272, allocations: 5.05 MB / 1.066 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/0.3318, allocations: 0.698 MB / 1.067 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5153/0.8471, allocations: 1.814 MB / 1.069 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/0.8487, allocations: 481.2 kB / 1.069 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005399/0.8493, allocations: 77.05 kB / 1.069 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.893e-06/0.8493, allocations: 0 / 1.069 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.004312/0.8536, allocations: 1.252 MB / 1.071 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.8537, allocations: 84.38 kB / 1.071 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.8564, allocations: 1.327 MB / 1.072 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.8565, allocations: 38.2 kB / 1.072 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006911/0.8572, allocations: 0.6471 MB / 1.073 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.8575, allocations: 153 kB / 1.073 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.8575, allocations: 10.66 kB / 1.073 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.8576, allocations: 332.7 kB / 1.073 GB, free: 87.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.8592, allocations: 357.1 kB / 1.073 GB, free: 87.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.8609, allocations: 0.6091 MB / 1.074 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.8626, allocations: 439.1 kB / 1.074 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.8626, allocations: 2.031 kB / 1.074 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004135/0.8668, allocations: 1.13 MB / 1.076 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005697/0.8674, allocations: 2.698 MB / 1.078 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.8674, allocations: 7.812 kB / 1.078 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.8675, allocations: 11.09 kB / 1.078 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.8687, allocations: 209.1 kB / 1.078 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.724e-05/0.8687, allocations: 19.44 kB / 1.078 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.8703, allocations: 129.6 kB / 1.079 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.8704, allocations: 39.58 kB / 1.079 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.8705, allocations: 4.969 kB / 1.079 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003086/0.8735, allocations: 0.9539 MB / 1.079 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.8736, allocations: 10.78 kB / 1.079 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.8736, allocations: 13.55 kB / 1.079 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009497/0.8746, allocations: 183.4 kB / 1.08 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/0.8746, allocations: 16.23 kB / 1.08 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.876, allocations: 113.1 kB / 1.08 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.8762, allocations: 36.98 kB / 1.08 GB, free: 83.7 MB / 0.6823 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.000963/0.8771, allocations: 0.4892 MB / 1.08 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.8775, allocations: 135.6 kB / 1.08 GB, free: 83.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.8811, allocations: 1.064 MB / 1.081 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.8812, allocations: 9.688 kB / 1.081 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.8812, allocations: 0.75 kB / 1.081 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.8812, allocations: 2.016 kB / 1.081 GB, free: 82.9 MB / 0.6823 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.005833/0.887, allocations: 2.282 MB / 1.084 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.509e-06/0.8871, allocations: 1.5 kB / 1.084 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008465/0.8879, allocations: 135 kB / 1.084 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.888, allocations: 3.609 kB / 1.084 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/0.888, allocations: 19.94 kB / 1.084 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.091e-06/0.8881, allocations: 3.828 kB / 1.084 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.8881, allocations: 16.81 kB / 1.084 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/0.8913, allocations: 1.148 MB / 1.085 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006577/0.892, allocations: 323.1 kB / 1.085 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.8922, allocations: 17 kB / 1.085 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.8935, allocations: 123.7 kB / 1.085 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.8936, allocations: 33.11 kB / 1.085 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.8937, allocations: 33.08 kB / 1.086 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001737/0.8955, allocations: 0.9151 MB / 1.086 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.73e-07/0.8955, allocations: 0 / 1.086 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002647/0.8982, allocations: 0.7103 MB / 1.087 GB, free: 80.39 MB / 0.6823 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.001209/0.8994, allocations: 478.2 kB / 1.088 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004488/0.9039, allocations: 1.469 MB / 1.089 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.68e-06/0.904, allocations: 0 / 1.089 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.9054, allocations: 499.3 kB / 1.089 GB, free: 79.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/0.9088, allocations: 0.6136 MB / 1.09 GB, free: 79.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/0.9148, allocations: 2.779 MB / 1.093 GB, free: 77.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000972/0.9158, allocations: 1.238 MB / 1.094 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001947/0.9177, allocations: 300.7 kB / 1.094 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.9182, allocations: 107.7 kB / 1.094 GB, free: 77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.637e-06/0.9182, allocations: 0 / 1.094 GB, free: 77 MB / 0.6823 GB Notification: Performance of Templates: time 0.06192/0.9801, allocations: 26.89 MB / 1.121 GB, free: 64.9 MB / 0.6823 GB