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.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 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.001202/0.001203, allocations: 191 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.668/1.668, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001502/0.001503, allocations: 74.53 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.251, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00569/0.2568, allocations: 4.148 MB / 0.7874 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.2605, allocations: 2.465 MB / 0.7899 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/0.2609, allocations: 8 kB / 0.7899 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.2626, allocations: 0.5402 MB / 0.7904 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.2631, allocations: 242 kB / 0.7906 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2634, allocations: 139.9 kB / 0.7908 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007184/0.2641, allocations: 0.8168 MB / 0.7916 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004099/0.2645, allocations: 318.5 kB / 0.7919 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.2648, allocations: 291 kB / 0.7921 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.2652, allocations: 322.6 kB / 0.7924 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/0.2652, allocations: 76 kB / 0.7925 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2654, allocations: 76 kB / 0.7926 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.2655, allocations: 167.4 kB / 0.7927 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.2659, allocations: 398.2 kB / 0.7931 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.2666, allocations: 0.985 MB / 0.7941 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2666, allocations: 0 / 0.7941 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2666, allocations: 0 / 0.7941 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.2667, allocations: 0 / 0.7941 GB, free: 2.453 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.001343/0.268, allocations: 0.9463 MB / 0.795 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.268, allocations: 11.97 kB / 0.795 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2682, allocations: 76 kB / 0.7951 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/0.2687, allocations: 461.6 kB / 0.7955 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.2687, allocations: 41.38 kB / 0.7956 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.2688, allocations: 48.38 kB / 0.7956 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006901/0.2695, allocations: 426.8 kB / 0.796 GB, free: 380 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2695, allocations: 7.922 kB / 0.796 GB, free: 372 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.2696, allocations: 20 kB / 0.7961 GB, free: 352 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2696, allocations: 12 kB / 0.7961 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.2703, allocations: 367.8 kB / 0.7964 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.2723, allocations: 1.528 MB / 0.7979 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.2728, allocations: 351.4 kB / 0.7982 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.2733, allocations: 324.4 kB / 0.7986 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2733, allocations: 4 kB / 0.7986 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.2733, allocations: 42.5 kB / 0.7986 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.753e-06/0.2734, allocations: 0 / 0.7986 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0009232/0.2743, allocations: 0.4977 MB / 0.7991 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.2743, allocations: 55.41 kB / 0.7991 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.2749, allocations: 485.9 kB / 0.7996 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.2749, allocations: 29.7 kB / 0.7996 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.2751, allocations: 280.3 kB / 0.7999 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.2752, allocations: 145.8 kB / 0.8 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.2753, allocations: 66.02 kB / 0.8001 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2755, allocations: 362.8 kB / 0.8004 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.2757, allocations: 120.7 kB / 0.8006 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.2759, allocations: 129.2 kB / 0.8007 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.2765, allocations: 294.2 kB / 0.801 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2765, allocations: 0 / 0.801 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006252/0.2771, allocations: 396.5 kB / 0.8013 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2771, allocations: 4 kB / 0.8013 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2771, allocations: 0 / 0.8013 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2772, allocations: 0 / 0.8013 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.2776, allocations: 127.8 kB / 0.8015 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2777, allocations: 4 kB / 0.8015 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.2779, allocations: 43.58 kB / 0.8015 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2779, allocations: 12 kB / 0.8015 GB, free: 10.58 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.0001952/0.2781, allocations: 194.4 kB / 0.8017 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.2782, allocations: 59.27 kB / 0.8018 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2783, allocations: 57.11 kB / 0.8018 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2783, allocations: 8 kB / 0.8018 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2783, allocations: 0 / 0.8018 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2783, allocations: 3.984 kB / 0.8018 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.279, allocations: 0.5713 MB / 0.8024 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.279, allocations: 0 / 0.8024 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.2795, allocations: 131.8 kB / 0.8025 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.2795, allocations: 0 / 0.8025 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2795, allocations: 12 kB / 0.8025 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2795, allocations: 0 / 0.8025 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2795, allocations: 0 / 0.8025 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.2805, allocations: 0.6557 MB / 0.8032 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.2806, allocations: 140.3 kB / 0.8033 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.2807, allocations: 12 kB / 0.8033 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.2809, allocations: 15.98 kB / 0.8033 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.281, allocations: 19.97 kB / 0.8033 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.281, allocations: 15.94 kB / 0.8034 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003767/0.2814, allocations: 351.1 kB / 0.8037 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2814, allocations: 0 / 0.8037 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003825/0.2818, allocations: 135.7 kB / 0.8038 GB, free: 8.129 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.0001402/0.282, allocations: 123.2 kB / 0.8039 GB, free: 8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007038/0.2827, allocations: 344 kB / 0.8043 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2827, allocations: 0 / 0.8043 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.283, allocations: 183.6 kB / 0.8044 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.2837, allocations: 130.5 kB / 0.8046 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.2856, allocations: 1.21 MB / 0.8058 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.286, allocations: 0.8704 MB / 0.8066 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000191/0.2862, allocations: 52.38 kB / 0.8067 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.2863, allocations: 35.44 kB / 0.8067 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.2863, allocations: 3.938 kB / 0.8067 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of Templates: time 0.01114/0.2975, allocations: 5.92 MB / 0.8125 GB, free: 15.35 MB / 0.6388 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)