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.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001047, allocations: 186.6 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 0.5783 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008423/0.0008424, allocations: 86.36 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003918, allocations: 10.75 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2573, allocations: 106.3 MB / 0.9009 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002079/0.2594, allocations: 1.146 MB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005762/0.2652, allocations: 2.711 MB / 0.9046 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.2653, allocations: 0 / 0.9046 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.2653, allocations: 11.92 kB / 0.9047 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.567e-05/0.2654, allocations: 11.92 kB / 0.9047 GB, free: 60.29 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.005268/0.2707, allocations: 1.299 MB / 0.9059 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.2709, allocations: 39.73 kB / 0.906 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.2709, allocations: 3.938 kB / 0.906 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.271, allocations: 11.94 kB / 0.906 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.271, allocations: 23.86 kB / 0.906 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.2711, allocations: 4 kB / 0.906 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.2738, allocations: 1.225 MB / 0.9072 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.2738, allocations: 7.938 kB / 0.9072 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.2739, allocations: 29.7 kB / 0.9073 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.2751, allocations: 0.6982 MB / 0.9079 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2752, allocations: 3.938 kB / 0.9079 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2752, allocations: 0 / 0.9079 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2752, allocations: 0 / 0.9079 GB, free: 56.96 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006556/0.2759, allocations: 0.5184 MB / 0.9084 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2759, allocations: 8.031 kB / 0.9084 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.276, allocations: 83.23 kB / 0.9085 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2761, allocations: 246.2 kB / 0.9088 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.2762, allocations: 150.6 kB / 0.9089 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.2763, allocations: 150.6 kB / 0.9091 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.829e-05/0.2763, allocations: 109 kB / 0.9092 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2764, allocations: 75.28 kB / 0.9092 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.2764, allocations: 158.5 kB / 0.9094 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.2764, allocations: 154.5 kB / 0.9095 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.036e-05/0.2765, allocations: 150.6 kB / 0.9097 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.2768, allocations: 473.8 kB / 0.9101 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.016e-05/0.2768, allocations: 169.1 kB / 0.9103 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.2769, allocations: 80.14 kB / 0.9104 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2769, allocations: 75.28 kB / 0.9104 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2769, allocations: 113.8 kB / 0.9105 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.2769, allocations: 4 kB / 0.9105 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.026e-05/0.277, allocations: 29.61 kB / 0.9106 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2771, allocations: 126.7 kB / 0.9107 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2773, allocations: 130 kB / 0.9108 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.2773, allocations: 25.7 kB / 0.9108 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.2773, allocations: 92.14 kB / 0.9109 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-06/0.2774, allocations: 0 / 0.9109 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.2774, allocations: 0 / 0.9109 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.2774, allocations: 326.8 kB / 0.9112 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.2775, allocations: 4 kB / 0.9112 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.2775, allocations: 4 kB / 0.9112 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.2776, allocations: 7.938 kB / 0.9113 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2776, allocations: 0 / 0.9113 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001674/0.2778, allocations: 53.59 kB / 0.9113 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2778, allocations: 6.812 kB / 0.9113 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.2779, allocations: 4 kB / 0.9113 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2779, allocations: 0 / 0.9113 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.2779, allocations: 0 / 0.9113 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2779, allocations: 4.062 kB / 0.9113 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.278, allocations: 0 / 0.9113 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.278, allocations: 0 / 0.9113 GB, free: 53.27 MB / 0.6042 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.54e-05/0.2781, allocations: 193.1 kB / 0.9115 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.2782, allocations: 116.8 kB / 0.9116 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.2782, allocations: 116.7 kB / 0.9117 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/0.2783, allocations: 176.3 kB / 0.9119 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.404e-05/0.2783, allocations: 192.2 kB / 0.9121 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.582e-05/0.2784, allocations: 180.3 kB / 0.9123 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.2786, allocations: 417.1 kB / 0.9126 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/0.2787, allocations: 105 kB / 0.9127 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.2787, allocations: 101 kB / 0.9128 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.971e-05/0.2788, allocations: 188.2 kB / 0.913 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.2788, allocations: 176.3 kB / 0.9132 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.569e-05/0.2789, allocations: 184.2 kB / 0.9134 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-05/0.2789, allocations: 176.3 kB / 0.9135 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.852e-05/0.279, allocations: 315.7 kB / 0.9138 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.2791, allocations: 186 kB / 0.914 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.2792, allocations: 184.2 kB / 0.9142 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2793, allocations: 101 kB / 0.9143 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.2793, allocations: 184.5 kB / 0.9145 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.2794, allocations: 105 kB / 0.9146 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.2794, allocations: 99.27 kB / 0.9147 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2795, allocations: 0 / 0.9147 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001003/0.2805, allocations: 275.8 kB / 0.9149 GB, free: 49.35 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.00139/0.2819, allocations: 0.5268 MB / 0.9154 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.282, allocations: 33.7 kB / 0.9155 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.282, allocations: 0 / 0.9155 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.2821, allocations: 12 kB / 0.9155 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.2826, allocations: 0.5362 MB / 0.916 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.2829, allocations: 273.3 kB / 0.9163 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.2831, allocations: 0.6848 MB / 0.9169 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.2831, allocations: 11.44 kB / 0.9169 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2831, allocations: 0 / 0.9169 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.01124/0.2944, allocations: 4.701 MB / 0.9215 GB, free: 42.52 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)