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.001297/0.001297, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 199.2 kB / 16.64 MB, free: 6.453 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.404/1.404, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.711/1.711, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001401/0.001401, allocations: 69.56 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2136, allocations: 114.6 MB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005519/0.2192, allocations: 4.158 MB / 0.7882 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003271/0.2225, allocations: 2.457 MB / 0.7906 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.2228, allocations: 12 kB / 0.7906 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.2243, allocations: 0.5352 MB / 0.7912 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.2249, allocations: 246 kB / 0.7914 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.2251, allocations: 131.9 kB / 0.7915 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008815/0.226, allocations: 0.8175 MB / 0.7923 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005041/0.2265, allocations: 326.5 kB / 0.7926 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.2269, allocations: 287 kB / 0.7929 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.2273, allocations: 330.6 kB / 0.7932 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-05/0.2274, allocations: 76 kB / 0.7933 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.2275, allocations: 72 kB / 0.7934 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.2277, allocations: 175.4 kB / 0.7935 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.228, allocations: 378.3 kB / 0.7939 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009036/0.2289, allocations: 1.004 MB / 0.7949 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.229, allocations: 0 / 0.7949 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.415e-06/0.229, allocations: 0 / 0.7949 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.229, allocations: 4 kB / 0.7949 GB, free: 1.68 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.001526/0.2305, allocations: 0.9424 MB / 0.7958 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2306, allocations: 11.97 kB / 0.7958 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2307, allocations: 76 kB / 0.7959 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.2313, allocations: 461.6 kB / 0.7963 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.2313, allocations: 37.38 kB / 0.7964 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.2314, allocations: 52.36 kB / 0.7964 GB, free: 24 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.2322, allocations: 434.8 kB / 0.7968 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.2322, allocations: 3.938 kB / 0.7968 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.2322, allocations: 20 kB / 0.7968 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2323, allocations: 12 kB / 0.7969 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.2329, allocations: 363.8 kB / 0.7972 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.2349, allocations: 1.52 MB / 0.7987 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.2354, allocations: 339 kB / 0.799 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.2358, allocations: 324.7 kB / 0.7993 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.2359, allocations: 11.98 kB / 0.7993 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2359, allocations: 38.5 kB / 0.7994 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.523e-06/0.2359, allocations: 0 / 0.7994 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0009005/0.2368, allocations: 497.6 kB / 0.7998 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2369, allocations: 59.41 kB / 0.7999 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.2375, allocations: 485.9 kB / 0.8004 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.2375, allocations: 33.7 kB / 0.8004 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.2377, allocations: 281.1 kB / 0.8007 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.2378, allocations: 141.9 kB / 0.8008 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.238, allocations: 70 kB / 0.8009 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2381, allocations: 358.8 kB / 0.8012 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.2384, allocations: 124.7 kB / 0.8013 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.2386, allocations: 129.2 kB / 0.8015 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.2391, allocations: 294.2 kB / 0.8017 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2391, allocations: 3.938 kB / 0.8017 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006191/0.2398, allocations: 392.5 kB / 0.8021 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2398, allocations: 8 kB / 0.8021 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2398, allocations: 0 / 0.8021 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2398, allocations: 0 / 0.8021 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.2403, allocations: 131.8 kB / 0.8022 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2403, allocations: 4 kB / 0.8022 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.2406, allocations: 35.58 kB / 0.8023 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.2406, allocations: 12 kB / 0.8023 GB, free: 9.824 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.0002397/0.2408, allocations: 197.8 kB / 0.8025 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.2409, allocations: 55.28 kB / 0.8025 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.241, allocations: 57.11 kB / 0.8026 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.2411, allocations: 11.98 kB / 0.8026 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2411, allocations: 4 kB / 0.8026 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2411, allocations: 0 / 0.8026 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.2417, allocations: 0.571 MB / 0.8032 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2417, allocations: 4 kB / 0.8032 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.2422, allocations: 127.8 kB / 0.8033 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2422, allocations: 0 / 0.8033 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.2423, allocations: 8 kB / 0.8033 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.2423, allocations: 4 kB / 0.8033 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2423, allocations: 4 kB / 0.8033 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/0.2432, allocations: 0.6441 MB / 0.8039 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2434, allocations: 144.3 kB / 0.8041 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.2434, allocations: 12 kB / 0.8041 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2437, allocations: 11.98 kB / 0.8041 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.654e-05/0.2437, allocations: 31.91 kB / 0.8041 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2438, allocations: 8 kB / 0.8041 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003811/0.2441, allocations: 355.1 kB / 0.8045 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2441, allocations: 0 / 0.8045 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003833/0.2445, allocations: 139.7 kB / 0.8046 GB, free: 7.367 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.0001418/0.2447, allocations: 111.2 kB / 0.8047 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005875/0.2453, allocations: 328.1 kB / 0.805 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2453, allocations: 0 / 0.805 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.2456, allocations: 187.5 kB / 0.8052 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.2462, allocations: 124.8 kB / 0.8053 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.248, allocations: 1.194 MB / 0.8065 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.2484, allocations: 0.8704 MB / 0.8073 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.2486, allocations: 52.38 kB / 0.8074 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.2487, allocations: 35.44 kB / 0.8074 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2487, allocations: 0 / 0.8074 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of Templates: time 0.01057/0.2593, allocations: 5.923 MB / 0.8132 GB, free: 14.62 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)