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.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") 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.413/1.413, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.0009633/0.0009634, allocations: 187.8 kB / 330.8 MB, free: 464 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.61/1.61, allocations: 225.7 MB / 0.6016 GB, free: 1.539 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.0007749/0.0007749, allocations: 87.72 kB / 0.709 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 11.98 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1772, allocations: 109.2 MB / 0.9328 GB, free: 6.211 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001111/0.1784, allocations: 1.005 MB / 0.9338 GB, free: 5.199 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003189/0.1816, allocations: 4.344 MB / 0.938 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1816, allocations: 3.938 kB / 0.938 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.1817, allocations: 0 / 0.938 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.182, allocations: 87.61 kB / 0.9381 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1822, allocations: 103.7 kB / 0.9382 GB, free: 468 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.724e-05/0.1823, allocations: 23.92 kB / 0.9382 GB, free: 444 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.1823, allocations: 3.984 kB / 0.9382 GB, free: 440 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.1824, allocations: 31.86 kB / 0.9382 GB, free: 408 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.595e-05/0.1825, allocations: 31.95 kB / 0.9383 GB, free: 376 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1826, allocations: 3.938 kB / 0.9383 GB, free: 372 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.1829, allocations: 291.6 kB / 0.9385 GB, free: 80 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1829, allocations: 8 kB / 0.9386 GB, free: 72 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.183, allocations: 29.64 kB / 0.9386 GB, free: 36 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1832, allocations: 124 kB / 0.9387 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1832, allocations: 0 / 0.9387 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1832, allocations: 0 / 0.9387 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.1832, allocations: 0 / 0.9387 GB, free: 15.91 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003693/0.1836, allocations: 359.4 kB / 0.939 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1837, allocations: 11.98 kB / 0.9391 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.1837, allocations: 0.9375 kB / 0.9391 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1838, allocations: 164.4 kB / 0.9392 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1838, allocations: 4.375 kB / 0.9392 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.1838, allocations: 4.312 kB / 0.9392 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.58e-05/0.1839, allocations: 37.81 kB / 0.9393 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1839, allocations: 3.938 kB / 0.9393 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.184, allocations: 0 / 0.9393 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.184, allocations: 0 / 0.9393 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.184, allocations: 8 kB / 0.9393 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.1842, allocations: 149.7 kB / 0.9394 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.044e-05/0.1842, allocations: 34.55 kB / 0.9394 GB, free: 15 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.1843, allocations: 4.859 kB / 0.9395 GB, free: 15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.1845, allocations: 101.1 kB / 0.9395 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1845, allocations: 38.5 kB / 0.9396 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/0.1845, allocations: 0 / 0.9396 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.1847, allocations: 49.55 kB / 0.9396 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.1847, allocations: 51.41 kB / 0.9397 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.1848, allocations: 101.8 kB / 0.9398 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1848, allocations: 25.7 kB / 0.9398 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.1849, allocations: 84.14 kB / 0.9399 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.1849, allocations: 4 kB / 0.9399 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.1849, allocations: 0 / 0.9399 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.185, allocations: 310.8 kB / 0.9402 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.185, allocations: 12.11 kB / 0.9402 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-06/0.185, allocations: 0 / 0.9402 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.1851, allocations: 20.8 kB / 0.9402 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1851, allocations: 0 / 0.9402 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.203e-05/0.1852, allocations: 45.55 kB / 0.9403 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1852, allocations: 4 kB / 0.9403 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1852, allocations: 0 / 0.9403 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1852, allocations: 4 kB / 0.9403 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.1853, allocations: 3.984 kB / 0.9403 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1853, allocations: 4.094 kB / 0.9403 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.1853, allocations: 4 kB / 0.9403 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1853, allocations: 0 / 0.9403 GB, free: 14.07 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 (2): * Single equations (assignments): 2 * 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 7.051e-05/0.1854, allocations: 106.5 kB / 0.9404 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1854, allocations: 7.938 kB / 0.9404 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.1855, allocations: 52.98 kB / 0.9404 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1855, allocations: 0 / 0.9404 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1855, allocations: 8.031 kB / 0.9404 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1856, allocations: 3.938 kB / 0.9404 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1857, allocations: 157.7 kB / 0.9406 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1857, allocations: 0 / 0.9406 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.1857, allocations: 3.938 kB / 0.9406 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1857, allocations: 4 kB / 0.9406 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-06/0.1857, allocations: 3.938 kB / 0.9406 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1857, allocations: 0 / 0.9406 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1857, allocations: 0 / 0.9406 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.578e-05/0.1858, allocations: 73.06 kB / 0.9407 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.1859, allocations: 84.95 kB / 0.9408 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1859, allocations: 0 / 0.9408 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.408e-05/0.1859, allocations: 0 / 0.9408 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.1859, allocations: 7.984 kB / 0.9408 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1859, allocations: 0 / 0.9408 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.186, allocations: 83.28 kB / 0.9408 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.186, allocations: 0 / 0.9408 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001987/0.1862, allocations: 23.94 kB / 0.9409 GB, free: 13.36 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002057/0.1864, allocations: 144.5 kB / 0.941 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.907e-05/0.1865, allocations: 8 kB / 0.941 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1865, allocations: 0 / 0.941 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/0.1865, allocations: 11.94 kB / 0.941 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.1867, allocations: 3.938 kB / 0.941 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.187, allocations: 146.9 kB / 0.9412 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1872, allocations: 0.677 MB / 0.9418 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.1872, allocations: 4 kB / 0.9418 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.1873, allocations: 7.438 kB / 0.9418 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.1873, allocations: 0 / 0.9418 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.00262/0.1899, allocations: 0.7294 MB / 0.9426 GB, free: 11.57 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)