Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007063/0.007063, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.704/2.704, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 9.781 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2705, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06067/0.3313, allocations: 63.9 MB / 1.137 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02181/0.3531, allocations: 16.64 MB / 1.153 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.3553, allocations: 59.62 kB / 1.153 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003114/0.3584, allocations: 1.03 MB / 1.154 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005979/0.3645, allocations: 2.165 MB / 1.156 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006475/0.3709, allocations: 2.589 MB / 1.159 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006461/0.3774, allocations: 5.703 MB / 1.164 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.3792, allocations: 1.183 MB / 1.165 GB, free: 9.957 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.3816, allocations: 1.349 MB / 1.167 GB, free: 8.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.3833, allocations: 1.252 MB / 1.168 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.3835, allocations: 80 kB / 1.168 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004963/0.3885, allocations: 2.55 MB / 1.17 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006649/0.3892, allocations: 374.4 kB / 1.171 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.3905, allocations: 0.9383 MB / 1.172 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00661/0.3971, allocations: 4.35 MB / 1.176 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3972, allocations: 0 / 1.176 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3972, allocations: 0 / 1.176 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.177e-05/0.3972, allocations: 4 kB / 1.176 GB, free: 15.02 MB / 0.9356 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.003773/0.401, allocations: 2.045 MB / 1.178 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4011, allocations: 12.03 kB / 1.178 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.4015, allocations: 210.6 kB / 1.178 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.4039, allocations: 1.532 MB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.404, allocations: 86.02 kB / 1.18 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.4041, allocations: 104 kB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.406, allocations: 1.108 MB / 1.181 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.406, allocations: 7.844 kB / 1.181 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/0.4061, allocations: 44 kB / 1.181 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.4061, allocations: 24 kB / 1.181 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.4075, allocations: 0.8317 MB / 1.182 GB, free: 8.848 MB / 0.9356 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.007736/0.4152, allocations: 6.815 MB / 1.188 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000934/0.4162, allocations: 0.7468 MB / 1.189 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000519/0.4167, allocations: 358.7 kB / 1.189 GB, free: 200 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.4179, allocations: 1.278 MB / 1.191 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4179, allocations: 43.16 kB / 1.191 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.4179, allocations: 3.938 kB / 1.191 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72): time 0.002114/0.42, allocations: 1.179 MB / 1.192 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.4201, allocations: 89.7 kB / 1.192 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.4221, allocations: 1.501 MB / 1.193 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.172e-05/0.4222, allocations: 41.7 kB / 1.193 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.4228, allocations: 0.7132 MB / 1.194 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.423, allocations: 260.2 kB / 1.194 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4231, allocations: 85.67 kB / 1.195 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4232, allocations: 341.9 kB / 1.195 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.4237, allocations: 277.9 kB / 1.195 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.4243, allocations: 494.5 kB / 1.196 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.4254, allocations: 0.7146 MB / 1.196 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4254, allocations: 0 / 1.196 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001648/0.427, allocations: 1.024 MB / 1.197 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.4272, allocations: 192 kB / 1.197 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.4272, allocations: 4 kB / 1.197 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/0.4275, allocations: 81.61 kB / 1.198 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.4281, allocations: 187.7 kB / 1.198 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.4304, allocations: 2.981 MB / 1.201 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.4314, allocations: 154.8 kB / 1.201 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.4315, allocations: 36 kB / 1.201 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.4315, allocations: 4 kB / 1.201 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001433/0.433, allocations: 0.8488 MB / 1.202 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.433, allocations: 4 kB / 1.202 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.4332, allocations: 69.67 kB / 1.202 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.4338, allocations: 183.7 kB / 1.202 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.4359, allocations: 2.958 MB / 1.205 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.437, allocations: 135.1 kB / 1.205 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.4371, allocations: 36.23 kB / 1.205 GB, free: 15.21 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007547/0.4378, allocations: 456.8 kB / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.4381, allocations: 162 kB / 1.206 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.44, allocations: 1.051 MB / 1.207 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.44, allocations: 15.92 kB / 1.207 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.44, allocations: 4 kB / 1.207 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001128/0.4412, allocations: 0.781 MB / 1.207 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.4455, allocations: 2.703 MB / 1.21 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.4455, allocations: 0 / 1.21 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.4461, allocations: 144.2 kB / 1.21 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/0.4463, allocations: 73.69 kB / 1.21 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.4463, allocations: 23.98 kB / 1.21 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.4485, allocations: 2.978 MB / 1.213 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4485, allocations: 7.984 kB / 1.213 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.4505, allocations: 1.401 MB / 1.215 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005865/0.4511, allocations: 390.6 kB / 1.215 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.4512, allocations: 16 kB / 1.215 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007249/0.452, allocations: 55.89 kB / 1.215 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/0.4521, allocations: 60.42 kB / 1.215 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.4521, allocations: 35.98 kB / 1.215 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001498/0.4537, allocations: 1.061 MB / 1.216 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4537, allocations: 0 / 1.216 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002792/0.4565, allocations: 1.092 MB / 1.217 GB, free: 2.164 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001759/0.4582, allocations: 0.8338 MB / 1.218 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002506/0.4607, allocations: 1.696 MB / 1.22 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4608, allocations: 4 kB / 1.22 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.4615, allocations: 0.5953 MB / 1.22 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/0.4662, allocations: 0.8251 MB / 1.221 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.4708, allocations: 3.596 MB / 1.225 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008459/0.4717, allocations: 1.278 MB / 1.226 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001366/0.4731, allocations: 375.7 kB / 1.226 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.4734, allocations: 127.4 kB / 1.226 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.4734, allocations: 0 / 1.226 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.5229/0.9963, allocations: 38.16 MB / 1.264 GB, free: 162.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)