Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009968/0.0009967, allocations: 98.27 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.007753/0.007753, allocations: 170 kB / 16.27 MB, free: 6.66 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003183, allocations: 9.156 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2642, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.03762/0.3019, allocations: 39.49 MB / 1.113 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01684/0.3187, allocations: 12.4 MB / 1.125 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.3207, allocations: 51.69 kB / 1.125 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.3223, allocations: 0.5633 MB / 1.125 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005031/0.3273, allocations: 1.902 MB / 1.127 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.3306, allocations: 1.283 MB / 1.129 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005286/0.3359, allocations: 4.572 MB / 1.133 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.3375, allocations: 0.9626 MB / 1.134 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.3397, allocations: 1.065 MB / 1.135 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.341, allocations: 0.9487 MB / 1.136 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.3411, allocations: 48 kB / 1.136 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.344, allocations: 1.493 MB / 1.137 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.3443, allocations: 246.8 kB / 1.138 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007219/0.345, allocations: 0.6741 MB / 1.138 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.348, allocations: 2.516 MB / 1.141 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.348, allocations: 0 / 1.141 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.106e-06/0.348, allocations: 0 / 1.141 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.3481, allocations: 7.938 kB / 1.141 GB, free: 3.07 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.002498/0.3506, allocations: 1.487 MB / 1.142 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3506, allocations: 12.03 kB / 1.142 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.351, allocations: 151.2 kB / 1.142 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.3527, allocations: 1.157 MB / 1.143 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.3528, allocations: 70 kB / 1.144 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.3529, allocations: 95.98 kB / 1.144 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.3544, allocations: 0.9012 MB / 1.145 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.3544, allocations: 4 kB / 1.145 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.3545, allocations: 43.98 kB / 1.145 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.3546, allocations: 27.98 kB / 1.145 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.3557, allocations: 0.6441 MB / 1.145 GB, free: 14.36 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.004824/0.3605, allocations: 4.285 MB / 1.149 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008854/0.3614, allocations: 0.5062 MB / 1.15 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.3619, allocations: 318.3 kB / 1.15 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/0.3626, allocations: 0.6017 MB / 1.151 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.3626, allocations: 43.12 kB / 1.151 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=57): time 2.936e-06/0.3626, allocations: 0 / 1.151 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of matching and sorting (n=57): time 0.002549/0.3652, allocations: 1.216 MB / 1.152 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3652, allocations: 67.95 kB / 1.152 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3664, allocations: 0.8837 MB / 1.153 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/0.3664, allocations: 37.7 kB / 1.153 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.3668, allocations: 0.5074 MB / 1.153 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.367, allocations: 205 kB / 1.154 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.3671, allocations: 73.69 kB / 1.154 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3672, allocations: 337.9 kB / 1.154 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.3675, allocations: 205.9 kB / 1.154 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.368, allocations: 392.5 kB / 1.155 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.3688, allocations: 0.5682 MB / 1.155 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3688, allocations: 0 / 1.155 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001557/0.3704, allocations: 0.8622 MB / 1.156 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.3705, allocations: 189.4 kB / 1.156 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.3706, allocations: 4 kB / 1.156 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.3712, allocations: 163.4 kB / 1.156 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.3717, allocations: 143.8 kB / 1.157 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.3751, allocations: 4.841 MB / 1.161 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/0.376, allocations: 115.2 kB / 1.161 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.3761, allocations: 28 kB / 1.161 GB, free: 12.6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.164e-06/0.3761, allocations: 4 kB / 1.161 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001258/0.3774, allocations: 0.7212 MB / 1.162 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3774, allocations: 4 kB / 1.162 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.3777, allocations: 115.4 kB / 1.162 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.3782, allocations: 148.1 kB / 1.162 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/0.3824, allocations: 5.829 MB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/0.3833, allocations: 107.4 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.3834, allocations: 35.92 kB / 1.168 GB, free: 5.07 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.0005618/0.384, allocations: 376.9 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3841, allocations: 102.7 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.3854, allocations: 0.6989 MB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3854, allocations: 8 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3855, allocations: 0 / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009392/0.3864, allocations: 0.6533 MB / 1.17 GB, free: 3.176 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.002619/0.389, allocations: 1.819 MB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.389, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.3894, allocations: 91.89 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003163/0.3898, allocations: 139.3 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.3898, allocations: 12 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.3931, allocations: 4.815 MB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3931, allocations: 4.031 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3947, allocations: 1.026 MB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.3952, allocations: 271.6 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.3953, allocations: 19.92 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/0.396, allocations: 63.02 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.3961, allocations: 48.44 kB / 1.178 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.3961, allocations: 23.98 kB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008164/0.3969, allocations: 0.6063 MB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3969, allocations: 3.938 kB / 1.179 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002152/0.3991, allocations: 0.7132 MB / 1.179 GB, free: 8.934 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.0009666/0.4001, allocations: 461.2 kB / 1.18 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002417/0.4025, allocations: 1.78 MB / 1.182 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4025, allocations: 0 / 1.182 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.4032, allocations: 0.6162 MB / 1.182 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/0.4062, allocations: 0.5458 MB / 1.183 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.4097, allocations: 2.535 MB / 1.185 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.4105, allocations: 1.089 MB / 1.186 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008918/0.4114, allocations: 216.4 kB / 1.186 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.4116, allocations: 83.42 kB / 1.187 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of SimCode: time 9.01e-07/0.4116, allocations: 7.938 kB / 1.187 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of Templates: time 0.039/0.4506, allocations: 23.6 MB / 1.21 GB, free: 10.09 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)