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.004298/0.004302, allocations: 240.5 kB / 15.81 MB, free: 6.281 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.001239/0.001239, allocations: 182.6 kB / 16.69 MB, free: 5.449 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 4.273/4.273, allocations: 389.1 MB / 406.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.255/4.255, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004995, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2037, allocations: 98.71 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.05525/0.259, allocations: 44.87 MB / 1.148 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6157/0.8748, allocations: 12.75 MB / 1.161 GB, free: 35.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.8774, allocations: 57.69 kB / 1.161 GB, free: 35.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.8811, allocations: 0.7097 MB / 1.162 GB, free: 35.5 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01027/0.8914, allocations: 2.31 MB / 1.164 GB, free: 35.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007089/0.8985, allocations: 1.486 MB / 1.165 GB, free: 35.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.9088, allocations: 5.397 MB / 1.171 GB, free: 35.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/0.9124, allocations: 1.224 MB / 1.172 GB, free: 35.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.9175, allocations: 1.39 MB / 1.173 GB, free: 35.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/0.9215, allocations: 1.325 MB / 1.174 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0007292/0.9223, allocations: 88 kB / 1.175 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005441/0.9277, allocations: 1.209 MB / 1.176 GB, free: 34.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.929, allocations: 441.2 kB / 1.176 GB, free: 34.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.9305, allocations: 438.3 kB / 1.177 GB, free: 34.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.006262/0.9368, allocations: 3.167 MB / 1.18 GB, free: 34.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.9368, allocations: 1.25 kB / 1.18 GB, free: 34.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.9368, allocations: 0 / 1.18 GB, free: 34.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001032/0.9369, allocations: 0 / 1.18 GB, free: 34.52 MB / 0.6198 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.009371/0.9463, allocations: 2.172 MB / 1.182 GB, free: 33.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.9464, allocations: 8.188 kB / 1.182 GB, free: 33.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.948, allocations: 210.2 kB / 1.182 GB, free: 33.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005432/0.9534, allocations: 1.683 MB / 1.184 GB, free: 32.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.9536, allocations: 96.94 kB / 1.184 GB, free: 32.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/0.9543, allocations: 140.4 kB / 1.184 GB, free: 32.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003469/0.9577, allocations: 1.222 MB / 1.185 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.9578, allocations: 1.031 kB / 1.185 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.958, allocations: 47.95 kB / 1.185 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.245e-05/0.9581, allocations: 28.5 kB / 1.185 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.9612, allocations: 0.9373 MB / 1.186 GB, free: 32.77 MB / 0.6198 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.01941/0.9806, allocations: 7.215 MB / 1.193 GB, free: 29.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/0.9851, allocations: 1.088 MB / 1.194 GB, free: 29.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.9864, allocations: 443.7 kB / 1.195 GB, free: 29.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008064/0.9872, allocations: 0.6059 MB / 1.195 GB, free: 29.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.9884, allocations: 427.5 kB / 1.196 GB, free: 28.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 4.839e-06/0.9884, allocations: 0 / 1.196 GB, free: 28.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.01005/0.9985, allocations: 2.95 MB / 1.198 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.9986, allocations: 67.47 kB / 1.199 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/1.001, allocations: 1.383 MB / 1.2 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004648/1.002, allocations: 52.8 kB / 1.2 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.003, allocations: 0.6833 MB / 1.201 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006088/1.004, allocations: 296 kB / 1.201 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.004, allocations: 30.73 kB / 1.201 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0009403/1.005, allocations: 360.7 kB / 1.201 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/1.007, allocations: 0.581 MB / 1.202 GB, free: 43.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/1.009, allocations: 0.8965 MB / 1.203 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/1.011, allocations: 0.7051 MB / 1.203 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.011, allocations: 3.156 kB / 1.203 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005492/1.017, allocations: 1.835 MB / 1.205 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002064/1.017, allocations: 268.2 kB / 1.205 GB, free: 42.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/1.017, allocations: 6.156 kB / 1.205 GB, free: 42.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/1.018, allocations: 270.1 kB / 1.206 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/1.021, allocations: 287.6 kB / 1.206 GB, free: 42.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/1.023, allocations: 1.584 MB / 1.207 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006009/1.029, allocations: 171.1 kB / 1.208 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/1.03, allocations: 66.47 kB / 1.208 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.03, allocations: 3.281 kB / 1.208 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004631/1.034, allocations: 1.676 MB / 1.209 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/1.034, allocations: 11.25 kB / 1.209 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.035, allocations: 255.6 kB / 1.21 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.038, allocations: 275.9 kB / 1.21 GB, free: 41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/1.04, allocations: 0.9925 MB / 1.211 GB, free: 40.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005793/1.046, allocations: 171.7 kB / 1.211 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/1.046, allocations: 55.73 kB / 1.211 GB, free: 40.46 MB / 0.6355 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 (150): * Single equations (assignments): 147 * 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.00149/1.048, allocations: 0.5121 MB / 1.212 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/1.048, allocations: 150.8 kB / 1.212 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/1.051, allocations: 1.06 MB / 1.213 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002084/1.053, allocations: 0.9371 MB / 1.214 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.053, allocations: 0 / 1.214 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.055, allocations: 371.3 kB / 1.214 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004982/1.055, allocations: 26.86 kB / 1.214 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003182/1.058, allocations: 81.38 kB / 1.214 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.059, allocations: 65.94 kB / 1.214 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00471/1.063, allocations: 1.279 MB / 1.215 GB, free: 39.53 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003535/1.067, allocations: 1.647 MB / 1.217 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009026/1.068, allocations: 412 kB / 1.217 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001996/1.07, allocations: 0.9205 MB / 1.218 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of Backend: time 1.092e-06/1.07, allocations: 0 / 1.218 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.009567/1.08, allocations: 2.504 MB / 1.221 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of SimCode: time 0.01376/1.093, allocations: 5.005 MB / 1.226 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of Templates: time 0.114/1.207, allocations: 43.56 MB / 1.268 GB, free: 4.641 MB / 0.6355 GB