Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 173.2 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205 MB / 0.5767 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007621/0.000762, allocations: 95.95 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003946, allocations: 14.59 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2147, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.04789/0.2627, allocations: 69.47 MB / 0.9646 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.2871, allocations: 17.79 MB / 0.982 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.2905, allocations: 55.69 kB / 0.982 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.2941, allocations: 1.061 MB / 0.9831 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.3009, allocations: 2.19 MB / 0.9852 GB, free: 9.277 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.009961/0.3109, allocations: 2.755 MB / 0.9879 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.05246/0.3633, allocations: 47.35 MB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01785/0.3812, allocations: 13.09 MB / 1.047 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01895/0.4002, allocations: 9.032 MB / 1.056 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.9623/1.363, allocations: 9.985 MB / 1.066 GB, free: 37.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.006659/1.369, allocations: 0.6632 MB / 1.066 GB, free: 37.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0188/1.388, allocations: 3.146 MB / 1.069 GB, free: 37.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.009207/1.397, allocations: 2.917 MB / 1.072 GB, free: 36.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.02954/1.427, allocations: 7.729 MB / 1.08 GB, free: 34.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.04704/1.474, allocations: 31.68 MB / 1.111 GB, free: 26.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.474, allocations: 3.938 kB / 1.111 GB, free: 26.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/1.474, allocations: 0 / 1.111 GB, free: 26.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001289/1.475, allocations: 0 / 1.111 GB, free: 26.01 MB / 0.698 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.04053/1.516, allocations: 13.61 MB / 1.124 GB, free: 18.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.516, allocations: 12.38 kB / 1.124 GB, free: 18.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/1.527, allocations: 1.628 MB / 1.125 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03615/1.563, allocations: 17.26 MB / 1.142 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009902/1.564, allocations: 0.6468 MB / 1.143 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005646/1.569, allocations: 0.8773 MB / 1.144 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0264/1.596, allocations: 12.85 MB / 1.156 GB, free: 8.781 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002228/1.596, allocations: 36.42 kB / 1.156 GB, free: 8.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001114/1.597, allocations: 350.6 kB / 1.157 GB, free: 8.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/1.597, allocations: 207.8 kB / 1.157 GB, free: 8.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/1.617, allocations: 11.18 MB / 1.168 GB, free: 5.285 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.09868/1.716, allocations: 52.07 MB / 1.219 GB, free: 2.207 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/1.728, allocations: 5.937 MB / 1.224 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006902/1.735, allocations: 3.947 MB / 1.228 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002357/1.738, allocations: 2.194 MB / 1.23 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/1.738, allocations: 98.36 kB / 1.231 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=484): time 1.269e-05/1.738, allocations: 0 / 1.231 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of matching and sorting (n=484): time 0.02994/1.768, allocations: 12.69 MB / 1.243 GB, free: 8.48 MB / 0.7762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/1.768, allocations: 356.2 kB / 1.243 GB, free: 8.059 MB / 0.7762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03821/1.806, allocations: 15.07 MB / 1.258 GB, free: 9.051 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.002163/1.808, allocations: 137.7 kB / 1.258 GB, free: 8.91 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.009468/1.818, allocations: 5.957 MB / 1.264 GB, free: 2.961 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.003532/1.821, allocations: 1.725 MB / 1.266 GB, free: 1.25 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002702/1.824, allocations: 0.6385 MB / 1.266 GB, free: 0.6055 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.824, allocations: 310.2 kB / 1.267 GB, free: 312 kB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008211/1.833, allocations: 3.73 MB / 1.27 GB, free: 12.57 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/1.843, allocations: 6.012 MB / 1.276 GB, free: 5.77 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/1.861, allocations: 8.943 MB / 1.285 GB, free: 12.38 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-05/1.861, allocations: 12 kB / 1.285 GB, free: 12.36 MB / 0.823 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.03305/1.894, allocations: 11.51 MB / 1.296 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001312/1.896, allocations: 1.351 MB / 1.297 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000301/1.896, allocations: 67.98 kB / 1.297 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/1.898, allocations: 1.02 MB / 1.298 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006883/1.905, allocations: 1.568 MB / 1.3 GB, free: 12.48 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02962/1.935, allocations: 33.12 MB / 1.332 GB, free: 8.895 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01547/1.951, allocations: 1.5 MB / 1.334 GB, free: 7.387 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002171/1.953, allocations: 288 kB / 1.334 GB, free: 7.105 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.953, allocations: 4 kB / 1.334 GB, free: 7.102 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02764/1.98, allocations: 10.41 MB / 1.344 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002975/1.981, allocations: 75.92 kB / 1.344 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/1.983, allocations: 0.9949 MB / 1.345 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006262/1.989, allocations: 1.565 MB / 1.347 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03028/2.019, allocations: 33.38 MB / 1.379 GB, free: 6.441 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01454/2.034, allocations: 1.411 MB / 1.381 GB, free: 5.023 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/2.036, allocations: 296 kB / 1.381 GB, free: 4.734 MB / 0.9168 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.01485/2.051, allocations: 5.414 MB / 1.386 GB, free: 15.4 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005866/2.057, allocations: 1.158 MB / 1.387 GB, free: 14.23 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/2.078, allocations: 8.618 MB / 1.396 GB, free: 5.613 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5214/2.599, allocations: 6.559 MB / 1.402 GB, free: 318 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/2.599, allocations: 1.812 kB / 1.402 GB, free: 318 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009268/2.609, allocations: 2.488 MB / 1.405 GB, free: 317.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004028/2.613, allocations: 113.5 kB / 1.405 GB, free: 317.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007514/2.62, allocations: 0.5557 MB / 1.405 GB, free: 317.9 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007724/2.621, allocations: 326.6 kB / 1.406 GB, free: 317.9 MB / 0.9324 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01974/2.641, allocations: 8.865 MB / 1.414 GB, free: 317.5 MB / 0.9324 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01992/2.661, allocations: 11.81 MB / 1.426 GB, free: 316.7 MB / 0.9324 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004124/2.665, allocations: 3.255 MB / 1.429 GB, free: 315.5 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.02178/2.687, allocations: 10.67 MB / 1.439 GB, free: 312 MB / 0.9324 GB Notification: Performance of Backend: time 9.72e-07/2.687, allocations: 0 / 1.439 GB, free: 312 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.03274/2.719, allocations: 17.28 MB / 1.456 GB, free: 303.1 MB / 0.9324 GB Notification: Performance of SimCode: time 0.08222/2.802, allocations: 38.04 MB / 1.494 GB, free: 274.3 MB / 0.9324 GB Notification: Performance of Templates: time 0.8083/3.61, allocations: 270.3 MB / 1.757 GB, free: 312.5 MB / 0.9324 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)