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.BoreholeDynamics.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.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.4 MB / 304.3 MB, free: 8.16 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.00117/0.001171, allocations: 180.5 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.589/1.589, allocations: 205.4 MB / 0.6316 GB, free: 9.898 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.0009281/0.0009281, allocations: 96.2 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 13.19 kB / 0.8681 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 115.3 MB / 0.9808 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.7653/0.9758, allocations: 270 MB / 1.244 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.09591/1.072, allocations: 65.71 MB / 1.309 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01581/1.088, allocations: 306.1 kB / 1.309 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01434/1.102, allocations: 3.386 MB / 1.312 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0372/1.139, allocations: 10.39 MB / 1.322 GB, free: 12.98 MB / 0.8542 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‘. [/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.02319/1.162, allocations: 6.668 MB / 1.329 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 1.453/2.615, allocations: 237.1 MB / 1.56 GB, free: 44.6 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1545/2.77, allocations: 80.45 MB / 1.639 GB, free: 14.54 MB / 0.9637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1391/2.909, allocations: 52.4 MB / 1.69 GB, free: 2.227 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.12/3.029, allocations: 53.3 MB / 1.742 GB, free: 7.316 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.02627/3.056, allocations: 3.703 MB / 1.746 GB, free: 3.613 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07329/3.129, allocations: 9.582 MB / 1.755 GB, free: 11.6 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.04291/3.172, allocations: 15.08 MB / 1.77 GB, free: 96 kB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.1427/3.315, allocations: 42.82 MB / 1.812 GB, free: 12.34 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 1.535/4.85, allocations: 152.5 MB / 1.961 GB, free: 125.2 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/4.85, allocations: 2.625 kB / 1.961 GB, free: 125.2 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.955e-06/4.85, allocations: 0 / 1.961 GB, free: 125.2 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.006737/4.857, allocations: 0 / 1.961 GB, free: 125.2 MB / 1.12 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.2451/5.102, allocations: 75.1 MB / 2.034 GB, free: 84.56 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/5.102, allocations: 11.84 kB / 2.034 GB, free: 84.56 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05385/5.156, allocations: 9.159 MB / 2.043 GB, free: 80.05 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2107/5.367, allocations: 97 MB / 2.138 GB, free: 25.7 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004948/5.372, allocations: 3.811 MB / 2.141 GB, free: 23.52 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02641/5.398, allocations: 5.097 MB / 2.146 GB, free: 20.08 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2429/5.641, allocations: 76.85 MB / 2.221 GB, free: 12.67 MB / 1.183 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004934/5.646, allocations: 146.5 kB / 2.222 GB, free: 12.58 MB / 1.183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02774/5.674, allocations: 2.099 MB / 2.224 GB, free: 10.5 MB / 1.183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001716/5.676, allocations: 1.46 MB / 2.225 GB, free: 9.062 MB / 1.183 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.497/7.172, allocations: 65.63 MB / 2.289 GB, free: 387.4 MB / 1.23 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.5926/7.765, allocations: 373.6 MB / 2.654 GB, free: 85.04 MB / 1.23 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08156/7.846, allocations: 40.6 MB / 2.694 GB, free: 45 MB / 1.23 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05474/7.901, allocations: 37.26 MB / 2.73 GB, free: 8.414 MB / 1.23 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006061/7.907, allocations: 5.258 MB / 2.735 GB, free: 2.18 MB / 1.23 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/7.908, allocations: 406.2 kB / 2.736 GB, free: 1.77 MB / 1.23 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.23/9.138, allocations: 5.31 MB / 2.741 GB, free: 388.8 MB / 1.23 GB Notification: Performance of pre-optimization done (n=2661): time 0.0001028/9.138, allocations: 1.5 kB / 2.741 GB, free: 388.8 MB / 1.23 GB Notification: Performance of matching and sorting (n=2661): time 0.1647/9.302, allocations: 68.25 MB / 2.807 GB, free: 378.8 MB / 1.23 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002623/9.303, allocations: 0.824 MB / 2.808 GB, free: 378.1 MB / 1.23 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1738/9.477, allocations: 80.04 MB / 2.886 GB, free: 329.2 MB / 1.23 GB Notification: Performance of collectPreVariables (initialization): time 0.007037/9.484, allocations: 0.6189 MB / 2.887 GB, free: 328.6 MB / 1.23 GB Notification: Performance of collectInitialEqns (initialization): time 0.04402/9.528, allocations: 35.78 MB / 2.922 GB, free: 297.7 MB / 1.23 GB Notification: Performance of collectInitialBindings (initialization): time 0.01333/9.541, allocations: 9.459 MB / 2.931 GB, free: 289.2 MB / 1.23 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008087/9.549, allocations: 0.793 MB / 2.932 GB, free: 288.4 MB / 1.23 GB Notification: Performance of setup shared object (initialization): time 4.375e-05/9.549, allocations: 305.1 kB / 2.932 GB, free: 288.1 MB / 1.23 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04315/9.592, allocations: 21.24 MB / 2.953 GB, free: 269.7 MB / 1.23 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05494/9.647, allocations: 32.95 MB / 2.985 GB, free: 233.1 MB / 1.23 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08685/9.734, allocations: 51.27 MB / 3.035 GB, free: 178.5 MB / 1.23 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003582/9.735, allocations: 68 kB / 3.035 GB, free: 178.4 MB / 1.23 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.16/9.895, allocations: 68.36 MB / 3.102 GB, free: 109.5 MB / 1.23 GB Notification: Performance of prepare postOptimizeDAE: time 0.004327/9.899, allocations: 7.573 MB / 3.109 GB, free: 98.54 MB / 1.23 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001242/9.9, allocations: 360 kB / 3.11 GB, free: 98.18 MB / 1.23 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05228/9.953, allocations: 43.65 MB / 3.152 GB, free: 54.18 MB / 1.23 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03238/9.985, allocations: 7.783 MB / 3.16 GB, free: 46.39 MB / 1.23 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8714/10.86, allocations: 123.8 MB / 3.281 GB, free: 279.4 MB / 1.23 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07936/10.94, allocations: 6.162 MB / 3.287 GB, free: 279.4 MB / 1.23 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01271/10.95, allocations: 1.619 MB / 3.288 GB, free: 279.4 MB / 1.23 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/10.95, allocations: 4.469 kB / 3.288 GB, free: 279.4 MB / 1.23 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1552/11.1, allocations: 62.53 MB / 3.35 GB, free: 258.5 MB / 1.23 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001659/11.11, allocations: 359.1 kB / 3.35 GB, free: 258.5 MB / 1.23 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05144/11.16, allocations: 41.25 MB / 3.39 GB, free: 232 MB / 1.23 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03252/11.19, allocations: 7.782 MB / 3.398 GB, free: 225.2 MB / 1.23 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0986/11.29, allocations: 127.4 MB / 3.522 GB, free: 99.54 MB / 1.23 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07158/11.36, allocations: 6.109 MB / 3.528 GB, free: 95.4 MB / 1.23 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01226/11.37, allocations: 1.614 MB / 3.53 GB, free: 93.84 MB / 1.23 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.07909/11.45, allocations: 29.54 MB / 3.559 GB, free: 65.88 MB / 1.23 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02979/11.48, allocations: 6.326 MB / 3.565 GB, free: 62.61 MB / 1.23 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1361/11.62, allocations: 51.85 MB / 3.615 GB, free: 10.7 MB / 1.23 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09555/11.71, allocations: 40.12 MB / 3.655 GB, free: 2.297 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001079/11.71, allocations: 3.938 kB / 3.655 GB, free: 2.293 MB / 1.261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05159/11.76, allocations: 13.59 MB / 3.668 GB, free: 4.609 MB / 1.277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.7489/12.51, allocations: 0.5305 MB / 3.668 GB, free: 353.7 MB / 1.277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05908/12.57, allocations: 3.391 MB / 3.672 GB, free: 353.7 MB / 1.277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009052/12.58, allocations: 1.559 MB / 3.673 GB, free: 353.7 MB / 1.277 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1534/12.74, allocations: 56.52 MB / 3.728 GB, free: 352.4 MB / 1.277 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1434/12.88, allocations: 63.71 MB / 3.791 GB, free: 334.5 MB / 1.277 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0302/12.91, allocations: 18.46 MB / 3.809 GB, free: 326.4 MB / 1.277 GB Notification: Performance of sorting global known variables: time 0.1286/13.04, allocations: 56.79 MB / 3.864 GB, free: 277.4 MB / 1.277 GB Notification: Performance of Backend: time 1.633e-06/13.04, allocations: 1.203 kB / 3.864 GB, free: 277.4 MB / 1.277 GB Notification: Performance of simCode: created initialization part: time 0.2226/13.26, allocations: 85.4 MB / 3.947 GB, free: 191.8 MB / 1.277 GB Notification: Performance of SimCode: time 0.5554/13.82, allocations: 210 MB / 4.153 GB, free: 14.44 MB / 1.308 GB Notification: Performance of Templates: time 4.728/18.54, allocations: 1.453 GB / 5.606 GB, free: 75.25 MB / 1.386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)