Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001341/0.00134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001123/0.001123, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.333/1.333, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.001314/0.001314, allocations: 65.45 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2059, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005257/0.2112, allocations: 4.186 MB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003483/0.2148, allocations: 2.411 MB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006161/0.2154, allocations: 12 kB / 0.7893 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.2174, allocations: 0.4901 MB / 0.7898 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000906/0.2184, allocations: 218.5 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.2188, allocations: 119.9 kB / 0.7901 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.2199, allocations: 0.806 MB / 0.7909 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004794/0.2204, allocations: 326.5 kB / 0.7912 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.2207, allocations: 294.9 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.2211, allocations: 338.6 kB / 0.7919 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.923e-05/0.2212, allocations: 75.98 kB / 0.7919 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.2213, allocations: 76 kB / 0.792 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.2215, allocations: 171.4 kB / 0.7922 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.2219, allocations: 378.3 kB / 0.7925 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009385/0.2228, allocations: 0.985 MB / 0.7935 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2229, allocations: 4 kB / 0.7935 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2229, allocations: 0 / 0.7935 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.2229, allocations: 0 / 0.7935 GB, free: 2.977 MB / 0.6075 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.00148/0.2244, allocations: 0.9462 MB / 0.7944 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2244, allocations: 12.03 kB / 0.7944 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2245, allocations: 76 kB / 0.7945 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.2251, allocations: 457.6 kB / 0.7949 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.2252, allocations: 37.38 kB / 0.795 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.2253, allocations: 48.38 kB / 0.795 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008005/0.2261, allocations: 434.8 kB / 0.7954 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2261, allocations: 0 / 0.7954 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.2262, allocations: 20 kB / 0.7954 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.2262, allocations: 12 kB / 0.7955 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.2269, allocations: 367.8 kB / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.2288, allocations: 1.532 MB / 0.7973 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.2293, allocations: 338.7 kB / 0.7976 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/0.2297, allocations: 324.5 kB / 0.7979 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.2298, allocations: 7.938 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.2298, allocations: 42.5 kB / 0.798 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.2298, allocations: 0 / 0.798 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0009597/0.2308, allocations: 0.4937 MB / 0.7985 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2308, allocations: 59.41 kB / 0.7985 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.2313, allocations: 489.9 kB / 0.799 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.2314, allocations: 33.7 kB / 0.799 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.2316, allocations: 276.3 kB / 0.7993 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.2317, allocations: 149.8 kB / 0.7994 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.2318, allocations: 58.08 kB / 0.7995 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.2319, allocations: 358.8 kB / 0.7998 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.2322, allocations: 128.7 kB / 0.7999 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.2324, allocations: 129.2 kB / 0.8001 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.2329, allocations: 298.1 kB / 0.8004 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2329, allocations: 0 / 0.8004 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006005/0.2335, allocations: 392.5 kB / 0.8007 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2335, allocations: 4 kB / 0.8007 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2335, allocations: 0 / 0.8007 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2335, allocations: 4 kB / 0.8007 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.234, allocations: 128.6 kB / 0.8009 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.234, allocations: 0 / 0.8009 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.2343, allocations: 51.56 kB / 0.8009 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.2343, allocations: 12 kB / 0.8009 GB, free: 11.11 MB / 0.6231 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.0002068/0.2346, allocations: 193.8 kB / 0.8011 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.2346, allocations: 63.25 kB / 0.8012 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.2348, allocations: 61.11 kB / 0.8012 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2348, allocations: 7.938 kB / 0.8012 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2348, allocations: 0 / 0.8012 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2348, allocations: 3.984 kB / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.2354, allocations: 0.5635 MB / 0.8018 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2354, allocations: 7.922 kB / 0.8018 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.2359, allocations: 131.8 kB / 0.8019 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2359, allocations: 4 kB / 0.8019 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.2359, allocations: 4 kB / 0.8019 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2359, allocations: 4 kB / 0.8019 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.236, allocations: 0 / 0.8019 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/0.2369, allocations: 0.6479 MB / 0.8026 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.237, allocations: 144.3 kB / 0.8027 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.2371, allocations: 12 kB / 0.8027 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.2373, allocations: 15.98 kB / 0.8027 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.2374, allocations: 23.97 kB / 0.8028 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.2374, allocations: 12 kB / 0.8028 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003827/0.2378, allocations: 359 kB / 0.8031 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2378, allocations: 4 kB / 0.8031 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004042/0.2382, allocations: 143.6 kB / 0.8032 GB, free: 8.629 MB / 0.6231 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.0001414/0.2384, allocations: 115.1 kB / 0.8034 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007087/0.2391, allocations: 343.8 kB / 0.8037 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2391, allocations: 0 / 0.8037 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.2394, allocations: 183.8 kB / 0.8039 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.2401, allocations: 125.4 kB / 0.804 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.242, allocations: 1.421 MB / 0.8054 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.2425, allocations: 0.8743 MB / 0.8062 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002134/0.2428, allocations: 44.41 kB / 0.8063 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.2429, allocations: 43.38 kB / 0.8063 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.2429, allocations: 0 / 0.8063 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of Templates: time 0.01027/0.2531, allocations: 5.863 MB / 0.812 GB, free: 15.71 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)