Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 116.8 kB / 16.38 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 189.2 kB / 17.31 MB, free: 5.617 MB / 14.72 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.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.814/1.814, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 71.91 kB / 0.673 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2685, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.5948/0.8633, allocations: 84.98 MB / 0.8678 GB, free: 7.828 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04703/0.9104, allocations: 25.59 MB / 0.8928 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00833/0.9188, allocations: 115.8 kB / 0.8929 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.007589/0.9265, allocations: 1.776 MB / 0.8946 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01949/0.946, allocations: 4.007 MB / 0.8986 GB, free: 15.75 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.01468/0.9607, allocations: 4.088 MB / 0.9025 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.142/1.103, allocations: 75.12 MB / 0.9759 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06405/1.167, allocations: 34.79 MB / 1.01 GB, free: 3.871 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05211/1.219, allocations: 24.15 MB / 1.033 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03972/1.259, allocations: 21.31 MB / 1.054 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.01205/1.271, allocations: 3.867 MB / 1.058 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0284/1.299, allocations: 7.093 MB / 1.065 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01788/1.317, allocations: 8.348 MB / 1.073 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0423/1.36, allocations: 17.94 MB / 1.091 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 1.093/2.453, allocations: 62.86 MB / 1.152 GB, free: 134.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/2.453, allocations: 4.875 kB / 1.152 GB, free: 134.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.055e-06/2.453, allocations: 1.719 kB / 1.152 GB, free: 134.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001885/2.455, allocations: 0 / 1.152 GB, free: 134.4 MB / 0.92 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.1237/2.578, allocations: 31.24 MB / 1.183 GB, free: 123.8 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.807e-05/2.578, allocations: 9.875 kB / 1.183 GB, free: 123.8 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02767/2.606, allocations: 3.032 MB / 1.186 GB, free: 122.4 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08451/2.691, allocations: 29.53 MB / 1.214 GB, free: 116.7 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001901/2.693, allocations: 1.309 MB / 1.216 GB, free: 116.6 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01061/2.703, allocations: 1.774 MB / 1.217 GB, free: 116.6 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09171/2.795, allocations: 26.65 MB / 1.243 GB, free: 105.8 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001536/2.797, allocations: 60.14 kB / 1.243 GB, free: 105.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01195/2.809, allocations: 0.7065 MB / 1.244 GB, free: 105.3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007286/2.809, allocations: 420.4 kB / 1.245 GB, free: 105.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06774/2.877, allocations: 23.7 MB / 1.268 GB, free: 85.77 MB / 0.92 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.2422/3.119, allocations: 105.8 MB / 1.371 GB, free: 10.12 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03716/3.157, allocations: 13.47 MB / 1.384 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02222/3.179, allocations: 9.739 MB / 1.394 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004449/3.183, allocations: 2.632 MB / 1.396 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/3.184, allocations: 161.3 kB / 1.396 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01684/3.201, allocations: 1.091 MB / 1.398 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1034): time 4.252e-05/3.201, allocations: 0 / 1.398 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1034): time 0.07397/3.275, allocations: 27.13 MB / 1.424 GB, free: 2.371 MB / 0.9982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/3.275, allocations: 163.5 kB / 1.424 GB, free: 2.195 MB / 0.9982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07812/3.353, allocations: 26.8 MB / 1.45 GB, free: 7.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.004129/3.357, allocations: 249.7 kB / 1.451 GB, free: 7.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.02051/3.378, allocations: 10.88 MB / 1.461 GB, free: 12.39 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.008737/3.386, allocations: 3.677 MB / 1.465 GB, free: 8.738 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01611/3.403, allocations: 3.251 MB / 1.468 GB, free: 5.477 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001602/3.403, allocations: 305.1 kB / 1.468 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01875/3.422, allocations: 8.242 MB / 1.476 GB, free: 12.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02783/3.449, allocations: 12.07 MB / 1.488 GB, free: 15.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04163/3.491, allocations: 19.44 MB / 1.507 GB, free: 11.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/3.491, allocations: 24 kB / 1.507 GB, free: 11.29 MB / 1.092 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.06388/3.555, allocations: 24.46 MB / 1.531 GB, free: 3.148 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/3.555, allocations: 40 kB / 1.531 GB, free: 3.109 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004354/3.556, allocations: 112.1 kB / 1.531 GB, free: 3 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00485/3.561, allocations: 2.13 MB / 1.533 GB, free: 0.7656 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01461/3.575, allocations: 3.527 MB / 1.537 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5713/4.147, allocations: 73.71 MB / 1.609 GB, free: 374.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02212/4.169, allocations: 1.132 MB / 1.61 GB, free: 374.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003971/4.173, allocations: 0.5969 MB / 1.61 GB, free: 374.8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03489/4.208, allocations: 17.46 MB / 1.627 GB, free: 368.7 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02061/4.228, allocations: 12.06 MB / 1.639 GB, free: 361.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03346/4.262, allocations: 19.42 MB / 1.658 GB, free: 352 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001582/4.262, allocations: 24 kB / 1.658 GB, free: 352 MB / 1.123 GB Notification: Performance of matching and sorting (n=1984) (initialization_lambda0): time 0.05355/4.316, allocations: 24.44 MB / 1.682 GB, free: 343.6 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/4.316, allocations: 39.44 kB / 1.682 GB, free: 343.6 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004987/4.316, allocations: 114.5 kB / 1.682 GB, free: 343.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/4.321, allocations: 2.089 MB / 1.684 GB, free: 342.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01434/4.335, allocations: 3.527 MB / 1.688 GB, free: 342.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.039/4.374, allocations: 75 MB / 1.761 GB, free: 265.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02243/4.396, allocations: 1.367 MB / 1.762 GB, free: 264.1 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003148/4.4, allocations: 0.5937 MB / 1.763 GB, free: 263.5 MB / 1.123 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.003944/4.404, allocations: 1.021 MB / 1.764 GB, free: 262.5 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006541/4.41, allocations: 2.052 MB / 1.766 GB, free: 261.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03579/4.446, allocations: 17.98 MB / 1.783 GB, free: 243.4 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02893/4.475, allocations: 14.47 MB / 1.797 GB, free: 228.7 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/4.475, allocations: 0 / 1.797 GB, free: 228.7 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01335/4.488, allocations: 4.671 MB / 1.802 GB, free: 224 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008479/4.497, allocations: 239.9 kB / 1.802 GB, free: 223.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01684/4.514, allocations: 0.6474 MB / 1.803 GB, free: 223.2 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003288/4.517, allocations: 0.6826 MB / 1.804 GB, free: 222.5 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03939/4.556, allocations: 18.97 MB / 1.822 GB, free: 203.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03895/4.595, allocations: 25.34 MB / 1.847 GB, free: 177.9 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009765/4.605, allocations: 7.227 MB / 1.854 GB, free: 170.7 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.03389/4.639, allocations: 19.01 MB / 1.872 GB, free: 151.8 MB / 1.123 GB Notification: Performance of Backend: time 9.32e-07/4.639, allocations: 0 / 1.872 GB, free: 151.8 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.07461/4.714, allocations: 35.41 MB / 1.907 GB, free: 115.5 MB / 1.123 GB Notification: Performance of SimCode: time 0.1495/4.863, allocations: 62.3 MB / 1.968 GB, free: 53.84 MB / 1.123 GB Notification: Performance of Templates: time 1.692/6.555, allocations: 0.5245 GB / 2.492 GB, free: 364.9 MB / 1.123 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1)