Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 255.9 MB / 271.2 MB, free: 8.898 MB / 218.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.001314/0.001314, allocations: 190.7 kB / 330.8 MB, free: 488 kB / 250.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.551/1.551, allocations: 225.7 MB / 0.6016 GB, free: 1.656 MB / 426.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.0007766/0.0007766, allocations: 103.5 kB / 0.709 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 15.94 kB / 0.8262 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1673, allocations: 109.2 MB / 0.9328 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002547/0.1699, allocations: 2.619 MB / 0.9354 GB, free: 3.617 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1719, allocations: 1.983 MB / 0.9373 GB, free: 1.625 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.1722, allocations: 4 kB / 0.9373 GB, free: 1.621 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.1735, allocations: 470.1 kB / 0.9377 GB, free: 1.16 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.1738, allocations: 135.1 kB / 0.9379 GB, free: 1.027 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.1739, allocations: 55.91 kB / 0.9379 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.1744, allocations: 465.8 kB / 0.9384 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.1746, allocations: 123.9 kB / 0.9385 GB, free: 400 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1748, allocations: 139.3 kB / 0.9386 GB, free: 260 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.175, allocations: 171.1 kB / 0.9388 GB, free: 88 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.175, allocations: 20 kB / 0.9388 GB, free: 68 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.722e-05/0.1751, allocations: 20 kB / 0.9388 GB, free: 48 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1752, allocations: 79.8 kB / 0.9389 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.1754, allocations: 216.7 kB / 0.9391 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.1759, allocations: 0.5251 MB / 0.9396 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1759, allocations: 0 / 0.9396 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1759, allocations: 0 / 0.9396 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.1759, allocations: 0 / 0.9396 GB, free: 15.22 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00107/0.177, allocations: 0.6385 MB / 0.9402 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.177, allocations: 8.031 kB / 0.9402 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1771, allocations: 52.36 kB / 0.9403 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.1776, allocations: 370.1 kB / 0.9406 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1777, allocations: 16.81 kB / 0.9407 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.1777, allocations: 24.38 kB / 0.9407 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.1781, allocations: 207.6 kB / 0.9409 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1782, allocations: 7.938 kB / 0.9409 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.1782, allocations: 8 kB / 0.9409 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.1782, allocations: 7.938 kB / 0.9409 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.1786, allocations: 173.7 kB / 0.9411 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1798, allocations: 0.874 MB / 0.9419 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1801, allocations: 158.5 kB / 0.9421 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.1804, allocations: 116.8 kB / 0.9422 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.1804, allocations: 0 / 0.9422 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1804, allocations: 34.56 kB / 0.9422 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 9.82e-07/0.1804, allocations: 0 / 0.9422 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.00064/0.1811, allocations: 277.2 kB / 0.9425 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1811, allocations: 51.41 kB / 0.9425 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.1816, allocations: 413.7 kB / 0.9429 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1816, allocations: 33.7 kB / 0.943 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1818, allocations: 208.2 kB / 0.9432 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.1818, allocations: 55.11 kB / 0.9432 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.1818, allocations: 8 kB / 0.9432 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.182, allocations: 346.8 kB / 0.9436 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.1821, allocations: 59.95 kB / 0.9436 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1823, allocations: 67.97 kB / 0.9437 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.1826, allocations: 136.1 kB / 0.9438 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1826, allocations: 3.984 kB / 0.9438 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000388/0.183, allocations: 221 kB / 0.944 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.183, allocations: 11.98 kB / 0.944 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.183, allocations: 0 / 0.944 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.183, allocations: 3.938 kB / 0.944 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.1833, allocations: 63.97 kB / 0.9441 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1833, allocations: 0 / 0.9441 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1835, allocations: 23.83 kB / 0.9441 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1835, allocations: 8 kB / 0.9441 GB, free: 10.36 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001588/0.1837, allocations: 166.4 kB / 0.9443 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.1837, allocations: 35.53 kB / 0.9443 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.1838, allocations: 47.53 kB / 0.9444 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1838, allocations: 4 kB / 0.9444 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1838, allocations: 3.938 kB / 0.9444 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1838, allocations: 0 / 0.9444 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.1843, allocations: 381.2 kB / 0.9447 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1843, allocations: 0 / 0.9447 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.1845, allocations: 51.97 kB / 0.9448 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1845, allocations: 0 / 0.9448 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.1846, allocations: 11.94 kB / 0.9448 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1846, allocations: 7.938 kB / 0.9448 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1846, allocations: 0 / 0.9448 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.1852, allocations: 390.9 kB / 0.9452 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1853, allocations: 116.7 kB / 0.9453 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.1854, allocations: 7.938 kB / 0.9453 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.1855, allocations: 15.98 kB / 0.9453 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.1856, allocations: 11.98 kB / 0.9453 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1856, allocations: 4 kB / 0.9453 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003258/0.1859, allocations: 307.2 kB / 0.9456 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1859, allocations: 0 / 0.9456 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000305/0.1863, allocations: 75.75 kB / 0.9457 GB, free: 8.656 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000128/0.1864, allocations: 116.7 kB / 0.9458 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.1868, allocations: 143.9 kB / 0.9459 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1868, allocations: 3.938 kB / 0.9459 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.1869, allocations: 88.67 kB / 0.946 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.1875, allocations: 89.97 kB / 0.9461 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1888, allocations: 0.9347 MB / 0.947 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.1892, allocations: 0.7992 MB / 0.9478 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000127/0.1893, allocations: 34.91 kB / 0.9478 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.1894, allocations: 23.44 kB / 0.9479 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of SimCode: time 2.5e-07/0.1894, allocations: 4 kB / 0.9479 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of Templates: time 0.007506/0.1969, allocations: 3.698 MB / 0.9515 GB, free: 2.738 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)