Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.00136/0.00136, allocations: 100.3 kB / 16.27 MB, free: 6.422 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.001365/0.001365, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.489/1.489, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.766/1.766, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001668/0.001668, allocations: 59.91 kB / 0.6722 GB, free: 6.461 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2623, allocations: 114.5 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002578/0.2649, allocations: 1.43 MB / 0.7855 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4954/0.7604, allocations: 2.932 MB / 0.7883 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.7605, allocations: 2.719 kB / 0.7883 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.7606, allocations: 3.844 kB / 0.7883 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.7607, allocations: 14.38 kB / 0.7884 GB, free: 45.88 MB / 0.6544 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 8.1.4-maint.8.1.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.004466/0.7652, allocations: 1.618 MB / 0.7899 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.7653, allocations: 39.56 kB / 0.79 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.7653, allocations: 3.125 kB / 0.79 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.7654, allocations: 17.73 kB / 0.79 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.7654, allocations: 18.75 kB / 0.79 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.7654, allocations: 6.25 kB / 0.79 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.7674, allocations: 1.437 MB / 0.7914 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.7674, allocations: 2.906 kB / 0.7914 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.7675, allocations: 21.94 kB / 0.7914 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.7688, allocations: 1.093 MB / 0.7925 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.7688, allocations: 6.281 kB / 0.7925 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7688, allocations: 0 / 0.7925 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7689, allocations: 0 / 0.7925 GB, free: 45.74 MB / 0.6544 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.000543/0.7694, allocations: 0.5089 MB / 0.793 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7695, allocations: 13.56 kB / 0.793 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.7695, allocations: 83.06 kB / 0.7931 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.7696, allocations: 250.9 kB / 0.7933 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.7697, allocations: 155.4 kB / 0.7935 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.7697, allocations: 156.2 kB / 0.7936 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.848e-05/0.7698, allocations: 109.4 kB / 0.7938 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.7698, allocations: 76.25 kB / 0.7938 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.7699, allocations: 150.6 kB / 0.794 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.7699, allocations: 155.4 kB / 0.7941 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.7699, allocations: 158 kB / 0.7943 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.7702, allocations: 459.8 kB / 0.7947 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/0.7702, allocations: 171.2 kB / 0.7949 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.7703, allocations: 82.02 kB / 0.7949 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.7703, allocations: 79.03 kB / 0.795 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.7703, allocations: 114.3 kB / 0.7951 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.803e-06/0.7703, allocations: 3.516 kB / 0.7951 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.309e-05/0.7704, allocations: 32.95 kB / 0.7952 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.7704, allocations: 127.3 kB / 0.7953 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.7706, allocations: 133.8 kB / 0.7954 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.7706, allocations: 25.7 kB / 0.7954 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.7706, allocations: 92.98 kB / 0.7955 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.7706, allocations: 3.094 kB / 0.7955 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.7707, allocations: 17.03 kB / 0.7955 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.7707, allocations: 317.4 kB / 0.7958 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.7708, allocations: 7.344 kB / 0.7959 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.7708, allocations: 5 kB / 0.7959 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.7708, allocations: 11.3 kB / 0.7959 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7708, allocations: 3.406 kB / 0.7959 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001259/0.771, allocations: 55.92 kB / 0.7959 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.771, allocations: 6.969 kB / 0.7959 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.771, allocations: 3.719 kB / 0.7959 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.771, allocations: 0 / 0.7959 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.771, allocations: 1.406 kB / 0.7959 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.771, allocations: 0 / 0.7959 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.7711, allocations: 0 / 0.7959 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.7711, allocations: 3.656 kB / 0.7959 GB, free: 42.3 MB / 0.6544 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.457e-05/0.7712, allocations: 190.6 kB / 0.7961 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.7712, allocations: 115.6 kB / 0.7962 GB, free: 42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.7713, allocations: 112 kB / 0.7963 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.7713, allocations: 186.3 kB / 0.7965 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.282e-05/0.7713, allocations: 179.3 kB / 0.7967 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.409e-05/0.7714, allocations: 186.9 kB / 0.7969 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.7715, allocations: 410.1 kB / 0.7973 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.7715, allocations: 110.2 kB / 0.7974 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.7716, allocations: 112.5 kB / 0.7975 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.619e-05/0.7716, allocations: 180.3 kB / 0.7976 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.7716, allocations: 177.5 kB / 0.7978 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.994e-05/0.7717, allocations: 185.9 kB / 0.798 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-05/0.7717, allocations: 179.1 kB / 0.7982 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.112e-05/0.7718, allocations: 309.4 kB / 0.7985 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.7718, allocations: 195.1 kB / 0.7986 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.7719, allocations: 182.5 kB / 0.7988 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.693e-05/0.7719, allocations: 104.5 kB / 0.7989 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.772, allocations: 179.4 kB / 0.7991 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.772, allocations: 105.1 kB / 0.7992 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.7721, allocations: 105.1 kB / 0.7993 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7721, allocations: 0 / 0.7993 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000648/0.7727, allocations: 282.4 kB / 0.7996 GB, free: 38.75 MB / 0.6544 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.001082/0.7738, allocations: 0.5409 MB / 0.8001 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.7739, allocations: 44.14 kB / 0.8001 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7739, allocations: 0 / 0.8001 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.7739, allocations: 0 / 0.8001 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.7743, allocations: 465.9 kB / 0.8006 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.7746, allocations: 269.1 kB / 0.8008 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.7747, allocations: 0.6822 MB / 0.8015 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.7748, allocations: 9.406 kB / 0.8015 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7748, allocations: 0 / 0.8015 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.01066/0.7854, allocations: 4.716 MB / 0.8061 GB, free: 36.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)