Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.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.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.621/1.621, allocations: 287.4 MB / 303.2 MB, free: 8.238 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.001209/0.001209, allocations: 175.9 kB / 371.8 MB, free: 10.82 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.474/1.474, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0008905/0.0008904, allocations: 89.11 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 10.81 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.689/0.882, allocations: 270 MB / 1.243 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.09261/0.9747, allocations: 65.73 MB / 1.307 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01618/0.9909, allocations: 310.1 kB / 1.307 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01552/1.006, allocations: 3.362 MB / 1.311 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.04725/1.054, allocations: 9.771 MB / 1.32 GB, free: 14.84 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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‘. [/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.02782/1.082, allocations: 6.484 MB / 1.327 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 1.552/2.634, allocations: 237.1 MB / 1.558 GB, free: 44.77 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1569/2.791, allocations: 80.27 MB / 1.637 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1366/2.928, allocations: 52.51 MB / 1.688 GB, free: 4.141 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1247/3.052, allocations: 53.29 MB / 1.74 GB, free: 9.23 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0308/3.083, allocations: 3.707 MB / 1.744 GB, free: 5.523 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08739/3.171, allocations: 8.02 MB / 1.751 GB, free: 14.59 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.04487/3.216, allocations: 15.08 MB / 1.766 GB, free: 4.039 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.06042/3.276, allocations: 18.81 MB / 1.784 GB, free: 1.184 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 1.506/4.782, allocations: 152 MB / 1.933 GB, free: 104.9 MB / 1.136 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/4.782, allocations: 2.625 kB / 1.933 GB, free: 104.9 MB / 1.136 GB Notification: Performance of FrontEnd: time 2.565e-06/4.782, allocations: 3.938 kB / 1.933 GB, free: 104.9 MB / 1.136 GB Notification: Performance of Transformations before backend: time 0.005545/4.788, allocations: 2.531 kB / 1.933 GB, free: 104.9 MB / 1.136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12889 * Number of variables: 12889 Notification: Performance of Generate backend data structure: time 0.2189/5.006, allocations: 75.1 MB / 2.006 GB, free: 64.2 MB / 1.136 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/5.007, allocations: 10.66 kB / 2.006 GB, free: 64.2 MB / 1.136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05511/5.062, allocations: 9.161 MB / 2.015 GB, free: 59.68 MB / 1.136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1969/5.259, allocations: 97 MB / 2.11 GB, free: 30.23 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005335/5.264, allocations: 3.81 MB / 2.114 GB, free: 30.12 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02498/5.289, allocations: 5.098 MB / 2.119 GB, free: 30.09 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2319/5.521, allocations: 76.86 MB / 2.194 GB, free: 2.055 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002918/5.524, allocations: 137.4 kB / 2.194 GB, free: 1.969 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02182/5.546, allocations: 2.1 MB / 2.196 GB, free: 15.89 MB / 1.183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001529/5.547, allocations: 1.461 MB / 2.197 GB, free: 14.45 MB / 1.183 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2018/5.749, allocations: 65.63 MB / 2.261 GB, free: 13.22 MB / 1.245 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 1.703/7.452, allocations: 373.6 MB / 2.626 GB, free: 214.4 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07018/7.522, allocations: 40.61 MB / 2.666 GB, free: 174.5 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05048/7.573, allocations: 37.27 MB / 2.702 GB, free: 138.5 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005823/7.578, allocations: 5.257 MB / 2.707 GB, free: 132.3 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006676/7.579, allocations: 398.2 kB / 2.708 GB, free: 131.9 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04256/7.622, allocations: 5.317 MB / 2.713 GB, free: 127.3 MB / 1.292 GB Notification: Performance of pre-optimization done (n=2661): time 6.696e-05/7.622, allocations: 0 / 2.713 GB, free: 127.3 MB / 1.292 GB Notification: Performance of matching and sorting (n=2661): time 0.1474/7.769, allocations: 68.25 MB / 2.78 GB, free: 57.6 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002288/7.77, allocations: 0.8247 MB / 2.78 GB, free: 56.64 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.34/9.11, allocations: 80.03 MB / 2.859 GB, free: 440.1 MB / 1.293 GB Notification: Performance of collectPreVariables (initialization): time 0.009733/9.12, allocations: 0.617 MB / 2.859 GB, free: 440.1 MB / 1.293 GB Notification: Performance of collectInitialEqns (initialization): time 0.05313/9.173, allocations: 35.78 MB / 2.894 GB, free: 422.7 MB / 1.293 GB Notification: Performance of collectInitialBindings (initialization): time 0.01556/9.188, allocations: 9.458 MB / 2.903 GB, free: 415.5 MB / 1.293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007866/9.196, allocations: 0.7964 MB / 2.904 GB, free: 414.8 MB / 1.293 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/9.196, allocations: 304.9 kB / 2.904 GB, free: 414.5 MB / 1.293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04328/9.24, allocations: 21.24 MB / 2.925 GB, free: 406.9 MB / 1.293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05655/9.296, allocations: 32.95 MB / 2.957 GB, free: 387.1 MB / 1.293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0895/9.386, allocations: 51.27 MB / 3.007 GB, free: 359.6 MB / 1.293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005194/9.386, allocations: 66.56 kB / 3.008 GB, free: 359.6 MB / 1.293 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1545/9.541, allocations: 68.37 MB / 3.074 GB, free: 294.4 MB / 1.293 GB Notification: Performance of prepare postOptimizeDAE: time 0.003741/9.545, allocations: 7.577 MB / 3.082 GB, free: 283.4 MB / 1.293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001169/9.546, allocations: 359.9 kB / 3.082 GB, free: 283.1 MB / 1.293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0486/9.594, allocations: 43.64 MB / 3.125 GB, free: 239.1 MB / 1.293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02827/9.623, allocations: 7.789 MB / 3.132 GB, free: 231.3 MB / 1.293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08625/9.709, allocations: 123.8 MB / 3.253 GB, free: 99.39 MB / 1.293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06796/9.777, allocations: 6.18 MB / 3.259 GB, free: 93.2 MB / 1.293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01003/9.787, allocations: 1.613 MB / 3.261 GB, free: 91.59 MB / 1.293 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/9.787, allocations: 4 kB / 3.261 GB, free: 91.59 MB / 1.293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8523/10.64, allocations: 62.53 MB / 3.322 GB, free: 390.6 MB / 1.293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001614/10.64, allocations: 355.4 kB / 3.322 GB, free: 390.6 MB / 1.293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05131/10.69, allocations: 41.25 MB / 3.362 GB, free: 389.1 MB / 1.293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03058/10.72, allocations: 7.773 MB / 3.37 GB, free: 389.1 MB / 1.293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09348/10.82, allocations: 127.4 MB / 3.494 GB, free: 286.6 MB / 1.293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06806/10.88, allocations: 6.11 MB / 3.5 GB, free: 282.9 MB / 1.293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01126/10.9, allocations: 1.616 MB / 3.502 GB, free: 281.3 MB / 1.293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1088 * 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 (4218): * Single equations (assignments): 4114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 64 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 60 {(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,(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,(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: 4 {32 530,1 4,1 4,12 228} Notification: Performance of prepare postOptimizeDAE: time 0.07128/10.97, allocations: 29.54 MB / 3.531 GB, free: 256.6 MB / 1.293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02902/11, allocations: 6.324 MB / 3.537 GB, free: 253.5 MB / 1.293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1297/11.13, allocations: 51.86 MB / 3.588 GB, free: 201.8 MB / 1.293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08062/11.21, allocations: 40.13 MB / 3.627 GB, free: 161.4 MB / 1.293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001072/11.21, allocations: 0 / 3.627 GB, free: 161.4 MB / 1.293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04951/11.26, allocations: 13.58 MB / 3.64 GB, free: 147.8 MB / 1.293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02911/11.29, allocations: 0.5381 MB / 3.641 GB, free: 147.3 MB / 1.293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05386/11.34, allocations: 3.386 MB / 3.644 GB, free: 144.3 MB / 1.293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007061/11.35, allocations: 1.557 MB / 3.645 GB, free: 142.7 MB / 1.293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.122/11.47, allocations: 56.53 MB / 3.701 GB, free: 86.61 MB / 1.293 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.137/11.61, allocations: 63.7 MB / 3.763 GB, free: 22.71 MB / 1.293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.7475/12.35, allocations: 18.46 MB / 3.781 GB, free: 362.1 MB / 1.293 GB Notification: Performance of sorting global known variables: time 0.1361/12.49, allocations: 56.79 MB / 3.836 GB, free: 360.1 MB / 1.293 GB Notification: Performance of Backend: time 1.563e-06/12.49, allocations: 0 / 3.836 GB, free: 360.1 MB / 1.293 GB Notification: Performance of simCode: created initialization part: time 0.2084/12.7, allocations: 85.23 MB / 3.92 GB, free: 321.8 MB / 1.293 GB Notification: Performance of SimCode: time 0.5025/13.2, allocations: 210 MB / 4.125 GB, free: 136.1 MB / 1.293 GB Notification: Performance of Templates: time 4.252/17.45, allocations: 1.437 GB / 5.562 GB, free: 225 MB / 1.371 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)