Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01517/0.01518, allocations: 108.1 kB / 15.06 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001863/0.001863, allocations: 179.5 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.823/1.823, allocations: 194.6 MB / 211.3 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.348/2.348, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004696, allocations: 19.98 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5375, allocations: 98.7 MB / 0.6833 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.05315/0.5907, allocations: 40.69 MB / 0.7231 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.6137, allocations: 11.97 MB / 0.7348 GB, free: 9.027 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.6165, allocations: 54.53 kB / 0.7348 GB, free: 9.004 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.6198, allocations: 0.7605 MB / 0.7356 GB, free: 8.359 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.009023/0.6288, allocations: 2.231 MB / 0.7377 GB, free: 6.449 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.006462/0.6353, allocations: 1.502 MB / 0.7392 GB, free: 4.945 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.006426/0.6418, allocations: 2.882 MB / 0.742 GB, free: 2.059 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.6444, allocations: 1.236 MB / 0.7432 GB, free: 0.7969 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.6479, allocations: 1.32 MB / 0.7445 GB, free: 15.47 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.65, allocations: 0.9922 MB / 0.7455 GB, free: 14.47 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003851/0.6504, allocations: 88 kB / 0.7456 GB, free: 14.39 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.6548, allocations: 1.275 MB / 0.7468 GB, free: 13.11 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007908/0.6556, allocations: 414.6 kB / 0.7472 GB, free: 12.71 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008525/0.6565, allocations: 432.8 kB / 0.7476 GB, free: 12.28 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005513/0.662, allocations: 3.141 MB / 0.7507 GB, free: 9.129 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.6621, allocations: 0 / 0.7507 GB, free: 9.129 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.429e-06/0.6621, allocations: 0 / 0.7507 GB, free: 9.129 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.087e-05/0.6621, allocations: 0 / 0.7507 GB, free: 9.129 MB / 0.573 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.006278/0.6684, allocations: 2.172 MB / 0.7528 GB, free: 6.902 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6685, allocations: 8.031 kB / 0.7528 GB, free: 6.895 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.6694, allocations: 217.6 kB / 0.753 GB, free: 6.68 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.6738, allocations: 1.661 MB / 0.7547 GB, free: 4.965 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.6739, allocations: 98.14 kB / 0.7547 GB, free: 4.867 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.6743, allocations: 140 kB / 0.7549 GB, free: 4.73 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.6772, allocations: 1.208 MB / 0.7561 GB, free: 3.461 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/0.6773, allocations: 4 kB / 0.7561 GB, free: 3.457 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.6775, allocations: 40 kB / 0.7561 GB, free: 3.418 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.6775, allocations: 28 kB / 0.7561 GB, free: 3.391 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.68, allocations: 0.9373 MB / 0.757 GB, free: 2.445 MB / 0.573 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.0154/0.6954, allocations: 7.214 MB / 0.7641 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.699, allocations: 1.1 MB / 0.7652 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008147/0.6998, allocations: 0.5951 MB / 0.7657 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.7009, allocations: 428.3 kB / 0.7662 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=76): time 4.391e-06/0.7009, allocations: 0 / 0.7662 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=80): time 0.008035/0.7089, allocations: 2.901 MB / 0.769 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.709, allocations: 72 kB / 0.7691 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.7117, allocations: 1.42 MB / 0.7704 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.712, allocations: 53.7 kB / 0.7705 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008923/0.7129, allocations: 0.6885 MB / 0.7712 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/0.7133, allocations: 287.9 kB / 0.7714 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.7135, allocations: 27.94 kB / 0.7715 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.7137, allocations: 369.9 kB / 0.7718 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.7151, allocations: 0.57 MB / 0.7724 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.7169, allocations: 0.8701 MB / 0.7732 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.7186, allocations: 0.6974 MB / 0.7739 GB, free: 296 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.475e-06/0.7186, allocations: 8 kB / 0.7739 GB, free: 288 kB / 0.5886 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004545/0.7231, allocations: 1.805 MB / 0.7757 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001195/0.7244, allocations: 2.303 MB / 0.7779 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-05/0.7244, allocations: 11.98 kB / 0.7779 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.7255, allocations: 253.9 kB / 0.7782 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/0.7274, allocations: 283.6 kB / 0.7785 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.7295, allocations: 1.583 MB / 0.78 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003446/0.7329, allocations: 175.7 kB / 0.7802 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.7332, allocations: 59.98 kB / 0.7802 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7332, allocations: 9.5 kB / 0.7802 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00402/0.7372, allocations: 1.652 MB / 0.7818 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.7373, allocations: 8.781 kB / 0.7819 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008893/0.7382, allocations: 254.8 kB / 0.7821 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.7399, allocations: 279.5 kB / 0.7824 GB, free: 7.414 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.7414, allocations: 0.9933 MB / 0.7833 GB, free: 6.395 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/0.7449, allocations: 179.6 kB / 0.7835 GB, free: 6.219 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.7451, allocations: 59.92 kB / 0.7836 GB, free: 6.16 MB / 0.6042 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 {2 26} Notification: Performance of prepare postOptimizeDAE: time 0.001152/0.7463, allocations: 0.4929 MB / 0.784 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.7467, allocations: 150.2 kB / 0.7842 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.7492, allocations: 1.046 MB / 0.7852 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.7493, allocations: 8 kB / 0.7852 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.7493, allocations: 3.938 kB / 0.7852 GB, free: 4.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002051/0.7514, allocations: 0.9383 MB / 0.7861 GB, free: 3.449 MB / 0.6042 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 postOpt removeSimpleEquations (simulation): time 0.005979/0.7574, allocations: 2.796 MB / 0.7889 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.571e-06/0.7574, allocations: 0 / 0.7889 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009552/0.7584, allocations: 143.8 kB / 0.789 GB, free: 440 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/0.7589, allocations: 118.5 kB / 0.7891 GB, free: 312 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.759, allocations: 27.92 kB / 0.7891 GB, free: 284 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005866/0.7649, allocations: 5.29 MB / 0.7943 GB, free: 10.55 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.68e-06/0.7649, allocations: 480 / 0.7943 GB, free: 10.55 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.7684, allocations: 1.591 MB / 0.7959 GB, free: 8.918 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.7695, allocations: 371 kB / 0.7962 GB, free: 8.535 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.7698, allocations: 23.98 kB / 0.7962 GB, free: 8.512 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.7717, allocations: 95.72 kB / 0.7963 GB, free: 8.418 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.7718, allocations: 68.5 kB / 0.7964 GB, free: 8.352 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-05/0.772, allocations: 23.98 kB / 0.7964 GB, free: 8.328 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.001903/0.7739, allocations: 0.9507 MB / 0.7973 GB, free: 7.379 MB / 0.6199 GB Notification: Performance of sort global known variables: time 8.98e-07/0.7739, allocations: 0 / 0.7973 GB, free: 7.379 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.004198/0.7781, allocations: 1.086 MB / 0.7984 GB, free: 6.293 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (seg.pipFil.vol1.dynBal.U,seg.pipFil.vol2.dynBal.U,seg.pipFil.capFil1.T,seg.pipFil.capFil2.T,seg.soi.T[1],seg.soi.T[2],seg.soi.T[3],seg.soi.T[4],seg.soi.T[5],seg.soi.T[6],seg.soi.T[7],seg.soi.T[8],seg.soi.T[9],seg.TBouCon.U) * Number of discrete variables: 5 ($whenCondition1,seg.TBouCon.QAve_flow,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.iSam) * Number of discrete states: 2 (seg.TBouCon.iSam,seg.TBouCon.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/0.7796, allocations: 0.5318 MB / 0.7989 GB, free: 5.77 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.005649/0.7853, allocations: 2.158 MB / 0.801 GB, free: 3.605 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 6.225e-06/0.7853, allocations: 0.625 kB / 0.801 GB, free: 3.605 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.7869, allocations: 0.8041 MB / 0.8018 GB, free: 2.758 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004314/0.7913, allocations: 0.7502 MB / 0.8026 GB, free: 2.016 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/0.799, allocations: 4.043 MB / 0.8065 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.8003, allocations: 1.305 MB / 0.8078 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002536/0.8029, allocations: 452 kB / 0.8082 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/0.8035, allocations: 119.3 kB / 0.8083 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of SimCode: time 1.726e-06/0.8035, allocations: 3.938 kB / 0.8083 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.08658/0.8901, allocations: 37.09 MB / 0.8445 GB, free: 7.34 MB / 0.6667 GB