Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.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.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.04/5.04, allocations: 0.5623 GB / 0.5776 GB, free: 3.383 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.002426/0.002426, allocations: 357 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.162/4.162, allocations: 410.7 MB / 1.113 GB, free: 6.039 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.001882/0.001882, allocations: 194.2 kB / 1.226 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004947, allocations: 12 kB / 1.349 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7349/0.7354, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.05335/0.7888, allocations: 45.33 MB / 1.506 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.8095, allocations: 12.79 MB / 1.518 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.812, allocations: 56.72 kB / 1.518 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.8148, allocations: 0.7126 MB / 1.519 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.008249/0.823, allocations: 2.312 MB / 1.521 GB, free: 223.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006214/0.8293, allocations: 1.622 MB / 1.523 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007042/0.8363, allocations: 5.342 MB / 1.528 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.8385, allocations: 1.225 MB / 1.529 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.8414, allocations: 1.395 MB / 1.53 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.8436, allocations: 1.316 MB / 1.532 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.8439, allocations: 88.84 kB / 1.532 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003623/0.8476, allocations: 1.21 MB / 1.533 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005627/0.8481, allocations: 450.3 kB / 1.533 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006249/0.8488, allocations: 432.8 kB / 1.534 GB, free: 210.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.8528, allocations: 3.193 MB / 1.537 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8529, allocations: 0 / 1.537 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8529, allocations: 0 / 1.537 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.785e-05/0.8529, allocations: 0 / 1.537 GB, free: 207.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.00727/0.8602, allocations: 2.172 MB / 1.539 GB, free: 204.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.8603, allocations: 12.41 kB / 1.539 GB, free: 204.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008686/0.8611, allocations: 209.7 kB / 1.539 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004376/0.8655, allocations: 1.687 MB / 1.541 GB, free: 203 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.8657, allocations: 94.16 kB / 1.541 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003276/0.866, allocations: 143.9 kB / 1.541 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.8689, allocations: 1.232 MB / 1.542 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/0.869, allocations: 3.938 kB / 1.542 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.8691, allocations: 48 kB / 1.542 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/0.8692, allocations: 31.98 kB / 1.542 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.8715, allocations: 0.9334 MB / 1.543 GB, free: 200.4 MB / 0.8542 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.01691/0.8885, allocations: 7.245 MB / 1.55 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.8927, allocations: 1.101 MB / 1.552 GB, free: 191.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.8938, allocations: 465.5 kB / 1.552 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007498/0.8946, allocations: 0.6019 MB / 1.553 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.8957, allocations: 448.2 kB / 1.553 GB, free: 190 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=78): time 3.777e-06/0.8957, allocations: 4 kB / 1.553 GB, free: 190 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.008517/0.9042, allocations: 2.93 MB / 1.556 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.9043, allocations: 68.05 kB / 1.556 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.9067, allocations: 1.381 MB / 1.557 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003338/0.9071, allocations: 53.7 kB / 1.557 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007375/0.9079, allocations: 0.6769 MB / 1.558 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/0.9083, allocations: 299.8 kB / 1.558 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.9085, allocations: 24 kB / 1.558 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9086, allocations: 361.9 kB / 1.559 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.91, allocations: 0.5739 MB / 1.559 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.9118, allocations: 0.8857 MB / 1.56 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.9136, allocations: 0.7091 MB / 1.561 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.9137, allocations: 0 / 1.561 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004976/0.9186, allocations: 1.832 MB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.9188, allocations: 265.6 kB / 1.563 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/0.9189, allocations: 8 kB / 1.563 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.92, allocations: 261.2 kB / 1.563 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.9227, allocations: 291.5 kB / 1.563 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.9245, allocations: 1.591 MB / 1.565 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005638/0.9302, allocations: 179.6 kB / 1.565 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/0.9306, allocations: 55.98 kB / 1.565 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.9306, allocations: 4 kB / 1.565 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004396/0.935, allocations: 1.683 MB / 1.567 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/0.9351, allocations: 4 kB / 1.567 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/0.9361, allocations: 252.7 kB / 1.567 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.9386, allocations: 275.7 kB / 1.567 GB, free: 175 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.94, allocations: 0.9954 MB / 1.568 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/0.9455, allocations: 171.6 kB / 1.568 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.9459, allocations: 59.97 kB / 1.568 GB, free: 173.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$PRE.seg.TBouCon.QAve_flow,seg.TBouCon.QAve_flow,$whenCondition1,$PRE.seg.TBouCon.port.T,seg.TBouCon.port.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of prepare postOptimizeDAE: time 0.001244/0.9471, allocations: 0.4968 MB / 1.569 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/0.9476, allocations: 150.2 kB / 1.569 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.9504, allocations: 1.062 MB / 1.57 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003094/0.9536, allocations: 0.9483 MB / 1.571 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.9536, allocations: 0 / 1.571 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.9549, allocations: 371 kB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004369/0.9554, allocations: 28 kB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002933/0.9583, allocations: 94.3 kB / 1.572 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.9585, allocations: 68.73 kB / 1.572 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004389/0.9629, allocations: 1.266 MB / 1.573 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003265/0.9662, allocations: 1.659 MB / 1.574 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008217/0.9671, allocations: 419.8 kB / 1.575 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001742/0.9689, allocations: 0.9076 MB / 1.576 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of Backend: time 6.62e-07/0.9689, allocations: 0 / 1.576 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00837/0.9773, allocations: 2.484 MB / 1.578 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01194/0.9893, allocations: 4.996 MB / 1.583 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.1161/1.105, allocations: 43.64 MB / 1.626 GB, free: 115.6 MB / 0.8542 GB