Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.826/4.826, allocations: 0.5623 GB / 0.5776 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002511/0.002511, allocations: 355.3 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.084/4.084, allocations: 410.7 MB / 1.113 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003217/0.003217, allocations: 168.7 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006518/0.0006521, allocations: 12 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.7157, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.09229/0.808, allocations: 78.25 MB / 1.538 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03934/0.8474, allocations: 23.63 MB / 1.561 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00488/0.8524, allocations: 91.44 kB / 1.561 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006577/0.859, allocations: 1.452 MB / 1.562 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.8738, allocations: 3.955 MB / 1.566 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01342/0.8872, allocations: 3.503 MB / 1.57 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.1043/0.9916, allocations: 78.35 MB / 1.646 GB, free: 95.14 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04446/1.036, allocations: 22.71 MB / 1.668 GB, free: 72.43 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03737/1.074, allocations: 16.63 MB / 1.685 GB, free: 55.73 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03701/1.111, allocations: 17.77 MB / 1.702 GB, free: 37.89 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.007346/1.118, allocations: 1.238 MB / 1.703 GB, free: 36.65 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02089/1.139, allocations: 3.352 MB / 1.706 GB, free: 33.29 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.01192/1.151, allocations: 4.991 MB / 1.711 GB, free: 28.28 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.01362/1.165, allocations: 6.297 MB / 1.717 GB, free: 21.96 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 1.434/2.598, allocations: 52.19 MB / 1.768 GB, free: 86.21 MB / 0.8543 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/2.598, allocations: 0 / 1.768 GB, free: 86.21 MB / 0.8543 GB Notification: Performance of FrontEnd: time 2.995e-06/2.598, allocations: 0 / 1.768 GB, free: 86.21 MB / 0.8543 GB Notification: Performance of Transformations before backend: time 0.001628/2.6, allocations: 3.938 kB / 1.768 GB, free: 86.21 MB / 0.8543 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.08605/2.686, allocations: 25.45 MB / 1.793 GB, free: 72.45 MB / 0.8543 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/2.686, allocations: 9.938 kB / 1.793 GB, free: 72.45 MB / 0.8543 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01828/2.704, allocations: 3.032 MB / 1.796 GB, free: 70.96 MB / 0.8543 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09176/2.796, allocations: 31.18 MB / 1.827 GB, free: 62.05 MB / 0.8543 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002376/2.799, allocations: 1.307 MB / 1.828 GB, free: 62.02 MB / 0.8543 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009218/2.808, allocations: 1.776 MB / 1.83 GB, free: 62 MB / 0.8543 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09209/2.9, allocations: 26.51 MB / 1.856 GB, free: 54.96 MB / 0.8543 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001428/2.901, allocations: 56.2 kB / 1.856 GB, free: 54.95 MB / 0.8543 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007292/2.909, allocations: 0.7099 MB / 1.856 GB, free: 54.95 MB / 0.8543 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004303/2.909, allocations: 424.8 kB / 1.857 GB, free: 54.95 MB / 0.8543 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07905/2.988, allocations: 23.58 MB / 1.88 GB, free: 44.69 MB / 0.8543 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.2543/3.243, allocations: 103.4 MB / 1.981 GB, free: 7.152 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03863/3.281, allocations: 13.42 MB / 1.994 GB, free: 9.703 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.027/3.308, allocations: 9.956 MB / 2.004 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004765/3.313, allocations: 2.64 MB / 2.006 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/3.314, allocations: 162.2 kB / 2.006 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01569/3.329, allocations: 1.074 MB / 2.007 GB, free: 11.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1034): time 3.471e-05/3.329, allocations: 0 / 2.007 GB, free: 11.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=1034): time 0.09139/3.421, allocations: 27.14 MB / 2.034 GB, free: 15.25 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/3.421, allocations: 157.6 kB / 2.034 GB, free: 15.08 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07987/3.501, allocations: 24.96 MB / 2.058 GB, free: 6.242 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.003613/3.505, allocations: 245.7 kB / 2.059 GB, free: 5.996 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.02156/3.526, allocations: 10.92 MB / 2.069 GB, free: 11.08 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.007884/3.534, allocations: 3.673 MB / 2.073 GB, free: 7.43 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003673/3.538, allocations: 307.8 kB / 2.073 GB, free: 7.133 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001981/3.54, allocations: 0.9469 MB / 2.074 GB, free: 6.18 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0261/3.566, allocations: 7.986 MB / 2.082 GB, free: 14.19 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03156/3.598, allocations: 11.87 MB / 2.093 GB, free: 1.074 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03163/3.629, allocations: 10.28 MB / 2.103 GB, free: 6.852 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/3.629, allocations: 20 kB / 2.103 GB, free: 6.832 MB / 1.042 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 1.489/5.118, allocations: 24.06 MB / 2.127 GB, free: 370.5 MB / 1.058 GB Notification: Performance of prepare postOptimizeDAE: time 0.001768/5.12, allocations: 2.574 MB / 2.13 GB, free: 367.4 MB / 1.058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005525/5.12, allocations: 115.8 kB / 2.13 GB, free: 367.4 MB / 1.058 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00794/5.128, allocations: 2.113 MB / 2.132 GB, free: 367.1 MB / 1.058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02635/5.155, allocations: 3.535 MB / 2.135 GB, free: 367.1 MB / 1.058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06176/5.217, allocations: 66.63 MB / 2.2 GB, free: 308.6 MB / 1.058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03554/5.252, allocations: 2.23 MB / 2.202 GB, free: 308.4 MB / 1.058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003978/5.256, allocations: 0.5965 MB / 2.203 GB, free: 308.3 MB / 1.058 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/5.256, allocations: 3.969 kB / 2.203 GB, free: 308.3 MB / 1.058 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0707/5.327, allocations: 22.15 MB / 2.225 GB, free: 299.6 MB / 1.058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005683/5.328, allocations: 112.6 kB / 2.225 GB, free: 299.6 MB / 1.058 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006398/5.334, allocations: 2.043 MB / 2.227 GB, free: 298.8 MB / 1.058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02577/5.36, allocations: 3.53 MB / 2.23 GB, free: 298.4 MB / 1.058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06179/5.422, allocations: 68.26 MB / 2.297 GB, free: 236.2 MB / 1.058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0349/5.457, allocations: 2.204 MB / 2.299 GB, free: 235.2 MB / 1.058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004073/5.461, allocations: 0.5953 MB / 2.3 GB, free: 235 MB / 1.058 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.02647/5.487, allocations: 9.923 MB / 2.309 GB, free: 225.1 MB / 1.058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008723/5.496, allocations: 2.048 MB / 2.311 GB, free: 224.1 MB / 1.058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05926/5.555, allocations: 17.94 MB / 2.329 GB, free: 206.1 MB / 1.058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04294/5.598, allocations: 14.42 MB / 2.343 GB, free: 191.5 MB / 1.058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.442e-05/5.598, allocations: 0 / 2.343 GB, free: 191.5 MB / 1.058 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01812/5.617, allocations: 4.673 MB / 2.347 GB, free: 187 MB / 1.058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009896/5.627, allocations: 243.9 kB / 2.348 GB, free: 186.8 MB / 1.058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02518/5.652, allocations: 1.138 MB / 2.349 GB, free: 185.7 MB / 1.058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003231/5.655, allocations: 0.6811 MB / 2.349 GB, free: 185 MB / 1.058 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06797/5.723, allocations: 19.12 MB / 2.368 GB, free: 165.9 MB / 1.058 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0662/5.789, allocations: 25.26 MB / 2.393 GB, free: 140.4 MB / 1.058 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01601/5.805, allocations: 7.168 MB / 2.4 GB, free: 133.2 MB / 1.058 GB Notification: Performance of sorting global known variables: time 0.04465/5.85, allocations: 17.63 MB / 2.417 GB, free: 115.7 MB / 1.058 GB Notification: Performance of Backend: time 7.71e-07/5.85, allocations: 0 / 2.417 GB, free: 115.7 MB / 1.058 GB Notification: Performance of simCode: created initialization part: time 0.09418/5.944, allocations: 34.95 MB / 2.451 GB, free: 79.88 MB / 1.058 GB Notification: Performance of SimCode: time 0.2081/6.152, allocations: 69.49 MB / 2.519 GB, free: 10.68 MB / 1.058 GB Notification: Performance of Templates: time 2.817/8.97, allocations: 492.3 MB / 3 GB, free: 327.2 MB / 1.089 GB