Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.846/3.846, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.95e-05, allocations: 7.938 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5008, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9435/1.444, allocations: 413.3 MB / 1.032 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/1.445, allocations: 101.6 kB / 1.033 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.671/4.116, allocations: 0.6222 GB / 1.655 GB, free: 58.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.434e-06/4.116, allocations: 4 kB / 1.655 GB, free: 58.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001653/4.116, allocations: 39.98 kB / 1.655 GB, free: 58.7 MB / 0.8073 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.005092/4.121, allocations: 2.032 MB / 1.657 GB, free: 56.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/4.121, allocations: 8.031 kB / 1.657 GB, free: 56.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008265/4.122, allocations: 213.6 kB / 1.657 GB, free: 56.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00507/4.127, allocations: 2.062 MB / 1.659 GB, free: 54.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/4.127, allocations: 32.52 kB / 1.659 GB, free: 54.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/4.128, allocations: 91.95 kB / 1.659 GB, free: 54.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001883/4.129, allocations: 0.8282 MB / 1.66 GB, free: 53.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/4.132, allocations: 1.02 MB / 1.661 GB, free: 52.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/4.132, allocations: 4 kB / 1.661 GB, free: 52.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/4.132, allocations: 4 kB / 1.661 GB, free: 52.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/4.132, allocations: 28 kB / 1.661 GB, free: 52.21 MB / 0.8073 GB Warning: The model contains alias variables with conflicting start and/or 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.01222/4.144, allocations: 6.696 MB / 1.668 GB, free: 45.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/4.147, allocations: 1.034 MB / 1.669 GB, free: 44.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007573/4.148, allocations: 415.8 kB / 1.669 GB, free: 43.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/4.148, allocations: 0.6059 MB / 1.67 GB, free: 42.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/4.149, allocations: 400.5 kB / 1.67 GB, free: 42.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=76): time 4.072e-06/4.149, allocations: 4 kB / 1.67 GB, free: 42.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=80): time 0.006591/4.156, allocations: 2.207 MB / 1.672 GB, free: 40.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/4.156, allocations: 68.17 kB / 1.672 GB, free: 40.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/4.158, allocations: 1.063 MB / 1.673 GB, free: 39.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/4.158, allocations: 25.7 kB / 1.673 GB, free: 39.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/4.158, allocations: 0.6916 MB / 1.674 GB, free: 38.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/4.159, allocations: 276 kB / 1.674 GB, free: 38.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/4.159, allocations: 4 kB / 1.674 GB, free: 38.1 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001008/4.159, allocations: 365.9 kB / 1.674 GB, free: 37.74 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/4.16, allocations: 0.5116 MB / 1.675 GB, free: 37.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/4.161, allocations: 0.8211 MB / 1.676 GB, free: 36.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/4.163, allocations: 0.6974 MB / 1.676 GB, free: 35.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.932e-06/4.163, allocations: 4 kB / 1.676 GB, free: 35.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003918/4.167, allocations: 1.7 MB / 1.678 GB, free: 33.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004528/4.167, allocations: 2.292 MB / 1.68 GB, free: 31.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/4.167, allocations: 8 kB / 1.68 GB, free: 31.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007951/4.168, allocations: 223.5 kB / 1.681 GB, free: 31.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/4.17, allocations: 277.7 kB / 1.681 GB, free: 30.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/4.171, allocations: 1.611 MB / 1.682 GB, free: 29.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/4.174, allocations: 127.6 kB / 1.683 GB, free: 29.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/4.174, allocations: 59.97 kB / 1.683 GB, free: 29.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/4.174, allocations: 4 kB / 1.683 GB, free: 29.08 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00357/4.178, allocations: 1.523 MB / 1.684 GB, free: 27.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/4.178, allocations: 12.12 kB / 1.684 GB, free: 27.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007145/4.179, allocations: 220.7 kB / 1.684 GB, free: 27.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/4.18, allocations: 259.6 kB / 1.685 GB, free: 27.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/4.181, allocations: 1.019 MB / 1.686 GB, free: 26.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/4.184, allocations: 131.5 kB / 1.686 GB, free: 25.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/4.184, allocations: 59.97 kB / 1.686 GB, free: 25.84 MB / 0.8073 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: seg.pipFil.Rgg.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow rate from port_a -> port_b" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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.0003515/4.185, allocations: 135.7 kB / 1.686 GB, free: 25.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/4.185, allocations: 138.3 kB / 1.686 GB, free: 25.56 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/4.187, allocations: 0.982 MB / 1.687 GB, free: 24.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/4.188, allocations: 15.92 kB / 1.687 GB, free: 24.55 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.473e-06/4.188, allocations: 0 / 1.687 GB, free: 24.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001836/4.189, allocations: 0.9001 MB / 1.688 GB, free: 23.61 MB / 0.8073 GB Warning: The model contains alias variables with conflicting start and/or 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.005095/4.195, allocations: 2.609 MB / 1.69 GB, free: 20.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-06/4.195, allocations: 3.188 kB / 1.69 GB, free: 20.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009795/4.196, allocations: 135.8 kB / 1.691 GB, free: 20.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/4.196, allocations: 118.6 kB / 1.691 GB, free: 20.67 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.49e-05/4.196, allocations: 15.98 kB / 1.691 GB, free: 20.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/4.2, allocations: 5.114 MB / 1.696 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.285e-06/4.2, allocations: 4.219 kB / 1.696 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/4.203, allocations: 1.501 MB / 1.697 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007449/4.203, allocations: 347.2 kB / 1.697 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/4.204, allocations: 15.92 kB / 1.697 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/4.205, allocations: 83.66 kB / 1.698 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/4.205, allocations: 52.7 kB / 1.698 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-05/4.205, allocations: 31.98 kB / 1.698 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001305/4.207, allocations: 0.7718 MB / 1.698 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.07e-07/4.207, allocations: 4 kB / 1.698 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004056/4.211, allocations: 1.078 MB / 1.699 GB, free: 11.21 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (seg.port_b1.h_outflow,seg.port_a2.h_outflow,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) * 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,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001628/4.212, allocations: 0.8209 MB / 1.7 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004241/4.217, allocations: 2.008 MB / 1.702 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/4.217, allocations: 0 / 1.702 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/4.218, allocations: 0.739 MB / 1.703 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/4.221, allocations: 0.6401 MB / 1.704 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/4.227, allocations: 2.89 MB / 1.706 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/4.228, allocations: 1.311 MB / 1.708 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002674/4.231, allocations: 495.3 kB / 1.708 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/4.231, allocations: 91.41 kB / 1.708 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of SimCode: time 2.105e-06/4.231, allocations: 0 / 1.708 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of Templates: time 0.5629/4.794, allocations: 34.33 MB / 1.742 GB, free: 140.9 MB / 0.823 GB