Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 114 kB / 16.38 MB, free: 6.008 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.001306/0.001306, allocations: 186.9 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 75.58 kB / 0.673 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2767, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.5595/0.8363, allocations: 70.24 MB / 0.8534 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02926/0.8656, allocations: 17.63 MB / 0.8706 GB, free: 5.73 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004527/0.8701, allocations: 67.19 kB / 0.8707 GB, free: 5.707 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.8752, allocations: 1.213 MB / 0.8719 GB, free: 5.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009598/0.8848, allocations: 2.382 MB / 0.8742 GB, free: 3.609 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.8956, allocations: 3.011 MB / 0.8772 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.06708/0.9627, allocations: 38.46 MB / 0.9147 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02934/0.992, allocations: 17.32 MB / 0.9316 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03146/1.024, allocations: 12.44 MB / 0.9438 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02575/1.049, allocations: 11.17 MB / 0.9547 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.007044/1.056, allocations: 1.949 MB / 0.9566 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/1.074, allocations: 4.578 MB / 0.9611 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.009285/1.084, allocations: 4.464 MB / 0.9654 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02462/1.108, allocations: 9.45 MB / 0.9746 GB, free: 7.867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0506/1.159, allocations: 33.52 MB / 1.007 GB, free: 6.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/1.159, allocations: 0 / 1.007 GB, free: 6.258 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.023e-06/1.159, allocations: 0 / 1.007 GB, free: 6.258 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0009357/1.16, allocations: 0 / 1.007 GB, free: 6.258 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.05876/1.219, allocations: 16.89 MB / 1.024 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/1.219, allocations: 11.98 kB / 1.024 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/1.229, allocations: 1.631 MB / 1.025 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04227/1.272, allocations: 16.1 MB / 1.041 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/1.273, allocations: 0.6453 MB / 1.042 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004976/1.278, allocations: 0.8748 MB / 1.043 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04362/1.321, allocations: 12.86 MB / 1.055 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006652/1.322, allocations: 35.67 kB / 1.055 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003975/1.326, allocations: 356 kB / 1.056 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/1.326, allocations: 208 kB / 1.056 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03149/1.358, allocations: 11.17 MB / 1.067 GB, free: 8.922 MB / 0.8575 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.1183/1.476, allocations: 53.38 MB / 1.119 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/1.489, allocations: 5.925 MB / 1.125 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007971/1.497, allocations: 3.94 MB / 1.128 GB, free: 7.516 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002657/1.499, allocations: 2.191 MB / 1.131 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/1.5, allocations: 98.3 kB / 1.131 GB, free: 4.762 MB / 0.92 GB Notification: Performance of pre-optimization done (n=484): time 1.579e-05/1.5, allocations: 0 / 1.131 GB, free: 4.762 MB / 0.92 GB Notification: Performance of matching and sorting (n=484): time 0.8896/2.389, allocations: 12.62 MB / 1.143 GB, free: 264.2 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/2.389, allocations: 364.9 kB / 1.143 GB, free: 263.8 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04214/2.432, allocations: 15.92 MB / 1.159 GB, free: 260.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001817/2.433, allocations: 134.6 kB / 1.159 GB, free: 260.6 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.009522/2.443, allocations: 5.889 MB / 1.165 GB, free: 257.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003307/2.446, allocations: 1.733 MB / 1.167 GB, free: 255.9 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006412/2.453, allocations: 1.536 MB / 1.168 GB, free: 255.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/2.453, allocations: 302.9 kB / 1.168 GB, free: 254.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008354/2.461, allocations: 3.826 MB / 1.172 GB, free: 253.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/2.472, allocations: 6.067 MB / 1.178 GB, free: 249.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01746/2.489, allocations: 9.037 MB / 1.187 GB, free: 245.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/2.49, allocations: 11.38 kB / 1.187 GB, free: 245.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.03224/2.522, allocations: 11.63 MB / 1.198 GB, free: 240.8 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/2.522, allocations: 28.61 kB / 1.198 GB, free: 240.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/2.522, allocations: 63.25 kB / 1.198 GB, free: 240.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/2.525, allocations: 1.03 MB / 1.199 GB, free: 240.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006504/2.531, allocations: 1.57 MB / 1.201 GB, free: 240.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/2.554, allocations: 36.6 MB / 1.237 GB, free: 206.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/2.567, allocations: 1.119 MB / 1.238 GB, free: 206.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001767/2.569, allocations: 295.9 kB / 1.238 GB, free: 206.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01995/2.589, allocations: 8.842 MB / 1.247 GB, free: 202 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009112/2.598, allocations: 6.063 MB / 1.252 GB, free: 197.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01433/2.612, allocations: 9.024 MB / 1.261 GB, free: 189 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.309e-05/2.612, allocations: 15.94 kB / 1.261 GB, free: 189 MB / 0.92 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02534/2.638, allocations: 11.63 MB / 1.273 GB, free: 177.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/2.638, allocations: 24.22 kB / 1.273 GB, free: 177.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/2.638, allocations: 71.98 kB / 1.273 GB, free: 177.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/2.64, allocations: 1.024 MB / 1.274 GB, free: 176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005661/2.646, allocations: 1.569 MB / 1.275 GB, free: 174.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/2.666, allocations: 36.63 MB / 1.311 GB, free: 135.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01458/2.681, allocations: 1.082 MB / 1.312 GB, free: 134.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/2.683, allocations: 294 kB / 1.312 GB, free: 133.8 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (837): * Single equations (assignments): 807 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003489/2.687, allocations: 0.5863 MB / 1.313 GB, free: 133.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005795/2.692, allocations: 1.161 MB / 1.314 GB, free: 132 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/2.71, allocations: 8.61 MB / 1.322 GB, free: 123.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01009/2.721, allocations: 6.562 MB / 1.329 GB, free: 116.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/2.721, allocations: 0.5469 kB / 1.329 GB, free: 116.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008528/2.729, allocations: 2.637 MB / 1.331 GB, free: 114 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004962/2.734, allocations: 116 kB / 1.332 GB, free: 113.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009258/2.743, allocations: 319.5 kB / 1.332 GB, free: 113.6 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/2.745, allocations: 331.3 kB / 1.332 GB, free: 113.3 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01804/2.763, allocations: 8.753 MB / 1.341 GB, free: 104.6 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01981/2.782, allocations: 11.8 MB / 1.352 GB, free: 92.72 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004227/2.787, allocations: 3.255 MB / 1.355 GB, free: 89.46 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.02507/2.812, allocations: 11.28 MB / 1.366 GB, free: 78.24 MB / 0.92 GB Notification: Performance of Backend: time 9.51e-07/2.812, allocations: 0 / 1.366 GB, free: 78.24 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.03933/2.851, allocations: 17.44 MB / 1.383 GB, free: 60.39 MB / 0.92 GB Notification: Performance of SimCode: time 0.08657/2.938, allocations: 33.76 MB / 1.416 GB, free: 26.99 MB / 0.92 GB Notification: Performance of Templates: time 0.9115/3.849, allocations: 287.4 MB / 1.697 GB, free: 165.1 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)