Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.758/1.758, allocations: 291.7 MB / 306.8 MB, free: 7.664 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009563/0.0009564, allocations: 184.4 kB / 375.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000838/0.0008383, allocations: 102.3 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 16 kB / 0.8956 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6002, allocations: 118.1 MB / 1.011 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002479/0.6028, allocations: 1.963 MB / 1.013 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.6041, allocations: 0.9368 MB / 1.014 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.6042, allocations: 9.719 kB / 1.014 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.6044, allocations: 38.22 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.6046, allocations: 65.33 kB / 1.014 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.605, allocations: 137 kB / 1.014 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.6052, allocations: 264.7 kB / 1.014 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.6053, allocations: 30.23 kB / 1.014 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.6054, allocations: 101.8 kB / 1.014 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.6055, allocations: 99.42 kB / 1.014 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.6056, allocations: 9.281 kB / 1.014 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.6058, allocations: 103 kB / 1.015 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.6059, allocations: 38.02 kB / 1.015 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.6059, allocations: 75.19 kB / 1.015 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.6062, allocations: 220.2 kB / 1.015 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.6062, allocations: 0 / 1.015 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6062, allocations: 0 / 1.015 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.6062, allocations: 0 / 1.015 GB, free: 57.57 MB / 0.7136 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.0007225/0.6069, allocations: 0.5515 MB / 1.015 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.607, allocations: 9.312 kB / 1.015 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.607, allocations: 28.62 kB / 1.015 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.6074, allocations: 296.9 kB / 1.016 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.6074, allocations: 17 kB / 1.016 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.6075, allocations: 24.47 kB / 1.016 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.6078, allocations: 212 kB / 1.016 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6078, allocations: 1.625 kB / 1.016 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.6079, allocations: 8.188 kB / 1.016 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6079, allocations: 4.5 kB / 1.016 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.6082, allocations: 122.1 kB / 1.016 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.609, allocations: 0.8755 MB / 1.017 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.6094, allocations: 220 kB / 1.017 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.6096, allocations: 83.27 kB / 1.017 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.6096, allocations: 4.125 kB / 1.017 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.61, allocations: 214.2 kB / 1.017 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.355e-06/0.6101, allocations: 2.781 kB / 1.017 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0007911/0.6109, allocations: 375 kB / 1.018 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.6109, allocations: 122.2 kB / 1.018 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.6111, allocations: 242.4 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.6112, allocations: 42.33 kB / 1.018 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.6112, allocations: 147.6 kB / 1.018 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.6113, allocations: 56.78 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.6113, allocations: 5.562 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.6114, allocations: 344.2 kB / 1.019 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.6116, allocations: 82.86 kB / 1.019 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.6118, allocations: 265.2 kB / 1.019 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.6123, allocations: 408.4 kB / 1.019 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6123, allocations: 0 / 1.019 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006194/0.613, allocations: 411 kB / 1.02 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.613, allocations: 38.08 kB / 1.02 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.613, allocations: 9.719 kB / 1.02 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.613, allocations: 8.719 kB / 1.02 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.6132, allocations: 62.95 kB / 1.02 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.6133, allocations: 16.34 kB / 1.02 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.6135, allocations: 55.44 kB / 1.02 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.6135, allocations: 21 kB / 1.02 GB, free: 54.45 MB / 0.7136 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.0001075/0.6136, allocations: 161.7 kB / 1.02 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.6137, allocations: 28.34 kB / 1.02 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.6137, allocations: 23.34 kB / 1.02 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6137, allocations: 7.797 kB / 1.02 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6137, allocations: 3.938 kB / 1.02 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6138, allocations: 2.719 kB / 1.02 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.614, allocations: 261.7 kB / 1.021 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.614, allocations: 4 kB / 1.021 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.6141, allocations: 22.47 kB / 1.021 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.6141, allocations: 3.328 kB / 1.021 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.6141, allocations: 9.375 kB / 1.021 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6141, allocations: 3.375 kB / 1.021 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6141, allocations: 10.41 kB / 1.021 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.6149, allocations: 433.5 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.615, allocations: 111 kB / 1.021 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.615, allocations: 6.125 kB / 1.021 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.6152, allocations: 20.61 kB / 1.021 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.6153, allocations: 30.78 kB / 1.021 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.6153, allocations: 9.062 kB / 1.021 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001113/0.6154, allocations: 175.5 kB / 1.021 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6154, allocations: 0 / 1.021 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003523/0.6158, allocations: 79.8 kB / 1.021 GB, free: 53.78 MB / 0.7136 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.0002707/0.6161, allocations: 166.5 kB / 1.022 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005203/0.6166, allocations: 310.8 kB / 1.022 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6166, allocations: 0.9375 kB / 1.022 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.6168, allocations: 109.2 kB / 1.022 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.6172, allocations: 64.28 kB / 1.022 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.6182, allocations: 0.7026 MB / 1.023 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.6183, allocations: 0.7427 MB / 1.023 GB, free: 52.47 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.6185, allocations: 59.22 kB / 1.023 GB, free: 52.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.6185, allocations: 26.88 kB / 1.024 GB, free: 52.45 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.6185, allocations: 0 / 1.024 GB, free: 52.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.006525/0.6251, allocations: 3.611 MB / 1.027 GB, free: 52.24 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)