Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.801/2.801, allocations: 287.3 MB / 302.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 170.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 93.09 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.000491, allocations: 16.55 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004561/0.2187, allocations: 3.277 MB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003606/0.2223, allocations: 2.227 MB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.2227, allocations: 12 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.2243, allocations: 482.1 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005661/0.2249, allocations: 247.4 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2252, allocations: 83.86 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.2259, allocations: 0.5597 MB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.2263, allocations: 249.4 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.2266, allocations: 243.1 kB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.227, allocations: 262.9 kB / 0.9857 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.2271, allocations: 32 kB / 0.9857 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.2272, allocations: 36 kB / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.2273, allocations: 123.5 kB / 0.9858 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.2275, allocations: 161.4 kB / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007467/0.2282, allocations: 0.7828 MB / 0.9868 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2283, allocations: 4 kB / 0.9868 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2283, allocations: 0 / 0.9868 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.2283, allocations: 4 kB / 0.9868 GB, free: 19.57 MB / 0.6198 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.001626/0.2299, allocations: 0.8411 MB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.23, allocations: 16.02 kB / 0.9876 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2301, allocations: 71.16 kB / 0.9877 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.2308, allocations: 444.6 kB / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.2308, allocations: 37 kB / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/0.2309, allocations: 48 kB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.232, allocations: 426.4 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.232, allocations: 0 / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.2321, allocations: 20 kB / 0.9886 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.2321, allocations: 12 kB / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.2332, allocations: 379.8 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.2358, allocations: 1.539 MB / 0.9905 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.2365, allocations: 342.9 kB / 0.9908 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.2366, allocations: 4 kB / 0.9908 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.2366, allocations: 39.25 kB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.434e-06/0.2366, allocations: 4 kB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.001341/0.238, allocations: 0.4942 MB / 0.9913 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.238, allocations: 63.34 kB / 0.9914 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/0.2387, allocations: 486.7 kB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.2388, allocations: 33.7 kB / 0.9919 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.239, allocations: 280.3 kB / 0.9922 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2391, allocations: 141.8 kB / 0.9923 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.2391, allocations: 12 kB / 0.9923 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.2392, allocations: 358.8 kB / 0.9926 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.2396, allocations: 128.7 kB / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.24, allocations: 129.4 kB / 0.9929 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.2404, allocations: 142.6 kB / 0.993 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2404, allocations: 0 / 0.993 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00096/0.2414, allocations: 407.8 kB / 0.9934 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2414, allocations: 7.938 kB / 0.9934 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2415, allocations: 0 / 0.9934 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2415, allocations: 4 kB / 0.9934 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/0.2424, allocations: 131.8 kB / 0.9935 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2424, allocations: 4 kB / 0.9936 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.2428, allocations: 51.66 kB / 0.9936 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.2429, allocations: 12 kB / 0.9936 GB, free: 12.31 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002667/0.2432, allocations: 199.8 kB / 0.9938 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/0.2433, allocations: 55.3 kB / 0.9939 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.2434, allocations: 57.11 kB / 0.9939 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.2434, allocations: 4 kB / 0.9939 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2434, allocations: 3.984 kB / 0.9939 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2434, allocations: 0 / 0.9939 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007864/0.2442, allocations: 0.5749 MB / 0.9945 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2443, allocations: 0 / 0.9945 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009485/0.2452, allocations: 131.9 kB / 0.9946 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2452, allocations: 0 / 0.9946 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.2453, allocations: 15.95 kB / 0.9946 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2453, allocations: 0 / 0.9946 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2453, allocations: 4 kB / 0.9946 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2467, allocations: 0.6583 MB / 0.9953 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2468, allocations: 140.4 kB / 0.9954 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.247, allocations: 7.938 kB / 0.9954 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.2474, allocations: 35.94 kB / 0.9954 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.2475, allocations: 23.95 kB / 0.9955 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.2475, allocations: 12 kB / 0.9955 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004939/0.248, allocations: 343.1 kB / 0.9958 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.248, allocations: 0 / 0.9958 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005696/0.2486, allocations: 143.6 kB / 0.9959 GB, free: 9.832 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.2488, allocations: 119.3 kB / 0.9961 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008525/0.2496, allocations: 328.5 kB / 0.9964 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2496, allocations: 0 / 0.9964 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.2501, allocations: 187.8 kB / 0.9965 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.2509, allocations: 119.1 kB / 0.9967 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.2534, allocations: 1.439 MB / 0.9981 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.2538, allocations: 0.8785 MB / 0.9989 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.2541, allocations: 52.33 kB / 0.999 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2542, allocations: 39.44 kB / 0.999 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.2542, allocations: 0 / 0.999 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of Templates: time 0.01487/0.2691, allocations: 5.373 MB / 1.004 GB, free: 1.371 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)