Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008149/0.008149, allocations: 102.1 kB / 15.73 MB, free: 6.039 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.001608/0.001608, allocations: 199.5 kB / 16.67 MB, free: 5.977 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.383/1.383, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.464/1.464, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001435/0.001435, allocations: 67.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2079, allocations: 104.7 MB / 0.8281 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.0053/0.2133, allocations: 4.159 MB / 0.8322 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003459/0.2168, allocations: 2.469 MB / 0.8346 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.217, allocations: 8 kB / 0.8346 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.2186, allocations: 0.5363 MB / 0.8351 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.219, allocations: 250 kB / 0.8353 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.2192, allocations: 139.8 kB / 0.8355 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007042/0.2199, allocations: 0.8059 MB / 0.8363 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.2204, allocations: 334.4 kB / 0.8366 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.2207, allocations: 291 kB / 0.8369 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.221, allocations: 326.6 kB / 0.8372 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.166e-05/0.2211, allocations: 76 kB / 0.8372 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.2212, allocations: 80 kB / 0.8373 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.2214, allocations: 167.4 kB / 0.8375 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.2217, allocations: 394.2 kB / 0.8378 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000868/0.2226, allocations: 0.9812 MB / 0.8388 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2226, allocations: 0 / 0.8388 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2226, allocations: 0 / 0.8388 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.2227, allocations: 0 / 0.8388 GB, free: 5.199 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001476/0.2241, allocations: 0.9541 MB / 0.8397 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2242, allocations: 8.031 kB / 0.8397 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.2243, allocations: 80.08 kB / 0.8398 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.225, allocations: 457.7 kB / 0.8403 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.225, allocations: 33.38 kB / 0.8403 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/0.2251, allocations: 48.38 kB / 0.8403 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.2259, allocations: 426.8 kB / 0.8407 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.2259, allocations: 7.938 kB / 0.8408 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.2259, allocations: 23.94 kB / 0.8408 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.226, allocations: 16 kB / 0.8408 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.2267, allocations: 367.8 kB / 0.8411 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.2287, allocations: 1.512 MB / 0.8426 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.2292, allocations: 343.7 kB / 0.8429 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.2297, allocations: 324.2 kB / 0.8433 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.2297, allocations: 7.938 kB / 0.8433 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2298, allocations: 46.44 kB / 0.8433 GB, free: 412 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.2298, allocations: 0 / 0.8433 GB, free: 412 kB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.00096/0.2307, allocations: 0.4933 MB / 0.8438 GB, free: 15.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.2308, allocations: 55.41 kB / 0.8438 GB, free: 15.83 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/0.2314, allocations: 485.9 kB / 0.8443 GB, free: 15.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.2314, allocations: 29.7 kB / 0.8443 GB, free: 15.31 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.2316, allocations: 276.4 kB / 0.8446 GB, free: 15.04 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.2317, allocations: 145.8 kB / 0.8447 GB, free: 14.89 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.2318, allocations: 62.08 kB / 0.8448 GB, free: 14.82 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2319, allocations: 366.7 kB / 0.8451 GB, free: 14.46 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.2322, allocations: 120.7 kB / 0.8453 GB, free: 14.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.2324, allocations: 125.5 kB / 0.8454 GB, free: 14.22 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.2329, allocations: 298 kB / 0.8457 GB, free: 13.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.233, allocations: 4 kB / 0.8457 GB, free: 13.92 MB / 0.67 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006518/0.2336, allocations: 400.1 kB / 0.846 GB, free: 13.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2336, allocations: 4 kB / 0.8461 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2337, allocations: 0 / 0.8461 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.2337, allocations: 4 kB / 0.8461 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.2342, allocations: 131.8 kB / 0.8462 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2342, allocations: 0 / 0.8462 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.2344, allocations: 35.67 kB / 0.8462 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2345, allocations: 16 kB / 0.8462 GB, free: 13.34 MB / 0.67 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 (46): * Single equations (assignments): 46 * 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.0002245/0.2347, allocations: 189.8 kB / 0.8464 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.2348, allocations: 59.27 kB / 0.8465 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.2349, allocations: 61.11 kB / 0.8465 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.2349, allocations: 4 kB / 0.8465 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2349, allocations: 0 / 0.8465 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.235, allocations: 3.984 kB / 0.8465 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007153/0.2357, allocations: 0.575 MB / 0.8471 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2357, allocations: 0 / 0.8471 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.2362, allocations: 131.8 kB / 0.8472 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2362, allocations: 0 / 0.8472 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.2362, allocations: 12 kB / 0.8472 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2362, allocations: 0 / 0.8472 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2363, allocations: 3.984 kB / 0.8472 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.2372, allocations: 0.6557 MB / 0.8479 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.2374, allocations: 136.5 kB / 0.848 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.2374, allocations: 4 kB / 0.848 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2376, allocations: 15.98 kB / 0.848 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.2377, allocations: 19.97 kB / 0.848 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.2377, allocations: 12 kB / 0.8481 GB, free: 11.37 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003647/0.2381, allocations: 351.1 kB / 0.8484 GB, free: 11.03 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2381, allocations: 3.938 kB / 0.8484 GB, free: 11.02 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003733/0.2385, allocations: 143.5 kB / 0.8485 GB, free: 10.88 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001426/0.2387, allocations: 123.2 kB / 0.8486 GB, free: 10.75 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000592/0.2393, allocations: 315.6 kB / 0.849 GB, free: 10.45 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2393, allocations: 0 / 0.849 GB, free: 10.45 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.2395, allocations: 175.8 kB / 0.8491 GB, free: 10.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.2402, allocations: 140.3 kB / 0.8493 GB, free: 10.14 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.242, allocations: 1.194 MB / 0.8504 GB, free: 8.918 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.2425, allocations: 0.8703 MB / 0.8513 GB, free: 8.02 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.2426, allocations: 60.31 kB / 0.8513 GB, free: 7.957 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2428, allocations: 39.44 kB / 0.8514 GB, free: 7.918 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.2428, allocations: 4 kB / 0.8514 GB, free: 7.914 MB / 0.67 GB Notification: Performance of Templates: time 0.01145/0.2542, allocations: 6.018 MB / 0.8572 GB, free: 2.043 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)