Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 288.4 MB / 304.3 MB, free: 8.047 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.001192/0.001192, allocations: 184.5 kB / 372.9 MB, free: 10.14 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.323/1.323, allocations: 205.4 MB / 0.6316 GB, free: 9.891 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.0008043/0.0008043, allocations: 100.6 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004182, allocations: 16.91 kB / 0.8682 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 115.3 MB / 0.9808 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.06394/0.257, allocations: 79.35 MB / 1.058 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.4727/0.7298, allocations: 23.43 MB / 1.081 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005107/0.735, allocations: 100.5 kB / 1.081 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005865/0.7409, allocations: 1.342 MB / 1.083 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01891/0.7598, allocations: 3.473 MB / 1.086 GB, free: 11.16 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.01436/0.7742, allocations: 3.165 MB / 1.089 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02245/0.7967, allocations: 9.302 MB / 1.098 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008045/0.8048, allocations: 2.279 MB / 1.1 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007211/0.8121, allocations: 2.392 MB / 1.103 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00555/0.8177, allocations: 2.175 MB / 1.105 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.819, allocations: 148 kB / 1.105 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.8291, allocations: 3.076 MB / 1.108 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.8311, allocations: 0.5947 MB / 1.109 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004989/0.8361, allocations: 1.606 MB / 1.11 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.8469, allocations: 5.628 MB / 1.116 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.847, allocations: 0 / 1.116 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.916e-06/0.847, allocations: 5.094 kB / 1.116 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002451/0.8472, allocations: 3.938 kB / 1.116 GB, free: 7.297 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.01078/0.858, allocations: 3.268 MB / 1.119 GB, free: 21.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.8581, allocations: 12.38 kB / 1.119 GB, free: 21.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.8602, allocations: 373.3 kB / 1.119 GB, free: 21.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007014/0.8672, allocations: 2.557 MB / 1.122 GB, free: 19.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.8674, allocations: 163.5 kB / 1.122 GB, free: 19.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007567/0.8682, allocations: 218.4 kB / 1.122 GB, free: 19.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006415/0.8746, allocations: 2.169 MB / 1.124 GB, free: 19.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.8748, allocations: 12.81 kB / 1.124 GB, free: 19.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004473/0.8753, allocations: 83.53 kB / 1.124 GB, free: 19.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.697e-05/0.8753, allocations: 50.03 kB / 1.124 GB, free: 19.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004465/0.8798, allocations: 1.664 MB / 1.126 GB, free: 18.97 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.01936/0.8992, allocations: 9.305 MB / 1.135 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.9017, allocations: 1.174 MB / 1.136 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.9032, allocations: 0.8459 MB / 1.137 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003108/0.9064, allocations: 2.927 MB / 1.14 GB, free: 10.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.9065, allocations: 49.38 kB / 1.14 GB, free: 10.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 6.131e-06/0.9065, allocations: 0 / 1.14 GB, free: 10.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.00685/0.9133, allocations: 2.729 MB / 1.143 GB, free: 9.098 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.9134, allocations: 92.39 kB / 1.143 GB, free: 9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/0.9182, allocations: 2.222 MB / 1.145 GB, free: 8.426 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003238/0.9186, allocations: 54.7 kB / 1.145 GB, free: 8.395 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.9197, allocations: 1.189 MB / 1.146 GB, free: 7.891 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007081/0.9205, allocations: 0.5164 MB / 1.147 GB, free: 7.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/0.9206, allocations: 36.41 kB / 1.147 GB, free: 7.516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.9208, allocations: 376 kB / 1.147 GB, free: 7.188 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009718/0.9218, allocations: 0.556 MB / 1.147 GB, free: 7.121 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.923, allocations: 0.9317 MB / 1.148 GB, free: 6.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.9252, allocations: 1.468 MB / 1.15 GB, free: 5.789 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.9252, allocations: 3.375 kB / 1.15 GB, free: 5.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004335/0.9296, allocations: 2.099 MB / 1.152 GB, free: 4.703 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.9298, allocations: 301.6 kB / 1.152 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.9298, allocations: 14.31 kB / 1.152 GB, free: 4.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009478/0.9308, allocations: 260.6 kB / 1.152 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.932, allocations: 390.9 kB / 1.153 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005214/0.9373, allocations: 7.058 MB / 1.16 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/0.9404, allocations: 304.7 kB / 1.16 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.9406, allocations: 74.23 kB / 1.16 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.9407, allocations: 3.344 kB / 1.16 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003142/0.9438, allocations: 1.802 MB / 1.162 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.9439, allocations: 14.08 kB / 1.162 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.9443, allocations: 215.2 kB / 1.162 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.9456, allocations: 386.9 kB / 1.162 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007139/0.9527, allocations: 9.1 MB / 1.171 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/0.9559, allocations: 275.1 kB / 1.172 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/0.9562, allocations: 74.86 kB / 1.172 GB, free: 2.312 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.001656/0.9578, allocations: 0.6492 MB / 1.172 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007893/0.9586, allocations: 258.2 kB / 1.172 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/0.9624, allocations: 2.017 MB / 1.174 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002271/0.9647, allocations: 1.642 MB / 1.176 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.9647, allocations: 3.938 kB / 1.176 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/0.9667, allocations: 0.59 MB / 1.177 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/0.9672, allocations: 30.75 kB / 1.177 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.9685, allocations: 126.8 kB / 1.177 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.9687, allocations: 114.4 kB / 1.177 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004075/0.9728, allocations: 1.933 MB / 1.179 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004107/0.9769, allocations: 2.599 MB / 1.181 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009215/0.9779, allocations: 0.6707 MB / 1.182 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002836/0.9807, allocations: 1.492 MB / 1.183 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of Backend: time 4.11e-07/0.9808, allocations: 0 / 1.183 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01111/0.9919, allocations: 4.5 MB / 1.188 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of SimCode: time 0.01444/1.006, allocations: 7.292 MB / 1.195 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.1095/1.116, allocations: 66 MB / 1.259 GB, free: 11.11 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)