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.006982/0.006982, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001155/0.001155, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.603/1.603, allocations: 251.7 MB / 0.5094 GB, free: 3.09 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.00149/0.00149, allocations: 75.83 kB / 0.7259 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2694, allocations: 104.7 MB / 0.8281 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002605/0.272, allocations: 1.438 MB / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004382/0.2764, allocations: 2.988 MB / 0.8324 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.2765, allocations: 4 kB / 0.8324 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.2765, allocations: 7.922 kB / 0.8325 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.37e-05/0.2766, allocations: 19.8 kB / 0.8325 GB, free: 11.78 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.00397/0.2806, allocations: 1.65 MB / 0.8341 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2807, allocations: 43.73 kB / 0.8341 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.2808, allocations: 3.906 kB / 0.8341 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.018e-05/0.2808, allocations: 11.94 kB / 0.8341 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.013e-05/0.2808, allocations: 23.86 kB / 0.8342 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.2809, allocations: 8 kB / 0.8342 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.283, allocations: 1.544 MB / 0.8357 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.283, allocations: 4 kB / 0.8357 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.283, allocations: 15.88 kB / 0.8357 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.2845, allocations: 1.127 MB / 0.8368 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2845, allocations: 0 / 0.8368 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2845, allocations: 0 / 0.8368 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.2845, allocations: 0 / 0.8368 GB, free: 7.359 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.0006134/0.2851, allocations: 0.5212 MB / 0.8373 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2852, allocations: 8.031 kB / 0.8373 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.2852, allocations: 84.12 kB / 0.8374 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.2854, allocations: 255.5 kB / 0.8376 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.2855, allocations: 150.9 kB / 0.8378 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.2855, allocations: 150.9 kB / 0.8379 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.341e-05/0.2856, allocations: 121 kB / 0.838 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.2857, allocations: 75.28 kB / 0.8381 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/0.2857, allocations: 150.6 kB / 0.8383 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-05/0.2858, allocations: 150.6 kB / 0.8384 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.2859, allocations: 150.6 kB / 0.8385 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.2862, allocations: 465.9 kB / 0.839 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.2863, allocations: 173.1 kB / 0.8392 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.2863, allocations: 84.08 kB / 0.8392 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.2864, allocations: 75.28 kB / 0.8393 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.2864, allocations: 117.8 kB / 0.8394 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2864, allocations: 4 kB / 0.8394 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.221e-05/0.2865, allocations: 29.61 kB / 0.8394 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.2866, allocations: 130.7 kB / 0.8396 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2867, allocations: 132.5 kB / 0.8397 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2867, allocations: 25.7 kB / 0.8397 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.2868, allocations: 96.06 kB / 0.8398 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/0.2868, allocations: 0 / 0.8398 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.2868, allocations: 17.72 kB / 0.8398 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.287, allocations: 322.8 kB / 0.8401 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.287, allocations: 3.984 kB / 0.8401 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.54e-05/0.287, allocations: 4 kB / 0.8401 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.2871, allocations: 16.92 kB / 0.8402 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2871, allocations: 4 kB / 0.8402 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001295/0.2872, allocations: 49.55 kB / 0.8402 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2872, allocations: 8 kB / 0.8402 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.2873, allocations: 7.984 kB / 0.8402 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2873, allocations: 0 / 0.8402 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-06/0.2873, allocations: 4.062 kB / 0.8402 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2873, allocations: 3.938 kB / 0.8402 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.2873, allocations: 3.938 kB / 0.8402 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.2873, allocations: 4 kB / 0.8402 GB, free: 3.594 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 9.995e-05/0.2874, allocations: 185.1 kB / 0.8404 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.2875, allocations: 112.8 kB / 0.8405 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.2876, allocations: 108.8 kB / 0.8406 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-05/0.2877, allocations: 184.2 kB / 0.8408 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.951e-05/0.2877, allocations: 180.3 kB / 0.841 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-05/0.2878, allocations: 184.2 kB / 0.8412 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.2881, allocations: 409.2 kB / 0.8415 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.185e-05/0.2882, allocations: 108.9 kB / 0.8417 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.2882, allocations: 104.9 kB / 0.8418 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-05/0.2883, allocations: 180.3 kB / 0.8419 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-05/0.2884, allocations: 192.2 kB / 0.8421 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.944e-05/0.2885, allocations: 176.3 kB / 0.8423 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.948e-05/0.2886, allocations: 180.2 kB / 0.8424 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.2887, allocations: 311.7 kB / 0.8427 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.2888, allocations: 193.9 kB / 0.8429 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.2889, allocations: 180.2 kB / 0.8431 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.289, allocations: 104.9 kB / 0.8432 GB, free: 356 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.2891, allocations: 180.3 kB / 0.8434 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.2891, allocations: 108.9 kB / 0.8435 GB, free: 52 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.361e-05/0.2892, allocations: 99.27 kB / 0.8436 GB, free: 15.95 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2892, allocations: 0 / 0.8436 GB, free: 15.95 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007957/0.29, allocations: 283.8 kB / 0.8438 GB, free: 15.68 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.001096/0.2911, allocations: 0.5681 MB / 0.8444 GB, free: 15.11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.2913, allocations: 41.69 kB / 0.8444 GB, free: 15.06 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2913, allocations: 0 / 0.8444 GB, free: 15.06 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.2913, allocations: 352 / 0.8444 GB, free: 15.06 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.2917, allocations: 463.6 kB / 0.8449 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.2921, allocations: 244.2 kB / 0.8451 GB, free: 14.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.2924, allocations: 0.6844 MB / 0.8458 GB, free: 13.63 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 1.21e-05/0.2924, allocations: 0 / 0.8458 GB, free: 13.63 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.2924, allocations: 7.438 kB / 0.8458 GB, free: 13.62 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.2924, allocations: 0 / 0.8458 GB, free: 13.62 MB / 0.67 GB Notification: Performance of Templates: time 0.01022/0.3027, allocations: 5.726 MB / 0.8514 GB, free: 7.941 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)