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.InternalHEXTwoUTube.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.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008363/0.0008364, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005432/0.005432, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.695/2.695, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 9.969 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.07816/0.3498, allocations: 84.09 MB / 1.156 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03368/0.3835, allocations: 25.13 MB / 1.181 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004347/0.3879, allocations: 107.3 kB / 1.181 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005145/0.393, allocations: 1.527 MB / 1.182 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.4047, allocations: 3.732 MB / 1.186 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.009789/0.4145, allocations: 3.678 MB / 1.19 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01362/0.4281, allocations: 10.76 MB / 1.2 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003952/0.4321, allocations: 2.29 MB / 1.202 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/0.4369, allocations: 2.407 MB / 1.205 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.4408, allocations: 2.302 MB / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005217/0.4414, allocations: 144 kB / 1.207 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007164/0.4486, allocations: 3.186 MB / 1.21 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.4498, allocations: 0.6378 MB / 1.211 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003092/0.4529, allocations: 1.673 MB / 1.213 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.4633, allocations: 7.025 MB / 1.219 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4633, allocations: 0 / 1.219 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4633, allocations: 0 / 1.219 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001013/0.4634, allocations: 0 / 1.219 GB, free: 2.352 MB / 0.9669 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.006014/0.4694, allocations: 3.276 MB / 1.223 GB, free: 15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4695, allocations: 8.031 kB / 1.223 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008511/0.4703, allocations: 379.8 kB / 1.223 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/0.4746, allocations: 2.581 MB / 1.225 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.4747, allocations: 160.1 kB / 1.226 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.475, allocations: 219.9 kB / 1.226 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.4788, allocations: 2.19 MB / 1.228 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/0.4788, allocations: 11.88 kB / 1.228 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.479, allocations: 87.98 kB / 1.228 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.4791, allocations: 56 kB / 1.228 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.482, allocations: 1.671 MB / 1.23 GB, free: 7.445 MB / 0.9825 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.01225/0.4942, allocations: 9.3 MB / 1.239 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.496, allocations: 1.195 MB / 1.24 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.4972, allocations: 0.8297 MB / 1.241 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002635/0.4998, allocations: 2.926 MB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.4999, allocations: 51.88 kB / 1.244 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=148): time 1.43e-05/0.4999, allocations: 0 / 1.244 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=148): time 0.005346/0.5053, allocations: 2.748 MB / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.5053, allocations: 94.36 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.5084, allocations: 2.255 MB / 1.249 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.5086, allocations: 57.7 kB / 1.249 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009725/0.5095, allocations: 1.193 MB / 1.25 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.51, allocations: 0.5121 MB / 1.25 GB, free: 1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.5102, allocations: 161.6 kB / 1.251 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.5103, allocations: 305.1 kB / 1.251 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5049/1.015, allocations: 0.5698 MB / 1.251 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/1.017, allocations: 0.933 MB / 1.252 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/1.019, allocations: 1.486 MB / 1.254 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/1.019, allocations: 2.406 kB / 1.254 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004304/1.024, allocations: 2.13 MB / 1.256 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.024, allocations: 300.2 kB / 1.256 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/1.024, allocations: 9.953 kB / 1.256 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009851/1.025, allocations: 271.8 kB / 1.256 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.026, allocations: 387.7 kB / 1.257 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/1.03, allocations: 7.063 MB / 1.264 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.032, allocations: 290.7 kB / 1.264 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.033, allocations: 73.73 kB / 1.264 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/1.033, allocations: 3.969 kB / 1.264 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002705/1.035, allocations: 1.826 MB / 1.266 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/1.035, allocations: 10.12 kB / 1.266 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/1.036, allocations: 213.3 kB / 1.266 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.037, allocations: 384.7 kB / 1.266 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/1.042, allocations: 9.123 MB / 1.275 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/1.044, allocations: 268.2 kB / 1.276 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.044, allocations: 75.31 kB / 1.276 GB, free: 152.3 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001167/1.045, allocations: 0.6514 MB / 1.276 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/1.046, allocations: 261.1 kB / 1.277 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/1.049, allocations: 2.017 MB / 1.278 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/1.049, allocations: 25.2 kB / 1.278 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.049, allocations: 3.312 kB / 1.279 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002299/1.051, allocations: 1.655 MB / 1.28 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006773/1.058, allocations: 4.363 MB / 1.284 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/1.058, allocations: 5.594 kB / 1.284 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.059, allocations: 278 kB / 1.285 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/1.06, allocations: 212 kB / 1.285 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/1.06, allocations: 38.02 kB / 1.285 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/1.063, allocations: 7.071 MB / 1.292 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.063, allocations: 1.125 kB / 1.292 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/1.068, allocations: 2.648 MB / 1.294 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.069, allocations: 0.5933 MB / 1.295 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/1.069, allocations: 28.7 kB / 1.295 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.07, allocations: 141.5 kB / 1.295 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.07, allocations: 108.6 kB / 1.295 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.07, allocations: 58.67 kB / 1.295 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002303/1.073, allocations: 1.52 MB / 1.297 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.073, allocations: 0 / 1.297 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005083/1.078, allocations: 1.862 MB / 1.299 GB, free: 138.3 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002235/1.08, allocations: 1.11 MB / 1.3 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004993/1.085, allocations: 3.731 MB / 1.303 GB, free: 136 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.085, allocations: 1.062 kB / 1.303 GB, free: 136 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/1.087, allocations: 1.23 MB / 1.305 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006798/1.093, allocations: 1.319 MB / 1.306 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/1.101, allocations: 6.314 MB / 1.312 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.103, allocations: 1.743 MB / 1.314 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002552/1.105, allocations: 0.5945 MB / 1.314 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/1.106, allocations: 208.3 kB / 1.314 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.106, allocations: 0 / 1.314 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.07799/1.184, allocations: 60.49 MB / 1.374 GB, free: 79.09 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)