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.006502/0.006502, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001312/0.001312, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.539/1.539, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.565/1.565, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.001467/0.001467, allocations: 70.25 kB / 0.7259 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2655, allocations: 104.7 MB / 0.8281 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003201/0.2688, allocations: 1.434 MB / 0.8295 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005039/0.2739, allocations: 2.992 MB / 0.8324 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.274, allocations: 0 / 0.8324 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.274, allocations: 3.938 kB / 0.8325 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.367e-05/0.2741, allocations: 19.84 kB / 0.8325 GB, free: 11.73 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.004214/0.2784, allocations: 1.65 MB / 0.8341 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2785, allocations: 35.73 kB / 0.8341 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.2785, allocations: 11.91 kB / 0.8341 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.2786, allocations: 15.92 kB / 0.8341 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.939e-05/0.2786, allocations: 15.88 kB / 0.8342 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.968e-06/0.2786, allocations: 0 / 0.8342 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.2809, allocations: 1.552 MB / 0.8357 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.2809, allocations: 11.98 kB / 0.8357 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.2809, allocations: 19.88 kB / 0.8357 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.2823, allocations: 1.119 MB / 0.8368 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2823, allocations: 0 / 0.8368 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2824, allocations: 0 / 0.8368 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2824, allocations: 0 / 0.8368 GB, free: 7.309 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.0006701/0.283, allocations: 0.5224 MB / 0.8373 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2831, allocations: 8.031 kB / 0.8373 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.2832, allocations: 84.12 kB / 0.8374 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2834, allocations: 251.5 kB / 0.8376 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.2834, allocations: 150.9 kB / 0.8378 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.2835, allocations: 150.9 kB / 0.8379 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.798e-05/0.2836, allocations: 113 kB / 0.838 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.2836, allocations: 75.28 kB / 0.8381 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.2837, allocations: 162.5 kB / 0.8383 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.2838, allocations: 158.6 kB / 0.8384 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.2838, allocations: 150.6 kB / 0.8386 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.2842, allocations: 461.9 kB / 0.839 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.361e-05/0.2842, allocations: 169.1 kB / 0.8392 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.2843, allocations: 84.14 kB / 0.8392 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.2843, allocations: 75.28 kB / 0.8393 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.2844, allocations: 109.8 kB / 0.8394 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2844, allocations: 4 kB / 0.8394 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.395e-05/0.2845, allocations: 29.61 kB / 0.8394 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.2845, allocations: 134.6 kB / 0.8396 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.2847, allocations: 136.6 kB / 0.8397 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.2847, allocations: 25.7 kB / 0.8397 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.2848, allocations: 92.12 kB / 0.8398 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.2848, allocations: 4 kB / 0.8398 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.2848, allocations: 13.72 kB / 0.8398 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.285, allocations: 318.8 kB / 0.8401 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.2851, allocations: 4 kB / 0.8401 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.2851, allocations: 8 kB / 0.8401 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.2851, allocations: 16.89 kB / 0.8402 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2852, allocations: 4 kB / 0.8402 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001329/0.2853, allocations: 61.53 kB / 0.8402 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2853, allocations: 8 kB / 0.8402 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.2853, allocations: 0 / 0.8402 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2854, allocations: 4 kB / 0.8402 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.2854, allocations: 0 / 0.8402 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2854, allocations: 0 / 0.8402 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.2854, allocations: 7.875 kB / 0.8402 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2854, allocations: 0 / 0.8402 GB, free: 3.543 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.0001008/0.2855, allocations: 189.2 kB / 0.8404 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.2856, allocations: 112.8 kB / 0.8405 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.2857, allocations: 116.8 kB / 0.8406 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.47e-05/0.2857, allocations: 176.3 kB / 0.8408 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.288e-05/0.2858, allocations: 176.3 kB / 0.841 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.896e-05/0.2859, allocations: 188.2 kB / 0.8412 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.2861, allocations: 413.2 kB / 0.8416 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.181e-05/0.2862, allocations: 112.9 kB / 0.8417 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.2862, allocations: 101 kB / 0.8418 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.214e-05/0.2863, allocations: 176.3 kB / 0.8419 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/0.2864, allocations: 188.2 kB / 0.8421 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.843e-05/0.2864, allocations: 184.3 kB / 0.8423 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.376e-05/0.2865, allocations: 180.2 kB / 0.8425 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.2866, allocations: 307.7 kB / 0.8427 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.2867, allocations: 193.9 kB / 0.8429 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.2868, allocations: 180.3 kB / 0.8431 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.2869, allocations: 108.9 kB / 0.8432 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.287, allocations: 180.3 kB / 0.8434 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.2871, allocations: 101.1 kB / 0.8435 GB, free: 16 MB / 0.67 GB Notification: Performance of sorting global known variables: time 6.085e-05/0.2871, allocations: 105.5 kB / 0.8436 GB, free: 15.89 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2871, allocations: 0 / 0.8436 GB, free: 15.89 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007589/0.2879, allocations: 283.8 kB / 0.8438 GB, free: 15.62 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.001232/0.2891, allocations: 0.554 MB / 0.8444 GB, free: 15.06 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.2893, allocations: 41.7 kB / 0.8444 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2893, allocations: 4.062 kB / 0.8444 GB, free: 15.01 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.2893, allocations: 352 / 0.8444 GB, free: 15.01 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.2897, allocations: 471.6 kB / 0.8449 GB, free: 14.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.2901, allocations: 236.1 kB / 0.8451 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.2905, allocations: 0.6844 MB / 0.8458 GB, free: 13.58 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.2905, allocations: 7.984 kB / 0.8458 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.2906, allocations: 7.438 kB / 0.8458 GB, free: 13.56 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.2906, allocations: 0 / 0.8458 GB, free: 13.56 MB / 0.67 GB Notification: Performance of Templates: time 0.01032/0.3009, allocations: 5.729 MB / 0.8514 GB, free: 7.883 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)