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.01536/0.01537, allocations: 110.2 kB / 15.06 MB, free: 6.043 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.001836/0.001836, allocations: 185 kB / 15.95 MB, free: 5.961 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.941/1.941, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.124/2.124, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 12 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5359, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002509/0.5384, allocations: 1.856 MB / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.5402, allocations: 0.9601 MB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.5403, allocations: 12.06 kB / 0.6861 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.5405, allocations: 41.88 kB / 0.6862 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.5407, allocations: 76.53 kB / 0.6862 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.5412, allocations: 131 kB / 0.6864 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.5415, allocations: 185.6 kB / 0.6865 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.5416, allocations: 35.08 kB / 0.6866 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.5418, allocations: 102.2 kB / 0.6867 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.542, allocations: 101 kB / 0.6868 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.542, allocations: 10.25 kB / 0.6868 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.5424, allocations: 98.58 kB / 0.6869 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.5424, allocations: 37.16 kB / 0.6869 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.158e-05/0.5425, allocations: 70.16 kB / 0.687 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.5429, allocations: 222.1 kB / 0.6872 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.438e-06/0.5429, allocations: 4.812 kB / 0.6872 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5429, allocations: 0 / 0.6872 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.576e-06/0.5429, allocations: 0 / 0.6872 GB, free: 14.32 MB / 0.5261 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.0008917/0.5439, allocations: 0.5519 MB / 0.6877 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5439, allocations: 13.62 kB / 0.6877 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.544, allocations: 30.55 kB / 0.6878 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.5445, allocations: 281.7 kB / 0.688 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.5445, allocations: 13.66 kB / 0.688 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.5446, allocations: 18.91 kB / 0.6881 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.5451, allocations: 207.3 kB / 0.6883 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.5451, allocations: 4.906 kB / 0.6883 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.5451, allocations: 7.906 kB / 0.6883 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.5452, allocations: 3.875 kB / 0.6883 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.5456, allocations: 131.4 kB / 0.6884 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.5468, allocations: 0.868 MB / 0.6893 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.5474, allocations: 221.4 kB / 0.6895 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.5475, allocations: 3.844 kB / 0.6895 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/0.548, allocations: 207.6 kB / 0.6897 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 4.16e-06/0.548, allocations: 0 / 0.6897 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001178/0.5492, allocations: 381.1 kB / 0.69 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.5493, allocations: 115.9 kB / 0.6901 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.5496, allocations: 240 kB / 0.6904 GB, free: 12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.5496, allocations: 43.25 kB / 0.6904 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.5497, allocations: 141.3 kB / 0.6905 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.5498, allocations: 65.77 kB / 0.6906 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.5498, allocations: 5.844 kB / 0.6906 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.5499, allocations: 340 kB / 0.6909 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.5502, allocations: 88.64 kB / 0.691 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.5507, allocations: 260.2 kB / 0.6913 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.551, allocations: 139.5 kB / 0.6914 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.772e-06/0.5511, allocations: 5.875 kB / 0.6914 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001004/0.5521, allocations: 418.8 kB / 0.6918 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.5521, allocations: 35.03 kB / 0.6918 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.5522, allocations: 10.19 kB / 0.6918 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.5522, allocations: 13.38 kB / 0.6919 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.5525, allocations: 68.11 kB / 0.6919 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.5525, allocations: 13.27 kB / 0.6919 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.5529, allocations: 49.17 kB / 0.692 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.5529, allocations: 20.16 kB / 0.692 GB, free: 10.83 MB / 0.5261 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.0001948/0.5532, allocations: 167.6 kB / 0.6922 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.5532, allocations: 32.34 kB / 0.6922 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.5533, allocations: 23.03 kB / 0.6922 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.846e-06/0.5533, allocations: 3.469 kB / 0.6922 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.762e-06/0.5533, allocations: 1.547 kB / 0.6922 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.673e-06/0.5533, allocations: 2.469 kB / 0.6922 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.5537, allocations: 257.2 kB / 0.6925 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.094e-06/0.5537, allocations: 5.031 kB / 0.6925 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.5539, allocations: 26.38 kB / 0.6925 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.289e-06/0.5539, allocations: 6.062 kB / 0.6925 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.5539, allocations: 10.42 kB / 0.6925 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.903e-06/0.554, allocations: 2.141 kB / 0.6925 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.251e-06/0.554, allocations: 1.312 kB / 0.6925 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.5551, allocations: 463.7 kB / 0.693 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.5552, allocations: 106 kB / 0.6931 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.5553, allocations: 5.672 kB / 0.6931 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.5555, allocations: 21.73 kB / 0.6931 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.5556, allocations: 22.48 kB / 0.6931 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.5557, allocations: 19.52 kB / 0.6931 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001873/0.5559, allocations: 165 kB / 0.6933 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.37e-07/0.5559, allocations: 0 / 0.6933 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005783/0.5565, allocations: 83.89 kB / 0.6934 GB, free: 9.93 MB / 0.5261 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.000374/0.5569, allocations: 180.6 kB / 0.6935 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008511/0.5577, allocations: 305.3 kB / 0.6938 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.151e-06/0.5578, allocations: 0 / 0.6938 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.5581, allocations: 114 kB / 0.6939 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.5586, allocations: 59.48 kB / 0.694 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.56, allocations: 0.6917 MB / 0.6947 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.5602, allocations: 0.7436 MB / 0.6954 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.5605, allocations: 56.88 kB / 0.6955 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.5605, allocations: 24.16 kB / 0.6955 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of SimCode: time 1.515e-06/0.5606, allocations: 0 / 0.6955 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of Templates: time 0.011/0.5716, allocations: 3.601 MB / 0.699 GB, free: 7.41 MB / 0.5261 GB