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.BoreholeTwoUTube.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.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.7/1.7, allocations: 287.4 MB / 303.2 MB, free: 8.227 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.0009695/0.0009695, allocations: 178.5 kB / 371.8 MB, free: 10.79 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.527/1.527, allocations: 205.4 MB / 0.6304 GB, free: 10.51 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.0008031/0.0008031, allocations: 93.27 kB / 0.7438 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003864, allocations: 12.53 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.24, allocations: 115.3 MB / 0.9793 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.06512/0.3052, allocations: 78.27 MB / 1.056 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5708/0.8761, allocations: 23.88 MB / 1.079 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005445/0.8816, allocations: 97.62 kB / 1.079 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005804/0.8874, allocations: 1.296 MB / 1.08 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.8991, allocations: 3.175 MB / 1.084 GB, free: 13.14 MB / 0.6823 GB [/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.01058/0.9097, allocations: 2.879 MB / 1.086 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.1306/1.04, allocations: 79.8 MB / 1.164 GB, free: 328 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0533/1.094, allocations: 26.24 MB / 1.19 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04364/1.137, allocations: 17.26 MB / 1.207 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03971/1.177, allocations: 17.77 MB / 1.224 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.007903/1.185, allocations: 1.238 MB / 1.225 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02559/1.211, allocations: 3.519 MB / 1.229 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.01294/1.224, allocations: 4.991 MB / 1.234 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.01786/1.242, allocations: 6.297 MB / 1.24 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.07/1.312, allocations: 52.24 MB / 1.291 GB, free: 1.73 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/1.312, allocations: 0 / 1.291 GB, free: 1.73 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.543e-06/1.312, allocations: 2.734 kB / 1.291 GB, free: 1.73 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001951/1.314, allocations: 4 kB / 1.291 GB, free: 1.727 MB / 0.823 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.06925/1.383, allocations: 25.2 MB / 1.315 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.383, allocations: 8.031 kB / 1.315 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/1.399, allocations: 3.03 MB / 1.318 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07655/1.476, allocations: 31.89 MB / 1.349 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001641/1.477, allocations: 1.303 MB / 1.351 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006917/1.484, allocations: 1.777 MB / 1.353 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07894/1.563, allocations: 26.52 MB / 1.378 GB, free: 8.18 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001164/1.565, allocations: 63.45 kB / 1.378 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005803/1.57, allocations: 0.707 MB / 1.379 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003941/1.571, allocations: 420 kB / 1.38 GB, free: 7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05897/1.63, allocations: 23.58 MB / 1.403 GB, free: 15.4 MB / 0.948 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.9779/2.608, allocations: 103.4 MB / 1.504 GB, free: 245 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02134/2.629, allocations: 13.41 MB / 1.517 GB, free: 237.9 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01418/2.643, allocations: 9.961 MB / 1.526 GB, free: 232.9 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002626/2.646, allocations: 2.643 MB / 1.529 GB, free: 230.1 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/2.646, allocations: 159.8 kB / 1.529 GB, free: 229.9 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01294/2.659, allocations: 1.064 MB / 1.53 GB, free: 229.7 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=1034): time 3.059e-05/2.659, allocations: 4 kB / 1.53 GB, free: 229.7 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1034): time 0.05862/2.718, allocations: 27.18 MB / 1.557 GB, free: 213.3 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/2.718, allocations: 156.5 kB / 1.557 GB, free: 213.2 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05412/2.772, allocations: 24.97 MB / 1.581 GB, free: 189.4 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.00267/2.775, allocations: 241.7 kB / 1.581 GB, free: 189.2 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01268/2.788, allocations: 10.92 MB / 1.592 GB, free: 178.6 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.00552/2.793, allocations: 3.679 MB / 1.596 GB, free: 175 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/2.795, allocations: 308 kB / 1.596 GB, free: 174.7 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.00101/2.796, allocations: 0.9391 MB / 1.597 GB, free: 173.7 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01378/2.81, allocations: 7.989 MB / 1.605 GB, free: 165.7 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01747/2.827, allocations: 11.87 MB / 1.616 GB, free: 152.6 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03019/2.858, allocations: 19.24 MB / 1.635 GB, free: 132.2 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/2.858, allocations: 20 kB / 1.635 GB, free: 132.1 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.05045/2.908, allocations: 24.07 MB / 1.659 GB, free: 107.8 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001487/2.91, allocations: 2.576 MB / 1.661 GB, free: 104.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000347/2.91, allocations: 115.9 kB / 1.661 GB, free: 104 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004359/2.915, allocations: 2.115 MB / 1.663 GB, free: 101.8 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/2.928, allocations: 3.531 MB / 1.667 GB, free: 98.24 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03655/2.964, allocations: 66.69 MB / 1.732 GB, free: 26.19 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02441/2.989, allocations: 2.23 MB / 1.734 GB, free: 23.96 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003247/2.992, allocations: 0.5937 MB / 1.735 GB, free: 23.36 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/2.992, allocations: 4 kB / 1.735 GB, free: 23.36 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04164/3.034, allocations: 22.16 MB / 1.756 GB, free: 1.004 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003398/3.034, allocations: 112 kB / 1.756 GB, free: 0.8945 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004009/3.038, allocations: 2.025 MB / 1.758 GB, free: 14.74 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0144/3.053, allocations: 3.526 MB / 1.762 GB, free: 11.21 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8729/3.926, allocations: 68.29 MB / 1.829 GB, free: 302.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02203/3.948, allocations: 2.199 MB / 1.831 GB, free: 302.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003516/3.951, allocations: 0.5941 MB / 1.831 GB, free: 302.6 MB / 1.026 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 (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(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: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.02466/3.976, allocations: 9.915 MB / 1.841 GB, free: 302.5 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006419/3.982, allocations: 2.052 MB / 1.843 GB, free: 302.5 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03782/4.02, allocations: 17.94 MB / 1.86 GB, free: 295.7 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02714/4.047, allocations: 14.42 MB / 1.875 GB, free: 290.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/4.047, allocations: 0 / 1.875 GB, free: 290.2 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01591/4.063, allocations: 4.669 MB / 1.879 GB, free: 288.2 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007944/4.071, allocations: 240.8 kB / 1.879 GB, free: 288 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01553/4.087, allocations: 1.147 MB / 1.88 GB, free: 287.8 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002588/4.089, allocations: 0.6779 MB / 1.881 GB, free: 287.8 MB / 1.026 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04027/4.13, allocations: 19.13 MB / 1.9 GB, free: 281.5 MB / 1.026 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03644/4.166, allocations: 25.25 MB / 1.924 GB, free: 266.4 MB / 1.026 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009028/4.175, allocations: 7.164 MB / 1.931 GB, free: 259.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03044/4.206, allocations: 17.64 MB / 1.949 GB, free: 241.7 MB / 1.026 GB Notification: Performance of Backend: time 8.52e-07/4.206, allocations: 0 / 1.949 GB, free: 241.7 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.06466/4.27, allocations: 34.98 MB / 1.983 GB, free: 206 MB / 1.026 GB Notification: Performance of SimCode: time 0.1251/4.396, allocations: 69.35 MB / 2.051 GB, free: 137.1 MB / 1.026 GB Notification: Performance of Templates: time 1.131/5.527, allocations: 493.3 MB / 2.532 GB, free: 64.12 MB / 1.058 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1)