Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.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.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.565/4.565, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002704/0.002703, allocations: 359.1 kB / 0.6446 GB, free: 21.63 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.279/4.279, allocations: 410.7 MB / 1.113 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00189/0.00189, allocations: 185.8 kB / 1.226 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004943, allocations: 11.25 kB / 1.349 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1982, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 1.007/1.205, allocations: 270 MB / 1.725 GB, free: 34.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1156/1.321, allocations: 64.95 MB / 1.788 GB, free: 31.28 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01645/1.338, allocations: 311 kB / 1.789 GB, free: 31.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01901/1.357, allocations: 3.923 MB / 1.793 GB, free: 30.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.05207/1.409, allocations: 12.25 MB / 1.804 GB, free: 24.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.04122/1.45, allocations: 8.29 MB / 1.813 GB, free: 20.76 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.4412/1.891, allocations: 232.1 MB / 2.039 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 1.866/3.757, allocations: 67.19 MB / 2.105 GB, free: 24.51 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1262/3.883, allocations: 50.57 MB / 2.154 GB, free: 24.49 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1274/4.011, allocations: 53.3 MB / 2.206 GB, free: 24.35 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.02729/4.038, allocations: 3.705 MB / 2.21 GB, free: 24.35 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06904/4.107, allocations: 7.839 MB / 2.218 GB, free: 24.35 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.04081/4.148, allocations: 15.07 MB / 2.232 GB, free: 24.35 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.04757/4.196, allocations: 18.81 MB / 2.251 GB, free: 21.91 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.2334/4.429, allocations: 152 MB / 2.399 GB, free: 9.453 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/4.429, allocations: 0 / 2.399 GB, free: 9.453 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.475e-06/4.429, allocations: 0 / 2.399 GB, free: 9.453 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.004866/4.434, allocations: 4 kB / 2.399 GB, free: 9.449 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.2777/4.712, allocations: 75.91 MB / 2.473 GB, free: 4.809 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/4.712, allocations: 8.031 kB / 2.473 GB, free: 4.801 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05631/4.768, allocations: 9.162 MB / 2.482 GB, free: 11.55 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.924/6.693, allocations: 94.73 MB / 2.575 GB, free: 366.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007106/6.7, allocations: 3.812 MB / 2.578 GB, free: 364.7 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02564/6.726, allocations: 5.092 MB / 2.583 GB, free: 363.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2661/6.992, allocations: 76.85 MB / 2.658 GB, free: 300.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003274/6.995, allocations: 153.5 kB / 2.659 GB, free: 300.3 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02047/7.016, allocations: 2.092 MB / 2.661 GB, free: 298.2 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/7.017, allocations: 1.464 MB / 2.662 GB, free: 296.7 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2092/7.227, allocations: 65.63 MB / 2.726 GB, free: 231.1 MB / 1.198 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 2.477/9.704, allocations: 373.4 MB / 3.091 GB, free: 216.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1115/9.815, allocations: 40.61 MB / 3.13 GB, free: 214.8 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08052/9.896, allocations: 37.28 MB / 3.167 GB, free: 205.9 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008299/9.904, allocations: 5.252 MB / 3.172 GB, free: 200.4 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000723/9.905, allocations: 406.2 kB / 3.172 GB, free: 200.1 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0508/9.956, allocations: 5.311 MB / 3.178 GB, free: 199.5 MB / 1.214 GB Notification: Performance of pre-optimization done (n=2661): time 8.151e-05/9.956, allocations: 0 / 3.178 GB, free: 199.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=2661): time 0.2301/10.19, allocations: 68.19 MB / 3.244 GB, free: 154.8 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004864/10.19, allocations: 0.8264 MB / 3.245 GB, free: 153.8 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2417/10.43, allocations: 80.04 MB / 3.323 GB, free: 74.58 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.009487/10.44, allocations: 0.6149 MB / 3.324 GB, free: 73.96 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.06085/10.5, allocations: 35.78 MB / 3.359 GB, free: 38.57 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.01801/10.52, allocations: 9.46 MB / 3.368 GB, free: 29.19 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009857/10.53, allocations: 0.793 MB / 3.369 GB, free: 28.39 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/10.53, allocations: 305.1 kB / 3.369 GB, free: 28.09 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06087/10.59, allocations: 21.24 MB / 3.39 GB, free: 6.824 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867/12.45, allocations: 32.95 MB / 3.422 GB, free: 365.6 MB / 1.246 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07918/12.53, allocations: 27.52 MB / 3.449 GB, free: 364.8 MB / 1.246 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000414/12.53, allocations: 68.25 kB / 3.449 GB, free: 364.8 MB / 1.246 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.2134/12.75, allocations: 68.35 MB / 3.516 GB, free: 344.4 MB / 1.246 GB Notification: Performance of prepare postOptimizeDAE: time 0.005245/12.75, allocations: 7.584 MB / 3.523 GB, free: 334.2 MB / 1.246 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001834/12.76, allocations: 356.7 kB / 3.523 GB, free: 334.2 MB / 1.246 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08382/12.84, allocations: 43.68 MB / 3.566 GB, free: 318.4 MB / 1.246 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05433/12.89, allocations: 7.782 MB / 3.574 GB, free: 311.7 MB / 1.246 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1692/13.06, allocations: 123.7 MB / 3.694 GB, free: 189.2 MB / 1.246 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1114/13.17, allocations: 6.163 MB / 3.7 GB, free: 184.6 MB / 1.246 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01081/13.18, allocations: 1.621 MB / 3.702 GB, free: 183 MB / 1.246 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/13.18, allocations: 7.281 kB / 3.702 GB, free: 183 MB / 1.246 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1811/13.37, allocations: 62.53 MB / 3.763 GB, free: 120 MB / 1.246 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001886/13.37, allocations: 348 kB / 3.763 GB, free: 119.7 MB / 1.246 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07518/13.44, allocations: 41.28 MB / 3.804 GB, free: 77.78 MB / 1.246 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05434/13.5, allocations: 7.774 MB / 3.811 GB, free: 69.99 MB / 1.246 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265/14.76, allocations: 127.3 MB / 3.936 GB, free: 301.7 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09927/14.86, allocations: 6.114 MB / 3.942 GB, free: 301.7 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01476/14.88, allocations: 1.611 MB / 3.943 GB, free: 301.7 MB / 1.261 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.09949/14.98, allocations: 29.53 MB / 3.972 GB, free: 301.4 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02847/15, allocations: 6.325 MB / 3.978 GB, free: 301.4 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1754/15.18, allocations: 51.89 MB / 4.029 GB, free: 281.4 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1252/15.31, allocations: 40.11 MB / 4.068 GB, free: 266.2 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001914/15.31, allocations: 0 / 4.068 GB, free: 266.2 MB / 1.261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05682/15.36, allocations: 13.59 MB / 4.081 GB, free: 258.9 MB / 1.261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02913/15.39, allocations: 0.5296 MB / 4.082 GB, free: 258.5 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07786/15.47, allocations: 3.389 MB / 4.085 GB, free: 257.6 MB / 1.261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00781/15.48, allocations: 1.553 MB / 4.087 GB, free: 256.7 MB / 1.261 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2004/15.68, allocations: 56.54 MB / 4.142 GB, free: 202.7 MB / 1.261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1759/15.85, allocations: 63.7 MB / 4.204 GB, free: 138.8 MB / 1.261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.05623/15.91, allocations: 18.46 MB / 4.222 GB, free: 120.3 MB / 1.261 GB Notification: Performance of sorting global known variables: time 0.1565/16.07, allocations: 56.79 MB / 4.278 GB, free: 63.87 MB / 1.261 GB Notification: Performance of Backend: time 1.423e-06/16.07, allocations: 0 / 4.278 GB, free: 63.87 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.3185/16.38, allocations: 85.2 MB / 4.361 GB, free: 9.285 MB / 1.293 GB Notification: Performance of SimCode: time 1.663/18.05, allocations: 210.5 MB / 4.566 GB, free: 289.2 MB / 1.308 GB Notification: Performance of Templates: time 6.7/24.75, allocations: 1.433 GB / 5.999 GB, free: 369.6 MB / 1.371 GB