Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.533/2.533, allocations: 287.9 MB / 302.9 MB, free: 8.359 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.001416/0.001416, allocations: 175 kB / 371.4 MB, free: 10.66 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.083/2.083, allocations: 205.4 MB / 0.6301 GB, free: 10.29 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.001091/0.001091, allocations: 91.55 kB / 0.7434 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004609, allocations: 11.94 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1697, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.09143/0.2611, allocations: 71.55 MB / 1.049 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.71/0.9712, allocations: 21.73 MB / 1.07 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004316/0.9756, allocations: 95.38 kB / 1.07 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006119/0.9817, allocations: 1.613 MB / 1.072 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01316/0.9949, allocations: 3.874 MB / 1.075 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01428/1.009, allocations: 3.77 MB / 1.079 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01066/1.02, allocations: 4.903 MB / 1.084 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004704/1.025, allocations: 2.083 MB / 1.086 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006249/1.031, allocations: 2.126 MB / 1.088 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003918/1.035, allocations: 1.591 MB / 1.089 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007931/1.036, allocations: 145.8 kB / 1.09 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008765/1.045, allocations: 2.413 MB / 1.092 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001329/1.046, allocations: 0.5776 MB / 1.093 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001782/1.048, allocations: 0.6974 MB / 1.093 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01017/1.058, allocations: 5.344 MB / 1.098 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.754e-06/1.058, allocations: 0 / 1.098 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.892e-06/1.058, allocations: 0 / 1.098 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001355/1.058, allocations: 1.094 kB / 1.098 GB, free: 10.68 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: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.00882/1.067, allocations: 3.29 MB / 1.102 GB, free: 24.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.067, allocations: 9.188 kB / 1.102 GB, free: 24.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.069, allocations: 372.8 kB / 1.102 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00626/1.075, allocations: 2.35 MB / 1.104 GB, free: 24.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/1.075, allocations: 165.2 kB / 1.104 GB, free: 24.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005224/1.076, allocations: 218.7 kB / 1.105 GB, free: 24.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005743/1.082, allocations: 2.158 MB / 1.107 GB, free: 24.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-05/1.082, allocations: 2.953 kB / 1.107 GB, free: 24.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/1.082, allocations: 87.66 kB / 1.107 GB, free: 24.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/1.082, allocations: 51.69 kB / 1.107 GB, free: 24.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/1.086, allocations: 1.658 MB / 1.109 GB, free: 23.98 MB / 0.698 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.01774/1.104, allocations: 9.382 MB / 1.118 GB, free: 19.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/1.106, allocations: 1.169 MB / 1.119 GB, free: 19.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003373/1.11, allocations: 2.92 MB / 1.122 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.291e-05/1.11, allocations: 52.25 kB / 1.122 GB, free: 16.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 5.447e-06/1.11, allocations: 0.9375 kB / 1.122 GB, free: 16.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.007631/1.118, allocations: 2.709 MB / 1.124 GB, free: 15.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/1.118, allocations: 95.89 kB / 1.124 GB, free: 14.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00474/1.123, allocations: 2.308 MB / 1.127 GB, free: 14.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003404/1.123, allocations: 56.8 kB / 1.127 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/1.124, allocations: 1.18 MB / 1.128 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006148/1.125, allocations: 0.5215 MB / 1.128 GB, free: 13.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.125, allocations: 37.72 kB / 1.128 GB, free: 13.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.125, allocations: 378.1 kB / 1.129 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/1.126, allocations: 0.5551 MB / 1.129 GB, free: 13.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/1.128, allocations: 0.919 MB / 1.13 GB, free: 12.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/1.13, allocations: 0.7168 MB / 1.131 GB, free: 12.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.13, allocations: 1.531 kB / 1.131 GB, free: 12.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005631/1.136, allocations: 2.109 MB / 1.133 GB, free: 12.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001293/1.137, allocations: 2.714 MB / 1.136 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.944e-05/1.137, allocations: 13.05 kB / 1.136 GB, free: 9.195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/1.139, allocations: 266.1 kB / 1.136 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.141, allocations: 383.7 kB / 1.136 GB, free: 9.051 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/1.148, allocations: 7.08 MB / 1.143 GB, free: 2.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/1.151, allocations: 316.9 kB / 1.144 GB, free: 2.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/1.152, allocations: 75.45 kB / 1.144 GB, free: 2.312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.152, allocations: 3.562 kB / 1.144 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004443/1.156, allocations: 1.796 MB / 1.145 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/1.156, allocations: 8.969 kB / 1.145 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007117/1.157, allocations: 219 kB / 1.146 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/1.159, allocations: 385.8 kB / 1.146 GB, free: 1.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/1.169, allocations: 9.131 MB / 1.155 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003221/1.172, allocations: 295.7 kB / 1.155 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004279/1.173, allocations: 74.78 kB / 1.155 GB, free: 9.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002026/1.175, allocations: 0.6578 MB / 1.156 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009094/1.176, allocations: 252 kB / 1.156 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/1.181, allocations: 2.026 MB / 1.158 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/1.181, allocations: 22.28 kB / 1.158 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.181, allocations: 3.312 kB / 1.158 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003706/1.185, allocations: 1.64 MB / 1.16 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.196, allocations: 4.391 MB / 1.164 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.196, allocations: 3.953 kB / 1.164 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.198, allocations: 279.2 kB / 1.164 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008199/1.199, allocations: 217.2 kB / 1.164 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/1.199, allocations: 39.3 kB / 1.165 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007627/1.207, allocations: 7.1 MB / 1.171 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.215e-06/1.207, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006099/1.213, allocations: 2.709 MB / 1.174 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/1.215, allocations: 0.6157 MB / 1.175 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007939/1.216, allocations: 32.28 kB / 1.175 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00246/1.218, allocations: 146.3 kB / 1.175 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/1.218, allocations: 96.7 kB / 1.175 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.219, allocations: 61.73 kB / 1.175 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003431/1.222, allocations: 1.556 MB / 1.177 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.71e-07/1.222, allocations: 0 / 1.177 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007968/1.23, allocations: 1.886 MB / 1.178 GB, free: 13.95 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00319/1.233, allocations: 1.101 MB / 1.179 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008746/1.242, allocations: 3.719 MB / 1.183 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.282e-06/1.242, allocations: 0 / 1.183 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00254/1.245, allocations: 1.227 MB / 1.184 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007821/1.253, allocations: 1.318 MB / 1.186 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.265, allocations: 6.051 MB / 1.191 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/1.267, allocations: 1.793 MB / 1.193 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00363/1.271, allocations: 0.5949 MB / 1.194 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008014/1.272, allocations: 203.4 kB / 1.194 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of SimCode: time 2.16e-06/1.272, allocations: 4 kB / 1.194 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.1505/1.422, allocations: 60.82 MB / 1.253 GB, free: 2.609 MB / 0.7917 GB