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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006622/0.006622, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 196.6 kB / 16.67 MB, free: 5.52 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 251.7 MB / 0.5094 GB, free: 432 kB / 430.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.001482/0.001482, allocations: 71.91 kB / 0.7259 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7336, allocations: 104.7 MB / 0.8281 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002491/0.7361, allocations: 1.431 MB / 0.8295 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004507/0.7406, allocations: 2.94 MB / 0.8324 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.7407, allocations: 4 kB / 0.8324 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.7407, allocations: 7.922 kB / 0.8324 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.7408, allocations: 15.86 kB / 0.8324 GB, free: 14.18 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/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.0039/0.7447, allocations: 1.622 MB / 0.834 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.751e-05/0.7448, allocations: 39.75 kB / 0.834 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.7449, allocations: 3.984 kB / 0.834 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 2.773e-05/0.7449, allocations: 15.92 kB / 0.834 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 2.858e-05/0.7449, allocations: 19.88 kB / 0.8341 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.7449, allocations: 0 / 0.8341 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.747, allocations: 1.509 MB / 0.8355 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.747, allocations: 3.984 kB / 0.8355 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.747, allocations: 15.88 kB / 0.8356 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.7483, allocations: 1.094 MB / 0.8366 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7483, allocations: 0 / 0.8366 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7483, allocations: 0 / 0.8366 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7483, allocations: 4 kB / 0.8366 GB, free: 9.875 MB / 0.6387 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.0005831/0.7489, allocations: 0.503 MB / 0.8371 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.749, allocations: 8.031 kB / 0.8371 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.749, allocations: 92.12 kB / 0.8372 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.7492, allocations: 247.5 kB / 0.8375 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.7493, allocations: 154.9 kB / 0.8376 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.7493, allocations: 154.9 kB / 0.8377 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.763e-05/0.7494, allocations: 105.1 kB / 0.8378 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.7494, allocations: 79.28 kB / 0.8379 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.7495, allocations: 154.6 kB / 0.8381 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/0.7496, allocations: 154.5 kB / 0.8382 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.617e-05/0.7496, allocations: 150.6 kB / 0.8384 GB, free: 8 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.7499, allocations: 461.9 kB / 0.8388 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/0.75, allocations: 177.1 kB / 0.839 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.75, allocations: 84.14 kB / 0.8391 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.75, allocations: 75.28 kB / 0.8391 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.7501, allocations: 113.8 kB / 0.8392 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.7501, allocations: 0 / 0.8392 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 8.889e-05/0.7502, allocations: 33.61 kB / 0.8393 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.7503, allocations: 134.6 kB / 0.8394 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.7504, allocations: 137.1 kB / 0.8395 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.7504, allocations: 25.7 kB / 0.8395 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.7505, allocations: 88.12 kB / 0.8396 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.7505, allocations: 0 / 0.8396 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.7506, allocations: 17.72 kB / 0.8396 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7507, allocations: 318.8 kB / 0.84 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.7507, allocations: 12 kB / 0.84 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.7507, allocations: 3.938 kB / 0.84 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.7508, allocations: 12.86 kB / 0.84 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7508, allocations: 0 / 0.84 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.7509, allocations: 57.47 kB / 0.84 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.751, allocations: 8 kB / 0.84 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.751, allocations: 0 / 0.84 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.751, allocations: 48 / 0.84 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.751, allocations: 3.984 kB / 0.84 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.751, allocations: 4 kB / 0.8401 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.751, allocations: 4.062 kB / 0.8401 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.7511, allocations: 0 / 0.8401 GB, free: 6.133 MB / 0.6387 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 9.55e-05/0.7512, allocations: 186.2 kB / 0.8402 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.7512, allocations: 116.8 kB / 0.8403 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.7513, allocations: 112.8 kB / 0.8405 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/0.7513, allocations: 176.3 kB / 0.8406 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.407e-05/0.7514, allocations: 180.3 kB / 0.8408 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.472e-05/0.7515, allocations: 184.2 kB / 0.841 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.7517, allocations: 413.2 kB / 0.8414 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/0.7517, allocations: 108.9 kB / 0.8415 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.7517, allocations: 108.9 kB / 0.8416 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-05/0.7518, allocations: 176.3 kB / 0.8417 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.7519, allocations: 188.2 kB / 0.8419 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.725e-05/0.7519, allocations: 184.3 kB / 0.8421 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.638e-05/0.752, allocations: 184.2 kB / 0.8423 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.7521, allocations: 307.7 kB / 0.8426 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.7522, allocations: 194 kB / 0.8427 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.7523, allocations: 180.3 kB / 0.8429 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.7524, allocations: 104.9 kB / 0.843 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.7524, allocations: 176.3 kB / 0.8432 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.7525, allocations: 104.9 kB / 0.8433 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.7525, allocations: 107.2 kB / 0.8434 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7525, allocations: 4 kB / 0.8434 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006639/0.7532, allocations: 279.8 kB / 0.8437 GB, free: 2.211 MB / 0.6387 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.00104/0.7542, allocations: 0.5408 MB / 0.8442 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.7544, allocations: 41.69 kB / 0.8442 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7544, allocations: 4.062 kB / 0.8442 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.017e-06/0.7544, allocations: 4 kB / 0.8442 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.7548, allocations: 467.5 kB / 0.8447 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.7551, allocations: 236 kB / 0.8449 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.7554, allocations: 0.6846 MB / 0.8456 GB, free: 192 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.147e-05/0.7554, allocations: 0 / 0.8456 GB, free: 192 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/0.7554, allocations: 7.438 kB / 0.8456 GB, free: 184 kB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.7554, allocations: 4 kB / 0.8456 GB, free: 180 kB / 0.6387 GB Notification: Performance of Templates: time 0.009494/0.7649, allocations: 5.569 MB / 0.851 GB, free: 10.66 MB / 0.6544 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)