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.466/1.466, allocations: 252 MB / 268 MB, free: 10.86 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.001152/0.001152, allocations: 171.9 kB / 327.6 MB, free: 2.109 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.908/1.908, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007764/0.0007765, allocations: 85.03 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.000411, allocations: 8.156 kB / 0.7977 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2552, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00166/0.2569, allocations: 1.158 MB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004295/0.2612, allocations: 2.994 MB / 0.9056 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.2613, allocations: 0 / 0.9056 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.2613, allocations: 3.984 kB / 0.9056 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.2614, allocations: 11.88 kB / 0.9056 GB, free: 59.27 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.003955/0.2654, allocations: 1.43 MB / 0.907 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.2655, allocations: 39.73 kB / 0.907 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.2655, allocations: 7.938 kB / 0.907 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.2656, allocations: 11.94 kB / 0.907 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.705e-05/0.2656, allocations: 15.92 kB / 0.9071 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2656, allocations: 4 kB / 0.9071 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.2679, allocations: 1.435 MB / 0.9085 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.2679, allocations: 3.938 kB / 0.9085 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.268, allocations: 49.56 kB / 0.9085 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.2693, allocations: 0.7801 MB / 0.9093 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2693, allocations: 0 / 0.9093 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2693, allocations: 0 / 0.9093 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2693, allocations: 3.938 kB / 0.9093 GB, free: 55.5 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.0007221/0.27, allocations: 0.5146 MB / 0.9098 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2701, allocations: 8.031 kB / 0.9098 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.2701, allocations: 76.22 kB / 0.9099 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2702, allocations: 247.6 kB / 0.9101 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.2703, allocations: 154.9 kB / 0.9102 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.2703, allocations: 150.9 kB / 0.9104 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.145e-05/0.2704, allocations: 105.1 kB / 0.9105 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.2704, allocations: 75.28 kB / 0.9106 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.2705, allocations: 154.5 kB / 0.9107 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.2705, allocations: 150.6 kB / 0.9108 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.2705, allocations: 166.5 kB / 0.911 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.2708, allocations: 461.8 kB / 0.9114 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.2708, allocations: 177.1 kB / 0.9116 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.2708, allocations: 80.14 kB / 0.9117 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.2709, allocations: 83.22 kB / 0.9118 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2709, allocations: 109.8 kB / 0.9119 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.2709, allocations: 0 / 0.9119 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.657e-05/0.271, allocations: 29.7 kB / 0.9119 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.271, allocations: 126.7 kB / 0.912 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.2712, allocations: 129.8 kB / 0.9121 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.2712, allocations: 25.7 kB / 0.9122 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.2712, allocations: 100 kB / 0.9123 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.2712, allocations: 0 / 0.9123 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.2712, allocations: 0 / 0.9123 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.2713, allocations: 314.8 kB / 0.9126 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.2713, allocations: 4 kB / 0.9126 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.2714, allocations: 11.94 kB / 0.9126 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.2714, allocations: 16.88 kB / 0.9126 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2714, allocations: 0 / 0.9126 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.2715, allocations: 53.67 kB / 0.9127 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2716, allocations: 6.344 kB / 0.9127 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.2716, allocations: 4 kB / 0.9127 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2716, allocations: 3.938 kB / 0.9127 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.2716, allocations: 0 / 0.9127 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2716, allocations: 0 / 0.9127 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.2716, allocations: 7.891 kB / 0.9127 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2717, allocations: 4 kB / 0.9127 GB, free: 51.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.2717, allocations: 181.1 kB / 0.9129 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.2718, allocations: 116.9 kB / 0.913 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.2718, allocations: 108.9 kB / 0.9131 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/0.2719, allocations: 184.2 kB / 0.9132 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-05/0.2719, allocations: 184.2 kB / 0.9134 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.094e-05/0.2719, allocations: 176.3 kB / 0.9136 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2721, allocations: 421.2 kB / 0.914 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.2721, allocations: 104.9 kB / 0.9141 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.2721, allocations: 109.1 kB / 0.9142 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.994e-05/0.2722, allocations: 180.3 kB / 0.9144 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.2722, allocations: 180.3 kB / 0.9145 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.904e-05/0.2722, allocations: 184.2 kB / 0.9147 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-05/0.2723, allocations: 180.3 kB / 0.9149 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.033e-05/0.2724, allocations: 311.7 kB / 0.9152 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.2724, allocations: 193.9 kB / 0.9154 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.2725, allocations: 180.3 kB / 0.9155 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.2725, allocations: 109 kB / 0.9156 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.2726, allocations: 188.2 kB / 0.9158 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2726, allocations: 101 kB / 0.9159 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.2727, allocations: 95.27 kB / 0.916 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2727, allocations: 0 / 0.916 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007728/0.2734, allocations: 283.8 kB / 0.9163 GB, free: 47.87 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 (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.001294/0.2747, allocations: 0.546 MB / 0.9168 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.782e-05/0.2748, allocations: 41.64 kB / 0.9169 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2749, allocations: 0 / 0.9169 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-06/0.2749, allocations: 0 / 0.9169 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.2752, allocations: 0.5363 MB / 0.9174 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.2755, allocations: 279.4 kB / 0.9176 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2756, allocations: 0.6848 MB / 0.9183 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.2757, allocations: 11.38 kB / 0.9183 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2757, allocations: 0 / 0.9183 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.008749/0.2844, allocations: 4.711 MB / 0.9229 GB, free: 41.01 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)