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.0015/0.0015, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001631/0.001631, allocations: 191 kB / 17.29 MB, free: 5.516 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.353/1.353, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.002525/0.002526, allocations: 67.91 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2535, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002617/0.2561, allocations: 1.432 MB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4152/0.6714, allocations: 2.917 MB / 0.7891 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.6715, allocations: 0 / 0.7891 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.6716, allocations: 7.266 kB / 0.7891 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.6716, allocations: 14.97 kB / 0.7891 GB, free: 46.59 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.003931/0.6756, allocations: 1.631 MB / 0.7907 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.6757, allocations: 41.28 kB / 0.7907 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.682e-05/0.6757, allocations: 6 kB / 0.7907 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.6758, allocations: 15.56 kB / 0.7907 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.6758, allocations: 13.12 kB / 0.7908 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.6758, allocations: 5.531 kB / 0.7908 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.6779, allocations: 1.498 MB / 0.7922 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.6779, allocations: 10.78 kB / 0.7922 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.678, allocations: 15.69 kB / 0.7923 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.6793, allocations: 1.093 MB / 0.7933 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6794, allocations: 0 / 0.7933 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6794, allocations: 0 / 0.7933 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.6794, allocations: 0.5 kB / 0.7933 GB, free: 46.43 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.0005175/0.6799, allocations: 0.5178 MB / 0.7938 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.68, allocations: 10.5 kB / 0.7938 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.68, allocations: 79.47 kB / 0.7939 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.6801, allocations: 259.8 kB / 0.7942 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.6802, allocations: 152.2 kB / 0.7943 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.6802, allocations: 151.5 kB / 0.7945 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.678e-05/0.6803, allocations: 113 kB / 0.7946 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6803, allocations: 78.59 kB / 0.7946 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.6803, allocations: 151.4 kB / 0.7948 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.6803, allocations: 151.3 kB / 0.7949 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.6804, allocations: 151.2 kB / 0.7951 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.6806, allocations: 470 kB / 0.7955 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.341e-05/0.6806, allocations: 165.1 kB / 0.7957 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.6807, allocations: 83.92 kB / 0.7958 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.6807, allocations: 75.28 kB / 0.7958 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.6807, allocations: 111.2 kB / 0.7959 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.6807, allocations: 1.781 kB / 0.7959 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.213e-05/0.6808, allocations: 32.3 kB / 0.796 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.6809, allocations: 133.4 kB / 0.7961 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.681, allocations: 134.6 kB / 0.7962 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.681, allocations: 25.7 kB / 0.7962 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.681, allocations: 94.67 kB / 0.7963 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.681, allocations: 2.281 kB / 0.7963 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.6811, allocations: 12.72 kB / 0.7963 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.6811, allocations: 328 kB / 0.7967 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.6811, allocations: 4.125 kB / 0.7967 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.6812, allocations: 3.406 kB / 0.7967 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.6812, allocations: 14.73 kB / 0.7967 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6812, allocations: 0.8438 kB / 0.7967 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001155/0.6813, allocations: 56.55 kB / 0.7967 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.6813, allocations: 7.219 kB / 0.7967 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.6814, allocations: 5.156 kB / 0.7967 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6814, allocations: 4.875 kB / 0.7968 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.031e-06/0.6814, allocations: 0 / 0.7968 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6814, allocations: 0 / 0.7968 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.6814, allocations: 0 / 0.7968 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6814, allocations: 0 / 0.7968 GB, free: 42.99 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.153e-05/0.6815, allocations: 188.8 kB / 0.7969 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.6816, allocations: 115.6 kB / 0.797 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.6816, allocations: 119.6 kB / 0.7972 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.6816, allocations: 185.7 kB / 0.7973 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-05/0.6817, allocations: 176.3 kB / 0.7975 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.6817, allocations: 178 kB / 0.7977 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.6818, allocations: 418.6 kB / 0.7981 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.6819, allocations: 101 kB / 0.7982 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.6819, allocations: 114.8 kB / 0.7983 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-05/0.6819, allocations: 178.1 kB / 0.7984 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.682, allocations: 181.2 kB / 0.7986 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.347e-05/0.682, allocations: 181.7 kB / 0.7988 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.579e-05/0.682, allocations: 181.3 kB / 0.799 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.152e-05/0.6821, allocations: 310.5 kB / 0.7993 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.6821, allocations: 189.6 kB / 0.7994 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6822, allocations: 182.1 kB / 0.7996 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.6822, allocations: 108.5 kB / 0.7997 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.6823, allocations: 184 kB / 0.7999 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.6823, allocations: 107 kB / 0.8 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.6824, allocations: 104.7 kB / 0.8001 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6824, allocations: 0 / 0.8001 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006288/0.683, allocations: 282.4 kB / 0.8004 GB, free: 39.43 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.001023/0.684, allocations: 0.539 MB / 0.8009 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.6841, allocations: 42.52 kB / 0.8009 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6841, allocations: 0 / 0.8009 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.6842, allocations: 0 / 0.8009 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.6845, allocations: 462 kB / 0.8014 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.6848, allocations: 237 kB / 0.8016 GB, free: 38.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.6849, allocations: 0.6839 MB / 0.8023 GB, free: 37.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.187e-05/0.685, allocations: 0 / 0.8023 GB, free: 37.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.182e-05/0.685, allocations: 10.81 kB / 0.8023 GB, free: 37.81 MB / 0.6544 GB Notification: Performance of SimCode: time 1.072e-06/0.685, allocations: 3.938 kB / 0.8023 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.01119/0.6962, allocations: 5.571 MB / 0.8077 GB, free: 37.44 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)