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.006162/0.006162, allocations: 99.48 kB / 15.73 MB, free: 6.051 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.001261/0.001261, allocations: 192.5 kB / 16.67 MB, free: 5.973 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.587/1.587, allocations: 251.7 MB / 0.5094 GB, free: 3.066 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.001447/0.001447, allocations: 71.89 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1845, allocations: 104.7 MB / 0.8281 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002713/0.1873, allocations: 1.468 MB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1886, allocations: 0.9587 MB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.1887, allocations: 0 / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.1889, allocations: 43.75 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.648e-05/0.189, allocations: 15.86 kB / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.1895, allocations: 192.2 kB / 0.8307 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.1896, allocations: 51.67 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.1897, allocations: 7.984 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.1897, allocations: 15.88 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.1898, allocations: 19.92 kB / 0.8308 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1898, allocations: 0 / 0.8308 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.1901, allocations: 167.7 kB / 0.8309 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.1901, allocations: 7.984 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.1902, allocations: 19.88 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1904, allocations: 123.6 kB / 0.8311 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1904, allocations: 0 / 0.8311 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1904, allocations: 0 / 0.8311 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1904, allocations: 0 / 0.8311 GB, free: 13.13 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.0003663/0.1908, allocations: 377.5 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1908, allocations: 12.03 kB / 0.8314 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.1909, allocations: 88.06 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1912, allocations: 266.3 kB / 0.8318 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.1912, allocations: 154.9 kB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.1913, allocations: 150.9 kB / 0.8321 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.164e-05/0.1913, allocations: 105.3 kB / 0.8322 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.1914, allocations: 79.28 kB / 0.8322 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.1914, allocations: 154.5 kB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.1915, allocations: 150.6 kB / 0.8325 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.1915, allocations: 158.5 kB / 0.8327 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.1918, allocations: 457.9 kB / 0.8331 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.1919, allocations: 173.1 kB / 0.8333 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.1919, allocations: 84.14 kB / 0.8334 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.192, allocations: 75.28 kB / 0.8334 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.192, allocations: 109.8 kB / 0.8335 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.192, allocations: 0 / 0.8335 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.455e-05/0.1921, allocations: 37.55 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1922, allocations: 130.7 kB / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1923, allocations: 141.5 kB / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1924, allocations: 25.7 kB / 0.8339 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.1924, allocations: 92.14 kB / 0.8339 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.1924, allocations: 0 / 0.8339 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1925, allocations: 13.72 kB / 0.834 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1926, allocations: 322.8 kB / 0.8343 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.1926, allocations: 4 kB / 0.8343 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.804e-05/0.1926, allocations: 8 kB / 0.8343 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.1927, allocations: 16.8 kB / 0.8343 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1927, allocations: 3.938 kB / 0.8343 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.1928, allocations: 53.53 kB / 0.8344 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1928, allocations: 8 kB / 0.8344 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.1928, allocations: 0 / 0.8344 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1928, allocations: 0 / 0.8344 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-07/0.1929, allocations: 0 / 0.8344 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1929, allocations: 0 / 0.8344 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.1929, allocations: 8.062 kB / 0.8344 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1929, allocations: 0 / 0.8344 GB, free: 9.512 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 8.627e-05/0.193, allocations: 185.1 kB / 0.8345 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.1931, allocations: 120.8 kB / 0.8347 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.1931, allocations: 112.9 kB / 0.8348 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.787e-05/0.1932, allocations: 180.3 kB / 0.8349 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.742e-05/0.1933, allocations: 188.2 kB / 0.8351 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-05/0.1933, allocations: 176.3 kB / 0.8353 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1935, allocations: 417.2 kB / 0.8357 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/0.1936, allocations: 101 kB / 0.8358 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.1936, allocations: 108.9 kB / 0.8359 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.213e-05/0.1937, allocations: 188.2 kB / 0.8361 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.1937, allocations: 176.3 kB / 0.8362 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-05/0.1938, allocations: 184.2 kB / 0.8364 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.073e-05/0.1939, allocations: 180.3 kB / 0.8366 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.194, allocations: 311.6 kB / 0.8369 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.1941, allocations: 193.9 kB / 0.8371 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.1941, allocations: 184.2 kB / 0.8372 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.1942, allocations: 101 kB / 0.8373 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.1943, allocations: 180.2 kB / 0.8375 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.1943, allocations: 112.9 kB / 0.8376 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.1944, allocations: 101.6 kB / 0.8377 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1944, allocations: 4 kB / 0.8377 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002667/0.1947, allocations: 28 kB / 0.8377 GB, free: 5.824 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.0002628/0.1949, allocations: 214.4 kB / 0.8379 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.113e-05/0.195, allocations: 37.7 kB / 0.838 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1951, allocations: 0 / 0.838 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.1951, allocations: 7.875 kB / 0.838 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1955, allocations: 475.7 kB / 0.8384 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.1958, allocations: 227.1 kB / 0.8387 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.196, allocations: 0.6883 MB / 0.8393 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.1961, allocations: 8 kB / 0.8393 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.1961, allocations: 7.438 kB / 0.8393 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.1961, allocations: 0 / 0.8393 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of Templates: time 0.003806/0.1999, allocations: 1.507 MB / 0.8408 GB, free: 2.641 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)