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.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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007952/0.007952, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.001542/0.001542, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.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.567/1.567, allocations: 251.7 MB / 0.5094 GB, free: 3.078 MB / 414.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.001449/0.001449, allocations: 63.91 kB / 0.7259 GB, free: 9.102 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2529, allocations: 104.7 MB / 0.8281 GB, free: 296 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002852/0.2558, allocations: 1.444 MB / 0.8295 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004691/0.2605, allocations: 2.981 MB / 0.8324 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.2606, allocations: 0 / 0.8324 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.2607, allocations: 3.938 kB / 0.8324 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.856e-05/0.2607, allocations: 19.86 kB / 0.8325 GB, free: 11.82 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 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.2653, allocations: 1.648 MB / 0.8341 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2654, allocations: 43.72 kB / 0.8341 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.2655, allocations: 7.906 kB / 0.8341 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.2655, allocations: 15.92 kB / 0.8341 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.2656, allocations: 19.88 kB / 0.8342 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2656, allocations: 0 / 0.8342 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.2681, allocations: 1.552 MB / 0.8357 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.2681, allocations: 0 / 0.8357 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.2682, allocations: 19.88 kB / 0.8357 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.2697, allocations: 1.119 MB / 0.8368 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2697, allocations: 7.984 kB / 0.8368 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2697, allocations: 0 / 0.8368 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2697, allocations: 0 / 0.8368 GB, free: 7.395 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.0006808/0.2704, allocations: 0.5107 MB / 0.8373 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2705, allocations: 12.03 kB / 0.8373 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.2705, allocations: 84.12 kB / 0.8374 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.2707, allocations: 255.5 kB / 0.8376 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.2708, allocations: 154.9 kB / 0.8378 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.2709, allocations: 158.9 kB / 0.8379 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.914e-05/0.271, allocations: 109.1 kB / 0.838 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.271, allocations: 75.28 kB / 0.8381 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.2711, allocations: 154.6 kB / 0.8383 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.2711, allocations: 150.6 kB / 0.8384 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/0.2712, allocations: 154.6 kB / 0.8385 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2715, allocations: 461.9 kB / 0.839 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.278e-05/0.2716, allocations: 173.1 kB / 0.8391 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.2717, allocations: 80.14 kB / 0.8392 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.2717, allocations: 75.28 kB / 0.8393 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.2718, allocations: 117.8 kB / 0.8394 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2718, allocations: 0 / 0.8394 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.21e-05/0.2719, allocations: 37.55 kB / 0.8394 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.2719, allocations: 130.7 kB / 0.8396 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.2721, allocations: 136.6 kB / 0.8397 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2721, allocations: 33.64 kB / 0.8397 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.2722, allocations: 84.14 kB / 0.8398 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.2722, allocations: 0 / 0.8398 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.2722, allocations: 21.72 kB / 0.8398 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2723, allocations: 314.8 kB / 0.8401 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.2724, allocations: 8 kB / 0.8401 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.2724, allocations: 8 kB / 0.8401 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.2724, allocations: 12.86 kB / 0.8402 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2724, allocations: 0 / 0.8402 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001377/0.2726, allocations: 61.47 kB / 0.8402 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2726, allocations: 4 kB / 0.8402 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.2726, allocations: 4 kB / 0.8402 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2727, allocations: 3.938 kB / 0.8402 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.2727, allocations: 0 / 0.8402 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2727, allocations: 0 / 0.8402 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.2727, allocations: 8.062 kB / 0.8402 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2727, allocations: 0 / 0.8402 GB, free: 3.633 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 0.0001034/0.2728, allocations: 185.1 kB / 0.8404 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.2729, allocations: 116.8 kB / 0.8405 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.257e-05/0.273, allocations: 112.8 kB / 0.8406 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.667e-05/0.2731, allocations: 176.3 kB / 0.8408 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.276e-05/0.2731, allocations: 184.2 kB / 0.841 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-05/0.2732, allocations: 180.2 kB / 0.8411 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.2735, allocations: 413.2 kB / 0.8415 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.661e-05/0.2735, allocations: 112.8 kB / 0.8416 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.2735, allocations: 105 kB / 0.8417 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.604e-05/0.2736, allocations: 184.2 kB / 0.8419 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.691e-05/0.2737, allocations: 184.3 kB / 0.8421 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-05/0.2738, allocations: 184.3 kB / 0.8423 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.435e-05/0.2738, allocations: 184.2 kB / 0.8425 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.274, allocations: 307.7 kB / 0.8427 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.2741, allocations: 193.9 kB / 0.8429 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.313e-05/0.2742, allocations: 180.3 kB / 0.8431 GB, free: 496 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.2743, allocations: 104.9 kB / 0.8432 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.2743, allocations: 176.3 kB / 0.8434 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.2744, allocations: 112.9 kB / 0.8435 GB, free: 80 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.2745, allocations: 99.27 kB / 0.8436 GB, free: 15.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2745, allocations: 4 kB / 0.8436 GB, free: 15.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008844/0.2754, allocations: 283.8 kB / 0.8438 GB, free: 15.7 MB / 0.67 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.001156/0.2765, allocations: 0.5517 MB / 0.8444 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.2766, allocations: 41.7 kB / 0.8444 GB, free: 15.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2767, allocations: 0 / 0.8444 GB, free: 15.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.2767, allocations: 4.344 kB / 0.8444 GB, free: 15.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.2771, allocations: 467.6 kB / 0.8449 GB, free: 14.64 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.2775, allocations: 240.2 kB / 0.8451 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.2777, allocations: 0.6883 MB / 0.8458 GB, free: 13.66 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 1.377e-05/0.2778, allocations: 0 / 0.8458 GB, free: 13.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.2778, allocations: 11.44 kB / 0.8458 GB, free: 13.65 MB / 0.67 GB Notification: Performance of SimCode: time 3e-07/0.2778, allocations: 0 / 0.8458 GB, free: 13.65 MB / 0.67 GB Notification: Performance of Templates: time 0.01027/0.2881, allocations: 5.735 MB / 0.8514 GB, free: 7.969 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)