Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 297.4 MB / 312.6 MB, free: 2.887 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.001019/0.00102, allocations: 185.2 kB / 382.3 MB, free: 14.83 MB / 314.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.409/1.409, allocations: 225.7 MB / 0.6617 GB, free: 7.199 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.0007744/0.0007744, allocations: 92.47 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 12 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5549, allocations: 119.2 MB / 1.022 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002403/0.5573, allocations: 1.975 MB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.5587, allocations: 1.255 MB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.995e-05/0.5588, allocations: 9.969 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.559, allocations: 45.97 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.5592, allocations: 63.5 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.5596, allocations: 148.4 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.5598, allocations: 265.4 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.56, allocations: 40.23 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.5601, allocations: 100.6 kB / 1.026 GB, free: 55.6 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.5602, allocations: 110 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.5603, allocations: 8.594 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.5605, allocations: 95.38 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.5606, allocations: 39.84 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.5607, allocations: 138.7 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.5611, allocations: 298.6 kB / 1.027 GB, free: 55.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5611, allocations: 0.8438 kB / 1.027 GB, free: 55.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5611, allocations: 0 / 1.027 GB, free: 55.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.5612, allocations: 0 / 1.027 GB, free: 55.32 MB / 0.698 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.0007525/0.5619, allocations: 0.5559 MB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.5619, allocations: 9.188 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.562, allocations: 33.03 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.5624, allocations: 293.2 kB / 1.028 GB, free: 54.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.5624, allocations: 16.38 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.5624, allocations: 19.66 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.5628, allocations: 212.4 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5628, allocations: 5.328 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.5628, allocations: 5.531 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5629, allocations: 3.156 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.5632, allocations: 130.7 kB / 1.028 GB, free: 54.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.564, allocations: 0.8684 MB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.5644, allocations: 215.2 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.5646, allocations: 88.05 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.5647, allocations: 1.094 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.5651, allocations: 211.5 kB / 1.029 GB, free: 53.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/0.5651, allocations: 0 / 1.029 GB, free: 53.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0007881/0.5659, allocations: 383.5 kB / 1.03 GB, free: 53.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.5659, allocations: 113.7 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.5661, allocations: 247.3 kB / 1.03 GB, free: 52.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.5662, allocations: 40.2 kB / 1.03 GB, free: 52.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.5662, allocations: 144.2 kB / 1.03 GB, free: 52.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.5663, allocations: 63.91 kB / 1.03 GB, free: 52.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.5663, allocations: 11.47 kB / 1.03 GB, free: 52.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.5664, allocations: 336.5 kB / 1.031 GB, free: 52.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.5666, allocations: 86.58 kB / 1.031 GB, free: 52.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.5668, allocations: 260.9 kB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.5673, allocations: 396.9 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5673, allocations: 2.344 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006716/0.568, allocations: 410.5 kB / 1.032 GB, free: 51.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.5681, allocations: 44.08 kB / 1.032 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.5681, allocations: 3.625 kB / 1.032 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5681, allocations: 10.44 kB / 1.032 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.5683, allocations: 67.8 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.5683, allocations: 13.34 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.5686, allocations: 60.59 kB / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.5686, allocations: 16.34 kB / 1.032 GB, free: 51.54 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.5687, allocations: 166.7 kB / 1.032 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.5688, allocations: 26.16 kB / 1.032 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.5688, allocations: 27.38 kB / 1.032 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5688, allocations: 2.719 kB / 1.032 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5688, allocations: 10.09 kB / 1.032 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5688, allocations: 0 / 1.032 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.5691, allocations: 264.7 kB / 1.032 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5691, allocations: 3.5 kB / 1.032 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5692, allocations: 24.52 kB / 1.032 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5692, allocations: 4.688 kB / 1.032 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.5692, allocations: 12.77 kB / 1.032 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5692, allocations: 5.656 kB / 1.032 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5693, allocations: 3.938 kB / 1.032 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/0.57, allocations: 434.4 kB / 1.033 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.5701, allocations: 103 kB / 1.033 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.5701, allocations: 8.766 kB / 1.033 GB, free: 50.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.5703, allocations: 21.52 kB / 1.033 GB, free: 50.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.5704, allocations: 29.36 kB / 1.033 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.5704, allocations: 17.09 kB / 1.033 GB, free: 50.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000111/0.5705, allocations: 167.4 kB / 1.033 GB, free: 50.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5705, allocations: 0 / 1.033 GB, free: 50.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003688/0.5709, allocations: 84.7 kB / 1.033 GB, free: 50.67 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.5712, allocations: 185.9 kB / 1.033 GB, free: 50.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005549/0.5718, allocations: 307.6 kB / 1.034 GB, free: 50.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5718, allocations: 5.375 kB / 1.034 GB, free: 50.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.572, allocations: 110.2 kB / 1.034 GB, free: 50.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.5724, allocations: 55.12 kB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.5734, allocations: 0.7234 MB / 1.035 GB, free: 49.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.5736, allocations: 0.7432 MB / 1.035 GB, free: 49.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00014/0.5737, allocations: 52.88 kB / 1.035 GB, free: 49.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.5738, allocations: 27.39 kB / 1.035 GB, free: 49.19 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.5738, allocations: 0 / 1.035 GB, free: 49.19 MB / 0.698 GB Notification: Performance of Templates: time 0.007098/0.5809, allocations: 3.724 MB / 1.039 GB, free: 48.92 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)