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.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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001233/0.001233, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 187.1 kB / 16.62 MB, free: 6.613 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.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.857/1.857, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001558/0.001558, allocations: 69.94 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2575, allocations: 114.6 MB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002786/0.2604, allocations: 1.439 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004536/0.2649, allocations: 2.967 MB / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.2651, allocations: 0 / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.2651, allocations: 3.938 kB / 0.7885 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-05/0.2652, allocations: 23.78 kB / 0.7885 GB, free: 8.223 MB / 0.6075 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/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.004081/0.2693, allocations: 1.66 MB / 0.7901 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2694, allocations: 39.75 kB / 0.7902 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.2694, allocations: 11.92 kB / 0.7902 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.2695, allocations: 11.94 kB / 0.7902 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.2695, allocations: 19.92 kB / 0.7902 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2695, allocations: 4 kB / 0.7902 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.2718, allocations: 1.548 MB / 0.7917 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2719, allocations: 7.938 kB / 0.7917 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.2719, allocations: 15.88 kB / 0.7917 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.2735, allocations: 1.123 MB / 0.7928 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2735, allocations: 0 / 0.7928 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2735, allocations: 0 / 0.7928 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2735, allocations: 0 / 0.7928 GB, free: 3.797 MB / 0.6075 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.0007416/0.2743, allocations: 0.5223 MB / 0.7934 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2743, allocations: 12.02 kB / 0.7934 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.2744, allocations: 80.22 kB / 0.7934 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.2746, allocations: 246.2 kB / 0.7937 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/0.2746, allocations: 154.9 kB / 0.7938 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.2747, allocations: 154.9 kB / 0.794 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.462e-05/0.2748, allocations: 113.1 kB / 0.7941 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.2748, allocations: 75.28 kB / 0.7941 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.2749, allocations: 150.6 kB / 0.7943 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/0.2749, allocations: 150.6 kB / 0.7944 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.584e-05/0.275, allocations: 154.6 kB / 0.7946 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.2753, allocations: 469.8 kB / 0.795 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.2754, allocations: 177.1 kB / 0.7952 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.2755, allocations: 84.08 kB / 0.7953 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.2755, allocations: 83.28 kB / 0.7954 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.2756, allocations: 109.8 kB / 0.7955 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2756, allocations: 0 / 0.7955 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.809e-05/0.2757, allocations: 33.64 kB / 0.7955 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.2757, allocations: 126.7 kB / 0.7956 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2759, allocations: 133.7 kB / 0.7957 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2759, allocations: 29.7 kB / 0.7958 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.276, allocations: 104 kB / 0.7959 GB, free: 492 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.276, allocations: 0 / 0.7959 GB, free: 492 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.276, allocations: 13.72 kB / 0.7959 GB, free: 472 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2762, allocations: 322.8 kB / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.2762, allocations: 0 / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.2762, allocations: 8 kB / 0.7962 GB, free: 132 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.2763, allocations: 12.86 kB / 0.7962 GB, free: 116 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2763, allocations: 0 / 0.7962 GB, free: 116 kB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001563/0.2764, allocations: 61.52 kB / 0.7963 GB, free: 48 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2765, allocations: 7.984 kB / 0.7963 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.2765, allocations: 4 kB / 0.7963 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2765, allocations: 0 / 0.7963 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.2765, allocations: 0 / 0.7963 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2765, allocations: 0 / 0.7963 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.2766, allocations: 64 / 0.7963 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2766, allocations: 12 kB / 0.7963 GB, free: 24 kB / 0.6075 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.0001494/0.2767, allocations: 185.2 kB / 0.7965 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.2768, allocations: 112.8 kB / 0.7966 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.2769, allocations: 112.8 kB / 0.7967 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/0.277, allocations: 180.3 kB / 0.7969 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.236e-05/0.2771, allocations: 180.3 kB / 0.797 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.331e-05/0.2771, allocations: 180.2 kB / 0.7972 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.2774, allocations: 417.2 kB / 0.7976 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-05/0.2775, allocations: 116.9 kB / 0.7977 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.2776, allocations: 101 kB / 0.7978 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.785e-05/0.2776, allocations: 184.2 kB / 0.798 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-05/0.2777, allocations: 180.3 kB / 0.7982 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.083e-05/0.2778, allocations: 176.3 kB / 0.7983 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.613e-05/0.2779, allocations: 188.2 kB / 0.7985 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.2781, allocations: 307.8 kB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2782, allocations: 185.9 kB / 0.799 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.2783, allocations: 180.2 kB / 0.7991 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.2784, allocations: 112.9 kB / 0.7993 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.2785, allocations: 176.3 kB / 0.7994 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.2786, allocations: 112.9 kB / 0.7995 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.2787, allocations: 98.23 kB / 0.7996 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2787, allocations: 3.938 kB / 0.7996 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008945/0.2796, allocations: 287.8 kB / 0.7999 GB, free: 12.1 MB / 0.6231 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.001271/0.2809, allocations: 0.5467 MB / 0.8004 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.281, allocations: 41.69 kB / 0.8005 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.281, allocations: 4 kB / 0.8005 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.281, allocations: 0 / 0.8005 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.2815, allocations: 463.7 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.282, allocations: 254.2 kB / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.2824, allocations: 0.6846 MB / 0.8018 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.641e-05/0.2824, allocations: 0 / 0.8018 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.2824, allocations: 7.438 kB / 0.8018 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2824, allocations: 4 kB / 0.8018 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of Templates: time 0.01043/0.2929, allocations: 5.734 MB / 0.8074 GB, free: 4.363 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)