Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007155/0.007156, allocations: 101.5 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 190.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.578/1.578, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.91 kB / 0.7258 GB, free: 9.129 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1845, allocations: 104.7 MB / 0.8281 GB, free: 328 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002337/0.1869, allocations: 1.472 MB / 0.8295 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1883, allocations: 0.947 MB / 0.8304 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.1883, allocations: 4 kB / 0.8304 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.1885, allocations: 47.75 kB / 0.8305 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.726e-05/0.1886, allocations: 11.86 kB / 0.8305 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.1891, allocations: 198.7 kB / 0.8307 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.43e-05/0.1892, allocations: 43.73 kB / 0.8307 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.1893, allocations: 7.938 kB / 0.8307 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.1893, allocations: 23.91 kB / 0.8307 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.667e-05/0.1894, allocations: 11.94 kB / 0.8308 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1894, allocations: 0 / 0.8308 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.1897, allocations: 179.7 kB / 0.8309 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1898, allocations: 0 / 0.8309 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.1898, allocations: 23.81 kB / 0.8309 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.19, allocations: 127.6 kB / 0.8311 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.19, allocations: 3.938 kB / 0.8311 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.19, allocations: 0 / 0.8311 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.19, allocations: 0 / 0.8311 GB, free: 13.21 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003726/0.1904, allocations: 375.1 kB / 0.8314 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1905, allocations: 12.03 kB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.1905, allocations: 84.12 kB / 0.8315 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1907, allocations: 259.5 kB / 0.8318 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.1908, allocations: 154.9 kB / 0.8319 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.1909, allocations: 150.9 kB / 0.8321 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.678e-05/0.1909, allocations: 105.3 kB / 0.8322 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.191, allocations: 79.28 kB / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.191, allocations: 158.5 kB / 0.8324 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/0.1911, allocations: 154.5 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.1911, allocations: 150.6 kB / 0.8327 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.1914, allocations: 457.9 kB / 0.8331 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.085e-05/0.1915, allocations: 181.1 kB / 0.8333 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.1916, allocations: 80.14 kB / 0.8334 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1916, allocations: 75.28 kB / 0.8334 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.1916, allocations: 117.7 kB / 0.8335 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.1917, allocations: 0 / 0.8335 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.565e-05/0.1917, allocations: 37.61 kB / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.1918, allocations: 126.7 kB / 0.8337 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1919, allocations: 140.3 kB / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.192, allocations: 25.7 kB / 0.8339 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.192, allocations: 92.12 kB / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.192, allocations: 0 / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.1921, allocations: 17.72 kB / 0.834 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.1922, allocations: 322.8 kB / 0.8343 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.1922, allocations: 4 kB / 0.8343 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.916e-05/0.1922, allocations: 4 kB / 0.8343 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.1923, allocations: 20.73 kB / 0.8343 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1923, allocations: 0 / 0.8343 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001152/0.1924, allocations: 53.53 kB / 0.8344 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1924, allocations: 8 kB / 0.8344 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.1924, allocations: 0 / 0.8344 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1925, allocations: 0 / 0.8344 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1925, allocations: 0 / 0.8344 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1925, allocations: 0 / 0.8344 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.1925, allocations: 8.062 kB / 0.8344 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1925, allocations: 0 / 0.8344 GB, free: 9.602 MB / 0.6544 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.962e-05/0.1926, allocations: 181.1 kB / 0.8345 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.1927, allocations: 116.8 kB / 0.8347 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.1927, allocations: 120.8 kB / 0.8348 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-05/0.1928, allocations: 184.2 kB / 0.8349 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.165e-05/0.1928, allocations: 180.3 kB / 0.8351 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.493e-05/0.1929, allocations: 180.3 kB / 0.8353 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1931, allocations: 417.1 kB / 0.8357 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/0.1931, allocations: 101 kB / 0.8358 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.1932, allocations: 112.9 kB / 0.8359 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.198e-05/0.1932, allocations: 180.3 kB / 0.8361 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.1933, allocations: 176.3 kB / 0.8362 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.078e-05/0.1934, allocations: 184.2 kB / 0.8364 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.312e-05/0.1934, allocations: 184.3 kB / 0.8366 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.1935, allocations: 303.7 kB / 0.8369 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.1936, allocations: 197.9 kB / 0.8371 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.836e-05/0.1937, allocations: 184.2 kB / 0.8372 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1938, allocations: 101 kB / 0.8373 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.1938, allocations: 180.2 kB / 0.8375 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.1939, allocations: 109 kB / 0.8376 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.1939, allocations: 105.8 kB / 0.8377 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1939, allocations: 4 kB / 0.8377 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000269/0.1942, allocations: 28 kB / 0.8377 GB, free: 5.918 MB / 0.6544 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 (0): * Single equations (assignments): 0 * 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.0002606/0.1945, allocations: 214.4 kB / 0.8379 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.1946, allocations: 41.64 kB / 0.838 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1946, allocations: 0 / 0.838 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.1946, allocations: 3.938 kB / 0.838 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.195, allocations: 467.8 kB / 0.8384 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1954, allocations: 227 kB / 0.8386 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1956, allocations: 0.6883 MB / 0.8393 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.1956, allocations: 12.03 kB / 0.8393 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.1957, allocations: 7.438 kB / 0.8393 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.1957, allocations: 0 / 0.8393 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of Templates: time 0.004061/0.1997, allocations: 1.522 MB / 0.8408 GB, free: 2.73 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)