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.Examples.BoreholeOneUTube.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.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.843/1.843, allocations: 288.4 MB / 304.3 MB, free: 8.039 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.001086/0.001086, allocations: 185.6 kB / 372.9 MB, free: 10.16 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.513/1.513, allocations: 205.4 MB / 0.6316 GB, free: 9.953 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.0008897/0.0008897, allocations: 86.34 kB / 0.745 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004281, allocations: 17.12 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2346, allocations: 115.3 MB / 0.9808 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.05514/0.2898, allocations: 64.68 MB / 1.044 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02384/0.3137, allocations: 16.38 MB / 1.06 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.3168, allocations: 59.56 kB / 1.06 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003595/0.3204, allocations: 0.9363 MB / 1.061 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007421/0.3279, allocations: 2.012 MB / 1.063 GB, free: 7.082 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/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.009984/0.3379, allocations: 2.302 MB / 1.065 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.5546/0.8925, allocations: 41.03 MB / 1.105 GB, free: 27.65 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02263/0.9152, allocations: 13.14 MB / 1.118 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02808/0.9433, allocations: 8.898 MB / 1.127 GB, free: 23.04 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02059/0.964, allocations: 9.463 MB / 1.136 GB, free: 19.42 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.004419/0.9684, allocations: 0.6679 MB / 1.137 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.9833, allocations: 3.043 MB / 1.14 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.007028/0.9904, allocations: 2.808 MB / 1.142 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.02141/1.012, allocations: 7.436 MB / 1.15 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.03168/1.044, allocations: 27.86 MB / 1.177 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.044, allocations: 0 / 1.177 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.465e-06/1.044, allocations: 0 / 1.177 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0009772/1.045, allocations: 0 / 1.177 GB, free: 13.58 MB / 0.7136 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.03945/1.084, allocations: 13.62 MB / 1.19 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.084, allocations: 8.031 kB / 1.19 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008181/1.092, allocations: 1.633 MB / 1.192 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03392/1.126, allocations: 17.27 MB / 1.209 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000719/1.127, allocations: 0.6453 MB / 1.209 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003744/1.131, allocations: 0.8786 MB / 1.21 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03195/1.163, allocations: 12.79 MB / 1.223 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003058/1.163, allocations: 27.77 kB / 1.223 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001729/1.165, allocations: 356 kB / 1.223 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/1.165, allocations: 204 kB / 1.223 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02516/1.19, allocations: 11.12 MB / 1.234 GB, free: 3.062 MB / 0.7605 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.09331/1.284, allocations: 52.07 MB / 1.285 GB, free: 13.23 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/1.294, allocations: 5.934 MB / 1.291 GB, free: 7.285 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00629/1.3, allocations: 3.93 MB / 1.294 GB, free: 3.352 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002151/1.302, allocations: 2.196 MB / 1.297 GB, free: 0.707 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.659e-05/1.302, allocations: 90.36 kB / 1.297 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of pre-optimization done (n=484): time 7.615e-06/1.302, allocations: 7.75 kB / 1.297 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of matching and sorting (n=484): time 0.02621/1.329, allocations: 12.64 MB / 1.309 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/1.329, allocations: 364.2 kB / 1.309 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03432/1.363, allocations: 14.98 MB / 1.324 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001684/1.365, allocations: 133.7 kB / 1.324 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.009596/1.374, allocations: 5.959 MB / 1.33 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003276/1.378, allocations: 1.715 MB / 1.332 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001539/1.379, allocations: 140 kB / 1.332 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0009467/1.38, allocations: 0.5997 MB / 1.332 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007789/1.388, allocations: 3.699 MB / 1.336 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.399, allocations: 5.98 MB / 1.342 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/1.415, allocations: 8.934 MB / 1.351 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-05/1.415, allocations: 12 kB / 1.351 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.02651/1.442, allocations: 11.45 MB / 1.362 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001332/1.443, allocations: 1.342 MB / 1.363 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003871/1.443, allocations: 71.98 kB / 1.363 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/1.446, allocations: 1.02 MB / 1.364 GB, free: 8.965 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00672/1.453, allocations: 1.572 MB / 1.366 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/1.478, allocations: 33.1 MB / 1.398 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/1.492, allocations: 1.504 MB / 1.399 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001701/1.493, allocations: 288 kB / 1.4 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.493, allocations: 4 kB / 1.4 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01909/1.513, allocations: 10.36 MB / 1.41 GB, free: 7.391 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002307/1.513, allocations: 75.91 kB / 1.41 GB, free: 7.316 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/1.515, allocations: 0.9933 MB / 1.411 GB, free: 6.262 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006287/1.521, allocations: 1.572 MB / 1.412 GB, free: 4.688 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9462/2.467, allocations: 33.34 MB / 1.445 GB, free: 295.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/2.479, allocations: 1.41 MB / 1.446 GB, free: 295.1 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/2.481, allocations: 293.7 kB / 1.447 GB, free: 295.1 MB / 0.9637 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 (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01307/2.494, allocations: 5.416 MB / 1.452 GB, free: 294.9 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004422/2.499, allocations: 1.157 MB / 1.453 GB, free: 294.9 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/2.517, allocations: 8.587 MB / 1.461 GB, free: 291.8 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01107/2.528, allocations: 6.535 MB / 1.468 GB, free: 289.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/2.528, allocations: 1.281 kB / 1.468 GB, free: 289.3 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01001/2.538, allocations: 2.642 MB / 1.47 GB, free: 288.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004559/2.543, allocations: 124.5 kB / 1.47 GB, free: 288.4 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009428/2.552, allocations: 0.5522 MB / 1.471 GB, free: 288.3 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/2.554, allocations: 327.1 kB / 1.471 GB, free: 288.3 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0213/2.575, allocations: 8.83 MB / 1.48 GB, free: 285.5 MB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02285/2.598, allocations: 11.76 MB / 1.491 GB, free: 281 MB / 0.9637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005025/2.603, allocations: 3.23 MB / 1.495 GB, free: 279.8 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.0232/2.626, allocations: 10.57 MB / 1.505 GB, free: 276.1 MB / 0.9637 GB Notification: Performance of Backend: time 1.052e-06/2.626, allocations: 0 / 1.505 GB, free: 276.1 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.04057/2.667, allocations: 17.24 MB / 1.522 GB, free: 264.9 MB / 0.9637 GB Notification: Performance of SimCode: time 0.08483/2.752, allocations: 37.28 MB / 1.558 GB, free: 229.6 MB / 0.9637 GB Notification: Performance of Templates: time 0.882/3.634, allocations: 267.2 MB / 1.819 GB, free: 312.3 MB / 0.9793 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)