Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008262/0.0008262, allocations: 91.77 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.005311/0.005311, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005553/0.0005553, allocations: 14.03 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3609, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.03785/0.3988, allocations: 39.48 MB / 1.113 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01606/0.4149, allocations: 12.4 MB / 1.125 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.4164, allocations: 51.62 kB / 1.125 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.4179, allocations: 0.5634 MB / 1.125 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.4224, allocations: 1.909 MB / 1.127 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.4254, allocations: 1.286 MB / 1.129 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004907/0.4304, allocations: 4.568 MB / 1.133 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.4316, allocations: 0.9704 MB / 1.134 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.4335, allocations: 1.058 MB / 1.135 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.435, allocations: 0.9487 MB / 1.136 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.4351, allocations: 52 kB / 1.136 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.438, allocations: 1.493 MB / 1.137 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.4383, allocations: 246.8 kB / 1.138 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007527/0.439, allocations: 0.678 MB / 1.138 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.442, allocations: 2.512 MB / 1.141 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.442, allocations: 0 / 1.141 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.784e-06/0.442, allocations: 4 kB / 1.141 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.442, allocations: 4 kB / 1.141 GB, free: 3.074 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002443/0.4445, allocations: 1.491 MB / 1.142 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4445, allocations: 8.031 kB / 1.142 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.4449, allocations: 155.2 kB / 1.142 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.4466, allocations: 1.15 MB / 1.143 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.4466, allocations: 73.94 kB / 1.144 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.4468, allocations: 91.98 kB / 1.144 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.4483, allocations: 0.9012 MB / 1.145 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.4483, allocations: 0 / 1.145 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.4484, allocations: 40 kB / 1.145 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.4484, allocations: 24 kB / 1.145 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.4495, allocations: 0.648 MB / 1.145 GB, free: 14.37 MB / 0.9044 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.004878/0.4544, allocations: 4.289 MB / 1.149 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009211/0.4553, allocations: 0.5023 MB / 1.15 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.4559, allocations: 322.1 kB / 1.15 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/0.4565, allocations: 0.6057 MB / 1.151 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.4566, allocations: 39.11 kB / 1.151 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=57): time 1.953e-06/0.4566, allocations: 4 kB / 1.151 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=57): time 0.002417/0.459, allocations: 1.22 MB / 1.152 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.459, allocations: 55.97 kB / 1.152 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.4602, allocations: 0.8876 MB / 1.153 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.4602, allocations: 41.7 kB / 1.153 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.4606, allocations: 0.5113 MB / 1.153 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.4608, allocations: 205 kB / 1.154 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.4609, allocations: 69.69 kB / 1.154 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.461, allocations: 337.9 kB / 1.154 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.4614, allocations: 201.9 kB / 1.154 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.4619, allocations: 396.5 kB / 1.155 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.4627, allocations: 0.5682 MB / 1.155 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4627, allocations: 0 / 1.155 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001556/0.4643, allocations: 0.8583 MB / 1.156 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.4644, allocations: 192 kB / 1.156 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.4644, allocations: 8.109 kB / 1.156 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.465, allocations: 171.2 kB / 1.156 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.4655, allocations: 139.8 kB / 1.157 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/0.469, allocations: 4.826 MB / 1.161 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/0.4698, allocations: 116.1 kB / 1.161 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.4699, allocations: 31.98 kB / 1.161 GB, free: 12.61 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.4699, allocations: 8 kB / 1.161 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/0.4711, allocations: 0.7173 MB / 1.162 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4711, allocations: 4 kB / 1.162 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.4715, allocations: 127.4 kB / 1.162 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.4719, allocations: 144.1 kB / 1.162 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004373/0.4763, allocations: 5.822 MB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.477, allocations: 111.4 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.4771, allocations: 35.94 kB / 1.168 GB, free: 5.074 MB / 0.92 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 (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004605/0.4776, allocations: 368.9 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.4777, allocations: 102.8 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.479, allocations: 0.7046 MB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.479, allocations: 4 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.479, allocations: 4 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009464/0.48, allocations: 0.6571 MB / 1.17 GB, free: 3.18 MB / 0.92 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.002513/0.4825, allocations: 1.823 MB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4825, allocations: 4 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.4829, allocations: 87.89 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003068/0.4832, allocations: 123.5 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.4833, allocations: 19.92 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.4866, allocations: 4.823 MB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4866, allocations: 0 / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.4881, allocations: 1.03 MB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.4884, allocations: 267.6 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.4885, allocations: 19.94 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.4892, allocations: 62.38 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.4893, allocations: 44.5 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.4893, allocations: 23.98 kB / 1.178 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000777/0.4901, allocations: 0.614 MB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4901, allocations: 0 / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002071/0.4922, allocations: 0.7132 MB / 1.179 GB, free: 8.938 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.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 (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008788/0.4931, allocations: 464.8 kB / 1.18 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.4954, allocations: 1.784 MB / 1.182 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4955, allocations: 4 kB / 1.182 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007221/0.4962, allocations: 0.6012 MB / 1.182 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/0.499, allocations: 0.5474 MB / 1.183 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.5022, allocations: 2.523 MB / 1.185 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.5029, allocations: 1.101 MB / 1.186 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007743/0.5036, allocations: 220.7 kB / 1.186 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.5038, allocations: 87.36 kB / 1.187 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.5038, allocations: 0 / 1.187 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.03798/0.5418, allocations: 23.59 MB / 1.21 GB, free: 10.11 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)