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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_BoreholeSegment",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.144/4.144, allocations: 433.2 MB / 440.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.818e-05, allocations: 8.344 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2364, allocations: 98.72 MB / 0.6289 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.452, allocations: 413.2 MB / 1.032 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/1.453, allocations: 106.2 kB / 1.033 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.226/4.678, allocations: 0.6222 GB / 1.655 GB, free: 80.73 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.054e-06/4.678, allocations: 0 / 1.655 GB, free: 80.73 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002236/4.679, allocations: 44.7 kB / 1.655 GB, free: 80.69 MB / 0.823 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.007909/4.686, allocations: 2.035 MB / 1.657 GB, free: 78.61 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/4.687, allocations: 15.97 kB / 1.657 GB, free: 78.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/4.688, allocations: 205.8 kB / 1.657 GB, free: 78.39 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006961/4.695, allocations: 2.061 MB / 1.659 GB, free: 76.31 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/4.695, allocations: 43.94 kB / 1.659 GB, free: 76.27 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/4.695, allocations: 80 kB / 1.659 GB, free: 76.19 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002274/4.698, allocations: 0.8321 MB / 1.66 GB, free: 75.36 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/4.7, allocations: 1.017 MB / 1.661 GB, free: 74.28 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-05/4.7, allocations: 7.938 kB / 1.661 GB, free: 74.27 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/4.7, allocations: 0 / 1.661 GB, free: 74.27 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-05/4.7, allocations: 32 kB / 1.661 GB, free: 74.24 MB / 0.823 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.01782/4.718, allocations: 6.701 MB / 1.667 GB, free: 67.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/4.723, allocations: 1.037 MB / 1.669 GB, free: 66.15 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/4.724, allocations: 413.8 kB / 1.669 GB, free: 65.75 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007328/4.725, allocations: 0.6059 MB / 1.669 GB, free: 65.01 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008229/4.726, allocations: 392 kB / 1.67 GB, free: 64.62 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 3.396e-06/4.726, allocations: 0 / 1.67 GB, free: 64.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.008335/4.734, allocations: 2.22 MB / 1.672 GB, free: 62.34 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/4.734, allocations: 68.17 kB / 1.672 GB, free: 62.26 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/4.736, allocations: 1.067 MB / 1.673 GB, free: 61.18 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003418/4.737, allocations: 29.7 kB / 1.673 GB, free: 61.14 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007942/4.738, allocations: 0.6877 MB / 1.674 GB, free: 60.45 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/4.738, allocations: 276 kB / 1.674 GB, free: 60.17 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/4.738, allocations: 0 / 1.674 GB, free: 60.17 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001134/4.738, allocations: 365.9 kB / 1.674 GB, free: 59.81 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/4.74, allocations: 0.5193 MB / 1.675 GB, free: 59.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/4.741, allocations: 0.8212 MB / 1.676 GB, free: 58.36 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/4.743, allocations: 0.7011 MB / 1.676 GB, free: 57.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/4.743, allocations: 0 / 1.676 GB, free: 57.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005253/4.748, allocations: 1.703 MB / 1.678 GB, free: 55.94 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005025/4.749, allocations: 2.284 MB / 1.68 GB, free: 53.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/4.749, allocations: 8 kB / 1.68 GB, free: 53.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009857/4.75, allocations: 227.2 kB / 1.681 GB, free: 53.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/4.753, allocations: 271.5 kB / 1.681 GB, free: 53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/4.755, allocations: 1.607 MB / 1.682 GB, free: 51.35 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/4.76, allocations: 127.7 kB / 1.683 GB, free: 51.22 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/4.76, allocations: 59.98 kB / 1.683 GB, free: 51.16 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/4.76, allocations: 4 kB / 1.683 GB, free: 51.16 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004495/4.765, allocations: 1.519 MB / 1.684 GB, free: 49.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/4.765, allocations: 8 kB / 1.684 GB, free: 49.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008454/4.765, allocations: 225.2 kB / 1.684 GB, free: 49.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/4.768, allocations: 259.6 kB / 1.685 GB, free: 49.15 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/4.769, allocations: 1.022 MB / 1.686 GB, free: 48.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/4.774, allocations: 127.5 kB / 1.686 GB, free: 47.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003136/4.774, allocations: 59.97 kB / 1.686 GB, free: 47.92 MB / 0.823 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.0004507/4.774, allocations: 143.9 kB / 1.686 GB, free: 47.78 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002696/4.777, allocations: 0.9113 MB / 1.687 GB, free: 46.84 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/4.777, allocations: 130.3 kB / 1.687 GB, free: 46.71 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/4.78, allocations: 0.9937 MB / 1.688 GB, free: 45.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/4.78, allocations: 8 kB / 1.688 GB, free: 45.69 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/4.78, allocations: 3.625 kB / 1.688 GB, free: 45.69 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002079/4.783, allocations: 0.908 MB / 1.689 GB, free: 44.74 MB / 0.823 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.005986/4.789, allocations: 2.613 MB / 1.691 GB, free: 42.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/4.789, allocations: 0 / 1.691 GB, free: 42.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/4.79, allocations: 137.4 kB / 1.691 GB, free: 41.92 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/4.79, allocations: 114.5 kB / 1.692 GB, free: 41.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.15e-05/4.79, allocations: 19.98 kB / 1.692 GB, free: 41.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/4.795, allocations: 5.099 MB / 1.697 GB, free: 36.31 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/4.795, allocations: 0 / 1.697 GB, free: 36.31 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/4.798, allocations: 1.516 MB / 1.698 GB, free: 34.74 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/4.8, allocations: 347.2 kB / 1.698 GB, free: 34.38 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/4.8, allocations: 19.94 kB / 1.698 GB, free: 34.36 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/4.802, allocations: 75.75 kB / 1.698 GB, free: 34.29 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/4.802, allocations: 52.7 kB / 1.698 GB, free: 34.24 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-05/4.803, allocations: 28 kB / 1.698 GB, free: 34.21 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001575/4.804, allocations: 0.7757 MB / 1.699 GB, free: 33.43 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.91e-07/4.804, allocations: 4 kB / 1.699 GB, free: 33.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005764/4.81, allocations: 1.082 MB / 1.7 GB, free: 32.35 MB / 0.823 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.005831/4.816, allocations: 2.897 MB / 1.703 GB, free: 29.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005864/4.822, allocations: 2.012 MB / 1.705 GB, free: 27.39 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/4.822, allocations: 0 / 1.705 GB, free: 27.39 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/4.823, allocations: 0.7544 MB / 1.706 GB, free: 26.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/4.829, allocations: 0.6252 MB / 1.706 GB, free: 25.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009923/4.839, allocations: 3.27 MB / 1.71 GB, free: 22.68 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00097/4.84, allocations: 1.303 MB / 1.711 GB, free: 21.35 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003372/4.843, allocations: 0.4941 MB / 1.711 GB, free: 20.86 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/4.844, allocations: 0.5735 MB / 1.712 GB, free: 20.28 MB / 0.823 GB Notification: Performance of SimCode: time 2.004e-06/4.845, allocations: 0 / 1.712 GB, free: 20.28 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8317/5.676, allocations: 47.99 MB / 1.759 GB, free: 137.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/5.677, allocations: 198.9 kB / 1.759 GB, free: 137.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.844/10.52, allocations: 2.188 kB / 1.759 GB, free: 137.1 MB / 0.823 GB