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.SingleUTubeBoundaryCondition.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.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01103/0.01103, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001175/0.001175, allocations: 176.2 kB / 16.06 MB, free: 5.875 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 3.432/3.432, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.019/4.019, allocations: 472.3 MB / 0.9018 GB, free: 13.38 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 12 kB / 1.008 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.4981, allocations: 98.71 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002294/0.5005, allocations: 1.957 MB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.502, allocations: 0.9508 MB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.5021, allocations: 7.938 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.5023, allocations: 47.19 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.5025, allocations: 67.41 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.5029, allocations: 132.1 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.5032, allocations: 255.6 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.5033, allocations: 33.56 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.5035, allocations: 95.56 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.5036, allocations: 104.2 kB / 1.108 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.5036, allocations: 12 kB / 1.108 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.5039, allocations: 95.31 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.504, allocations: 39.84 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.504, allocations: 69.56 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.5043, allocations: 220.7 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5044, allocations: 4 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5044, allocations: 1.031 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.5044, allocations: 0 / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008353/0.5052, allocations: 0.5468 MB / 1.109 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5053, allocations: 11.97 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.5053, allocations: 31.67 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.5058, allocations: 281.8 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.5058, allocations: 14.83 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.5059, allocations: 24 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.5063, allocations: 212.4 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5064, allocations: 3.906 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.5064, allocations: 7.984 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.081e-06/0.5064, allocations: 4.938 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.5068, allocations: 127 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.5078, allocations: 0.8712 MB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.5084, allocations: 224.2 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.5087, allocations: 83.58 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.5087, allocations: 4 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004739/0.5092, allocations: 209.3 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 3.681e-06/0.5092, allocations: 1.562 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001044/0.5103, allocations: 378.6 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.5103, allocations: 122.2 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.5106, allocations: 238.5 kB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.5106, allocations: 42.53 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.5107, allocations: 140.5 kB / 1.111 GB, free: 176 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.5108, allocations: 63.23 kB / 1.112 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5108, allocations: 4 kB / 1.112 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.5109, allocations: 341.4 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.5112, allocations: 88.75 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.5115, allocations: 261.4 kB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.5118, allocations: 141.2 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.111e-06/0.5119, allocations: 4 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000858/0.5127, allocations: 420.5 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.5128, allocations: 40.92 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5128, allocations: 8 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.5128, allocations: 8 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.5131, allocations: 67.89 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.5131, allocations: 13.81 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.5134, allocations: 54.73 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.5135, allocations: 16.75 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.5137, allocations: 164.7 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.5137, allocations: 31.58 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.5138, allocations: 29.11 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.015e-06/0.5138, allocations: 1.359 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.187e-06/0.5138, allocations: 4.625 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.747e-06/0.5139, allocations: 3.938 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.5142, allocations: 261.5 kB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-06/0.5142, allocations: 0.8438 kB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.5143, allocations: 28.98 kB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.554e-06/0.5144, allocations: 7.422 kB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.5144, allocations: 7.984 kB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.42e-06/0.5144, allocations: 0 / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.913e-06/0.5144, allocations: 7.938 kB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.5154, allocations: 432.1 kB / 1.114 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.5155, allocations: 105.5 kB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.5156, allocations: 13.27 kB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.5158, allocations: 19.98 kB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.5159, allocations: 25.2 kB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.5159, allocations: 8 kB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001518/0.5161, allocations: 170 kB / 1.114 GB, free: 173 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.429e-06/0.5161, allocations: 2.188 kB / 1.114 GB, free: 173 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005252/0.5166, allocations: 83.94 kB / 1.114 GB, free: 172.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/0.517, allocations: 177.3 kB / 1.114 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007032/0.5177, allocations: 308.5 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5177, allocations: 7.344 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.5181, allocations: 107.8 kB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.5186, allocations: 62.16 kB / 1.115 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.5199, allocations: 0.704 MB / 1.116 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.5201, allocations: 0.7469 MB / 1.116 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.5203, allocations: 53.67 kB / 1.116 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.5204, allocations: 23.44 kB / 1.116 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.427e-06/0.5204, allocations: 0.75 kB / 1.116 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.009235/0.5296, allocations: 3.608 MB / 1.12 GB, free: 167.5 MB / 0.6823 GB