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 1.715/1.715, allocations: 287.4 MB / 303.2 MB, free: 8.273 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.0009623/0.0009623, allocations: 174 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 0.6304 GB, free: 10.51 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.0007672/0.0007672, allocations: 89.3 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005465, allocations: 16.56 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2375, allocations: 115.3 MB / 0.9793 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.1001/0.3377, allocations: 79.36 MB / 1.057 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.4358/0.7735, allocations: 23.45 MB / 1.08 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005001/0.7786, allocations: 102.3 kB / 1.08 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005954/0.7846, allocations: 1.329 MB / 1.081 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.7966, allocations: 3.264 MB / 1.084 GB, free: 10.85 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.807, allocations: 3.062 MB / 1.087 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01556/0.8226, allocations: 9.301 MB / 1.096 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007042/0.8297, allocations: 2.273 MB / 1.099 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008757/0.8385, allocations: 2.365 MB / 1.101 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0061/0.8446, allocations: 2.169 MB / 1.103 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001466/0.8461, allocations: 144.9 kB / 1.103 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009818/0.8559, allocations: 2.434 MB / 1.106 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001884/0.8579, allocations: 0.6017 MB / 1.106 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002533/0.8604, allocations: 0.7038 MB / 1.107 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009864/0.8703, allocations: 5.405 MB / 1.112 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8704, allocations: 0 / 1.112 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8704, allocations: 0 / 1.112 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000224/0.8706, allocations: 0 / 1.112 GB, free: 7.895 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.00864/0.8793, allocations: 3.277 MB / 1.115 GB, free: 22.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.8793, allocations: 10.12 kB / 1.115 GB, free: 22.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.8808, allocations: 369.6 kB / 1.116 GB, free: 21.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/0.8865, allocations: 2.559 MB / 1.118 GB, free: 21.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.8867, allocations: 163.4 kB / 1.118 GB, free: 21.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006863/0.8874, allocations: 219.2 kB / 1.119 GB, free: 21.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/0.8928, allocations: 2.171 MB / 1.121 GB, free: 20.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.244e-05/0.8929, allocations: 9.969 kB / 1.121 GB, free: 20.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/0.8932, allocations: 89.16 kB / 1.121 GB, free: 20.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-05/0.8933, allocations: 49.31 kB / 1.121 GB, free: 20.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.8971, allocations: 1.66 MB / 1.122 GB, free: 20.23 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.01757/0.9147, allocations: 9.303 MB / 1.131 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.917, allocations: 1.179 MB / 1.133 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.9184, allocations: 0.8425 MB / 1.133 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002912/0.9213, allocations: 2.922 MB / 1.136 GB, free: 11.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.9214, allocations: 49.03 kB / 1.136 GB, free: 11.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 4.038e-06/0.9214, allocations: 0 / 1.136 GB, free: 11.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.006567/0.928, allocations: 2.733 MB / 1.139 GB, free: 10.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.9281, allocations: 92.27 kB / 1.139 GB, free: 10.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005094/0.9332, allocations: 2.221 MB / 1.141 GB, free: 9.691 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003394/0.9335, allocations: 57.61 kB / 1.141 GB, free: 9.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.9348, allocations: 1.19 MB / 1.142 GB, free: 9.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007111/0.9355, allocations: 0.5154 MB / 1.143 GB, free: 8.777 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.9357, allocations: 41 kB / 1.143 GB, free: 8.777 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.9359, allocations: 370.4 kB / 1.143 GB, free: 8.453 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.937, allocations: 0.5621 MB / 1.144 GB, free: 8.379 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.9384, allocations: 0.9309 MB / 1.145 GB, free: 7.941 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.9407, allocations: 1.462 MB / 1.146 GB, free: 7.586 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.9407, allocations: 2.625 kB / 1.146 GB, free: 7.586 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005301/0.946, allocations: 2.107 MB / 1.148 GB, free: 6.621 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.9463, allocations: 294.8 kB / 1.149 GB, free: 6.258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/0.9463, allocations: 17.75 kB / 1.149 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.9473, allocations: 256.7 kB / 1.149 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.9487, allocations: 386.5 kB / 1.149 GB, free: 6.027 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005214/0.9539, allocations: 7.076 MB / 1.156 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/0.9569, allocations: 300 kB / 1.156 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/0.9572, allocations: 70.58 kB / 1.157 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.9572, allocations: 3.25 kB / 1.157 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003512/0.9607, allocations: 1.804 MB / 1.158 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.9608, allocations: 18.75 kB / 1.158 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/0.9613, allocations: 212.8 kB / 1.158 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.9626, allocations: 387.9 kB / 1.159 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007208/0.9698, allocations: 9.091 MB / 1.168 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/0.9727, allocations: 280.5 kB / 1.168 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/0.973, allocations: 79.39 kB / 1.168 GB, free: 4.223 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.001937/0.975, allocations: 0.6448 MB / 1.169 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/0.9761, allocations: 259.2 kB / 1.169 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.9806, allocations: 2.011 MB / 1.171 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002454/0.9831, allocations: 1.639 MB / 1.173 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.9832, allocations: 11.25 kB / 1.173 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/0.9849, allocations: 0.5854 MB / 1.173 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007626/0.9857, allocations: 30.88 kB / 1.173 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.9875, allocations: 128.1 kB / 1.173 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.9877, allocations: 109.7 kB / 1.173 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004149/0.9919, allocations: 1.943 MB / 1.175 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004021/0.9959, allocations: 2.591 MB / 1.178 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009284/0.9969, allocations: 0.6668 MB / 1.178 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00293/0.9998, allocations: 1.488 MB / 1.18 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of Backend: time 4.21e-07/0.9998, allocations: 4 kB / 1.18 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.011, allocations: 4.42 MB / 1.184 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of SimCode: time 0.0141/1.025, allocations: 7.298 MB / 1.191 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.1054/1.131, allocations: 65.41 MB / 1.255 GB, free: 14.55 MB / 0.8073 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)