Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.063/3.063, allocations: 287.3 MB / 302.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 176.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 95.36 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006653/0.0006654, allocations: 13.27 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2188, allocations: 115.3 MB / 0.9782 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.1043/0.3232, allocations: 71.56 MB / 1.048 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6951/1.018, allocations: 21.71 MB / 1.069 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004832/1.023, allocations: 96.62 kB / 1.069 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00797/1.031, allocations: 1.612 MB / 1.071 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01668/1.048, allocations: 3.872 MB / 1.075 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01702/1.065, allocations: 3.769 MB / 1.078 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01381/1.079, allocations: 4.896 MB / 1.083 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00613/1.085, allocations: 2.093 MB / 1.085 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00847/1.094, allocations: 2.132 MB / 1.087 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005431/1.099, allocations: 1.585 MB / 1.089 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00148/1.101, allocations: 145.4 kB / 1.089 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/1.112, allocations: 2.413 MB / 1.091 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001743/1.114, allocations: 0.5787 MB / 1.092 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002448/1.117, allocations: 0.7025 MB / 1.093 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/1.13, allocations: 5.335 MB / 1.098 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.13, allocations: 0 / 1.098 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.617e-06/1.13, allocations: 1.125 kB / 1.098 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001824/1.13, allocations: 0 / 1.098 GB, free: 10.22 MB / 0.6823 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.01135/1.141, allocations: 3.29 MB / 1.101 GB, free: 24.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.141, allocations: 8.344 kB / 1.101 GB, free: 24.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/1.144, allocations: 373.5 kB / 1.101 GB, free: 24.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007709/1.151, allocations: 2.355 MB / 1.104 GB, free: 23.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/1.152, allocations: 161.1 kB / 1.104 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007027/1.152, allocations: 223.6 kB / 1.104 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006814/1.159, allocations: 2.155 MB / 1.106 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.18e-05/1.159, allocations: 2.812 kB / 1.106 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/1.16, allocations: 86.31 kB / 1.106 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-05/1.16, allocations: 49.56 kB / 1.106 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005954/1.166, allocations: 1.664 MB / 1.108 GB, free: 23.52 MB / 0.698 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.02339/1.189, allocations: 9.372 MB / 1.117 GB, free: 19.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/1.192, allocations: 1.171 MB / 1.118 GB, free: 19.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003849/1.196, allocations: 2.923 MB / 1.121 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.141e-05/1.196, allocations: 51.25 kB / 1.121 GB, free: 16.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 4.228e-06/1.196, allocations: 0 / 1.121 GB, free: 16.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.01027/1.207, allocations: 2.719 MB / 1.124 GB, free: 14.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/1.207, allocations: 92.11 kB / 1.124 GB, free: 14.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006311/1.213, allocations: 2.305 MB / 1.126 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00048/1.214, allocations: 63.95 kB / 1.126 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/1.215, allocations: 1.184 MB / 1.127 GB, free: 13.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.216, allocations: 0.5128 MB / 1.128 GB, free: 13.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/1.217, allocations: 38.28 kB / 1.128 GB, free: 13.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003059/1.217, allocations: 375.5 kB / 1.128 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/1.22, allocations: 0.5605 MB / 1.129 GB, free: 12.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/1.223, allocations: 0.9254 MB / 1.13 GB, free: 12.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/1.226, allocations: 0.7069 MB / 1.13 GB, free: 12.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.63e-05/1.226, allocations: 5.312 kB / 1.13 GB, free: 12.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01001/1.236, allocations: 2.099 MB / 1.132 GB, free: 12.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001456/1.238, allocations: 2.718 MB / 1.135 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-05/1.238, allocations: 11.81 kB / 1.135 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/1.24, allocations: 267.7 kB / 1.135 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.244, allocations: 386.8 kB / 1.136 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007273/1.251, allocations: 7.074 MB / 1.143 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004381/1.256, allocations: 315.5 kB / 1.143 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004107/1.256, allocations: 74.58 kB / 1.143 GB, free: 2.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.256, allocations: 4.219 kB / 1.143 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005374/1.261, allocations: 1.797 MB / 1.145 GB, free: 2.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-05/1.262, allocations: 9.562 kB / 1.145 GB, free: 2.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008289/1.262, allocations: 216.8 kB / 1.145 GB, free: 1.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/1.265, allocations: 379.5 kB / 1.145 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009708/1.275, allocations: 9.14 MB / 1.154 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/1.28, allocations: 292.6 kB / 1.155 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/1.28, allocations: 80.53 kB / 1.155 GB, free: 9.297 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002283/1.282, allocations: 0.6463 MB / 1.155 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.283, allocations: 255.7 kB / 1.156 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005735/1.289, allocations: 2.023 MB / 1.158 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/1.289, allocations: 15.22 kB / 1.158 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.289, allocations: 3.281 kB / 1.158 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003975/1.293, allocations: 1.65 MB / 1.159 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/1.306, allocations: 4.392 MB / 1.163 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.306, allocations: 3.953 kB / 1.163 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/1.308, allocations: 274.2 kB / 1.164 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008682/1.309, allocations: 215.8 kB / 1.164 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/1.309, allocations: 38.31 kB / 1.164 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007258/1.316, allocations: 7.109 MB / 1.171 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.316, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007511/1.324, allocations: 2.713 MB / 1.174 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/1.327, allocations: 0.6152 MB / 1.174 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.328, allocations: 28.28 kB / 1.174 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/1.331, allocations: 141 kB / 1.174 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005049/1.332, allocations: 104.5 kB / 1.174 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.332, allocations: 56.81 kB / 1.174 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004432/1.336, allocations: 1.559 MB / 1.176 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.62e-07/1.337, allocations: 2.188 kB / 1.176 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01075/1.347, allocations: 1.881 MB / 1.178 GB, free: 13.92 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004529/1.352, allocations: 1.109 MB / 1.179 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009886/1.362, allocations: 3.712 MB / 1.183 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.362, allocations: 0.5 kB / 1.183 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003077/1.365, allocations: 1.232 MB / 1.184 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01171/1.377, allocations: 1.317 MB / 1.185 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/1.392, allocations: 6.053 MB / 1.191 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/1.394, allocations: 1.793 MB / 1.193 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00426/1.398, allocations: 0.6025 MB / 1.193 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.4, allocations: 210.2 kB / 1.193 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of SimCode: time 1.633e-06/1.4, allocations: 0 / 1.193 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of Templates: time 0.1898/1.589, allocations: 60.8 MB / 1.253 GB, free: 2.91 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)