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.BoreholeTwoUTube.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.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, 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.001059/0.001059, allocations: 178.4 kB / 326.5 MB, free: 2.699 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.734/1.734, allocations: 205 MB / 0.5767 GB, free: 21.06 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.0009062/0.0009061, allocations: 88.8 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004174, allocations: 12.69 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2277, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.06185/0.2896, allocations: 84.1 MB / 0.9789 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03753/0.3272, allocations: 25.76 MB / 1.004 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005986/0.3332, allocations: 99.44 kB / 1.004 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006331/0.3396, allocations: 1.539 MB / 1.006 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.3536, allocations: 3.684 MB / 1.009 GB, free: 0.6445 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.01157/0.3652, allocations: 3.765 MB / 1.013 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.9996/1.365, allocations: 92.13 MB / 1.103 GB, free: 10.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04503/1.41, allocations: 26.19 MB / 1.128 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03654/1.446, allocations: 17.43 MB / 1.145 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03872/1.485, allocations: 18.8 MB / 1.164 GB, free: 6.93 MB / 0.7137 GB Notification: Performance of NFPackage.collectConstants: time 0.009373/1.495, allocations: 1.24 MB / 1.165 GB, free: 5.691 MB / 0.7137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02572/1.52, allocations: 4.228 MB / 1.169 GB, free: 2.297 MB / 0.7137 GB Notification: Performance of NFScalarize.scalarize: time 0.01265/1.533, allocations: 5.211 MB / 1.174 GB, free: 14.68 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.04111/1.574, allocations: 14.45 MB / 1.188 GB, free: 1.961 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.08329/1.658, allocations: 59.3 MB / 1.246 GB, free: 7.766 MB / 0.7918 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.658, allocations: 0 / 1.246 GB, free: 7.766 MB / 0.7918 GB Notification: Performance of FrontEnd: time 3.346e-06/1.658, allocations: 0 / 1.246 GB, free: 7.766 MB / 0.7918 GB Notification: Performance of Transformations before backend: time 0.001937/1.66, allocations: 0 / 1.246 GB, free: 7.766 MB / 0.7918 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.06865/1.728, allocations: 25.2 MB / 1.271 GB, free: 14.57 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.728, allocations: 8.031 kB / 1.271 GB, free: 14.57 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01688/1.745, allocations: 3.026 MB / 1.274 GB, free: 11.51 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06963/1.815, allocations: 31.9 MB / 1.305 GB, free: 12.23 MB / 0.8543 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001518/1.816, allocations: 1.303 MB / 1.306 GB, free: 10.93 MB / 0.8543 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00671/1.823, allocations: 1.773 MB / 1.308 GB, free: 9.156 MB / 0.8543 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06928/1.893, allocations: 26.65 MB / 1.334 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006116/1.893, allocations: 63.5 kB / 1.334 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005543/1.899, allocations: 0.707 MB / 1.335 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003557/1.899, allocations: 424 kB / 1.335 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05893/1.958, allocations: 23.71 MB / 1.358 GB, free: 5.125 MB / 0.9012 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.9839/2.942, allocations: 103.4 MB / 1.459 GB, free: 285.8 MB / 0.9482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/2.961, allocations: 13.48 MB / 1.473 GB, free: 280.2 MB / 0.9482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0125/2.974, allocations: 9.748 MB / 1.482 GB, free: 275.2 MB / 0.9482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002307/2.976, allocations: 2.639 MB / 1.485 GB, free: 272.3 MB / 0.9482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/2.976, allocations: 167.7 kB / 1.485 GB, free: 272.2 MB / 0.9482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009589/2.986, allocations: 1.07 MB / 1.486 GB, free: 272 MB / 0.9482 GB Notification: Performance of pre-optimization done (n=1034): time 2.678e-05/2.986, allocations: 0 / 1.486 GB, free: 272 MB / 0.9482 GB Notification: Performance of matching and sorting (n=1034): time 0.04335/3.029, allocations: 27.26 MB / 1.512 GB, free: 256.7 MB / 0.9482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/3.029, allocations: 162.1 kB / 1.513 GB, free: 256.7 MB / 0.9482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03733/3.067, allocations: 25.13 MB / 1.537 GB, free: 234 MB / 0.9482 GB Notification: Performance of collectPreVariables (initialization): time 0.002172/3.069, allocations: 245.7 kB / 1.537 GB, free: 233.8 MB / 0.9482 GB Notification: Performance of collectInitialEqns (initialization): time 0.008653/3.077, allocations: 10.91 MB / 1.548 GB, free: 223.5 MB / 0.9482 GB Notification: Performance of collectInitialBindings (initialization): time 0.003689/3.081, allocations: 3.686 MB / 1.552 GB, free: 219.9 MB / 0.9482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/3.083, allocations: 1.388 MB / 1.553 GB, free: 218.5 MB / 0.9482 GB Notification: Performance of setup shared object (initialization): time 3.563e-05/3.083, allocations: 305.1 kB / 1.553 GB, free: 218.2 MB / 0.9482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009803/3.093, allocations: 8.054 MB / 1.561 GB, free: 210.1 MB / 0.9482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/3.106, allocations: 11.94 MB / 1.573 GB, free: 197 MB / 0.9482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02422/3.13, allocations: 19.26 MB / 1.592 GB, free: 176.8 MB / 0.9482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.548e-05/3.13, allocations: 20 kB / 1.592 GB, free: 176.8 MB / 0.9482 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.04491/3.175, allocations: 24.21 MB / 1.615 GB, free: 152.3 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 0.001164/3.176, allocations: 2.566 MB / 1.618 GB, free: 148.6 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002653/3.177, allocations: 116 kB / 1.618 GB, free: 148.5 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003905/3.18, allocations: 2.119 MB / 1.62 GB, free: 146.3 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/3.193, allocations: 3.538 MB / 1.623 GB, free: 142.7 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03425/3.227, allocations: 66.73 MB / 1.689 GB, free: 70.64 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02036/3.247, allocations: 2.23 MB / 1.691 GB, free: 68.41 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002937/3.25, allocations: 0.5898 MB / 1.691 GB, free: 67.82 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/3.25, allocations: 4 kB / 1.691 GB, free: 67.82 MB / 0.9482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03518/3.286, allocations: 22.29 MB / 1.713 GB, free: 45.32 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000269/3.286, allocations: 115.9 kB / 1.713 GB, free: 45.21 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/3.289, allocations: 2.037 MB / 1.715 GB, free: 43.05 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01221/3.301, allocations: 3.523 MB / 1.719 GB, free: 39.52 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4437/3.745, allocations: 68.32 MB / 1.785 GB, free: 278.3 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02201/3.767, allocations: 2.2 MB / 1.788 GB, free: 278.3 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0035/3.771, allocations: 0.5952 MB / 1.788 GB, free: 278.3 MB / 0.9638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (1820): * Single equations (assignments): 1769 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 40 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%), (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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.02036/3.791, allocations: 9.913 MB / 1.798 GB, free: 278.1 MB / 0.9638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006499/3.798, allocations: 2.055 MB / 1.8 GB, free: 278.1 MB / 0.9638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03689/3.834, allocations: 17.99 MB / 1.817 GB, free: 273.8 MB / 0.9638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02472/3.859, allocations: 14.47 MB / 1.831 GB, free: 268.2 MB / 0.9638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/3.859, allocations: 2.844 kB / 1.831 GB, free: 268.2 MB / 0.9638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0143/3.874, allocations: 4.381 MB / 1.836 GB, free: 266.8 MB / 0.9638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007155/3.881, allocations: 241.5 kB / 1.836 GB, free: 266.7 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01399/3.895, allocations: 1.145 MB / 1.837 GB, free: 266.5 MB / 0.9638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002359/3.897, allocations: 0.6801 MB / 1.838 GB, free: 266.5 MB / 0.9638 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03855/3.936, allocations: 19.19 MB / 1.857 GB, free: 260.4 MB / 0.9638 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03841/3.974, allocations: 25.34 MB / 1.881 GB, free: 240.9 MB / 0.9638 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009613/3.984, allocations: 7.222 MB / 1.888 GB, free: 233.7 MB / 0.9638 GB Notification: Performance of sorting global known variables: time 0.03348/4.017, allocations: 17.8 MB / 1.906 GB, free: 216 MB / 0.9638 GB Notification: Performance of Backend: time 1.182e-06/4.017, allocations: 0 / 1.906 GB, free: 216 MB / 0.9638 GB Notification: Performance of simCode: created initialization part: time 0.05682/4.074, allocations: 35.17 MB / 1.94 GB, free: 180.2 MB / 0.9638 GB Notification: Performance of SimCode: time 0.1255/4.2, allocations: 70.67 MB / 2.009 GB, free: 109.9 MB / 0.9638 GB Notification: Performance of Templates: time 1.025/5.224, allocations: 0.4925 GB / 2.502 GB, free: 6.98 MB / 1.011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1)