Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.271/2.271, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 179.8 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.668/2.668, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 99.92 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 14.62 kB / 0.7952 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2293, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06894/0.2983, allocations: 54.51 MB / 0.9521 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02706/0.3254, allocations: 14.39 MB / 0.9662 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.3283, allocations: 51.69 kB / 0.9662 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005343/0.3337, allocations: 1.081 MB / 0.9673 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009549/0.3433, allocations: 2.231 MB / 0.9695 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0118/0.3551, allocations: 2.767 MB / 0.9722 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006767/0.3619, allocations: 2.641 MB / 0.9748 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.3645, allocations: 1.073 MB / 0.9758 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.3684, allocations: 1.195 MB / 0.977 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002317/0.3708, allocations: 0.875 MB / 0.9778 GB, free: 492 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004166/0.3712, allocations: 76 kB / 0.9779 GB, free: 416 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006666/0.3779, allocations: 1.935 MB / 0.9798 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008796/0.3788, allocations: 342.7 kB / 0.9801 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008103/0.3797, allocations: 404.8 kB / 0.9805 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007157/0.3868, allocations: 3.211 MB / 0.9836 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3869, allocations: 0 / 0.9836 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.035e-06/0.3869, allocations: 4 kB / 0.9836 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.453e-05/0.387, allocations: 0 / 0.9836 GB, free: 10.51 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.006499/0.3935, allocations: 2.045 MB / 0.9856 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.3936, allocations: 8.031 kB / 0.9856 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.3949, allocations: 209.6 kB / 0.9858 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0057/0.4006, allocations: 1.399 MB / 0.9872 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.4008, allocations: 89.97 kB / 0.9873 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004472/0.4013, allocations: 112 kB / 0.9874 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004546/0.4058, allocations: 1.097 MB / 0.9885 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-05/0.406, allocations: 3.938 kB / 0.9885 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.4062, allocations: 48 kB / 0.9885 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/0.4063, allocations: 27.98 kB / 0.9886 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003734/0.41, allocations: 0.8161 MB / 0.9893 GB, free: 4.473 MB / 0.6355 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.0192/0.4293, allocations: 6.846 MB / 0.996 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.4317, allocations: 0.7438 MB / 0.9968 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/0.4341, allocations: 1.271 MB / 0.998 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.626e-05/0.4342, allocations: 43.22 kB / 0.998 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 4.739e-06/0.4343, allocations: 0 / 0.998 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.00547/0.4397, allocations: 1.166 MB / 0.9992 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.4399, allocations: 89.75 kB / 0.9993 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005169/0.4451, allocations: 1.531 MB / 1.001 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002647/0.4454, allocations: 41.7 kB / 1.001 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.4468, allocations: 0.7093 MB / 1.001 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006043/0.4474, allocations: 260.2 kB / 1.002 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.4476, allocations: 20 kB / 1.002 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.4478, allocations: 338 kB / 1.002 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.4492, allocations: 273.9 kB / 1.002 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.4509, allocations: 496.2 kB / 1.003 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.4526, allocations: 358.9 kB / 1.003 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.4527, allocations: 4 kB / 1.003 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004721/0.4574, allocations: 1.009 MB / 1.004 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008293/0.4583, allocations: 1.357 MB / 1.005 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.473e-05/0.4584, allocations: 7.953 kB / 1.005 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.459, allocations: 69.69 kB / 1.006 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.4611, allocations: 199.7 kB / 1.006 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.4652, allocations: 2.985 MB / 1.009 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/0.468, allocations: 158.8 kB / 1.009 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/0.4683, allocations: 35.98 kB / 1.009 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4684, allocations: 4 kB / 1.009 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00349/0.4719, allocations: 0.8411 MB / 1.01 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/0.472, allocations: 4 kB / 1.01 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.4723, allocations: 66.16 kB / 1.01 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.4741, allocations: 195.7 kB / 1.01 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004271/0.4784, allocations: 2.977 MB / 1.013 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.4811, allocations: 143 kB / 1.013 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.4814, allocations: 43.98 kB / 1.013 GB, free: 10.36 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0015/0.483, allocations: 453.4 kB / 1.013 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007079/0.4837, allocations: 154 kB / 1.014 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/0.4877, allocations: 1.054 MB / 1.015 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/0.4878, allocations: 11.98 kB / 1.015 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.4878, allocations: 4 kB / 1.015 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002735/0.4906, allocations: 0.7771 MB / 1.015 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.5012, allocations: 2.707 MB / 1.018 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.5013, allocations: 4 kB / 1.018 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.5029, allocations: 139.8 kB / 1.018 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005534/0.5035, allocations: 82.11 kB / 1.018 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.5037, allocations: 20 kB / 1.018 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/0.5081, allocations: 2.989 MB / 1.021 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.5082, allocations: 7.938 kB / 1.021 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005044/0.5132, allocations: 1.624 MB / 1.023 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.5149, allocations: 402.6 kB / 1.023 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006881/0.5156, allocations: 16 kB / 1.023 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/0.5177, allocations: 55.95 kB / 1.023 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.518, allocations: 64.44 kB / 1.023 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.5181, allocations: 35.92 kB / 1.023 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003576/0.5217, allocations: 1.084 MB / 1.024 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.62e-07/0.5218, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006694/0.5285, allocations: 1.092 MB / 1.025 GB, free: 12.91 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00385/0.5324, allocations: 0.834 MB / 1.026 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006403/0.5389, allocations: 1.692 MB / 1.028 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/0.5389, allocations: 3.938 kB / 1.028 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.5409, allocations: 0.5943 MB / 1.029 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009601/0.5505, allocations: 0.7848 MB / 1.029 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.562, allocations: 3.458 MB / 1.033 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/0.5642, allocations: 1.305 MB / 1.034 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003527/0.5677, allocations: 373.6 kB / 1.034 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008756/0.5687, allocations: 131.4 kB / 1.034 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/0.5687, allocations: 0 / 1.034 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of Templates: time 0.9419/1.511, allocations: 37.57 MB / 1.071 GB, free: 138.5 MB / 0.698 GB