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.001061/0.001061, allocations: 103.2 kB / 16.29 MB, free: 6.035 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.001098/0.001098, allocations: 191.4 kB / 17.22 MB, free: 5.641 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.447/1.447, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.89/1.89, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001545/0.001545, allocations: 64.42 kB / 0.6723 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2938, allocations: 114.6 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003219/0.2971, allocations: 1.42 MB / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5042/0.8014, allocations: 2.932 MB / 0.7884 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.8015, allocations: 0 / 0.7884 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.8015, allocations: 8.297 kB / 0.7884 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.8016, allocations: 10.31 kB / 0.7884 GB, free: 45.95 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.004121/0.8058, allocations: 1.627 MB / 0.79 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.345e-05/0.8058, allocations: 38.5 kB / 0.79 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.8059, allocations: 6.562 kB / 0.79 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.844e-05/0.8059, allocations: 11.16 kB / 0.79 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.952e-05/0.806, allocations: 17.66 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.806, allocations: 2.625 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.808, allocations: 1.501 MB / 0.7915 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.808, allocations: 11.98 kB / 0.7915 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.808, allocations: 10.84 kB / 0.7916 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.8093, allocations: 1.1 MB / 0.7926 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8093, allocations: 3.594 kB / 0.7926 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8094, allocations: 0.9062 kB / 0.7926 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8094, allocations: 0 / 0.7926 GB, free: 45.81 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.0004825/0.8099, allocations: 0.5159 MB / 0.7931 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.8099, allocations: 7.781 kB / 0.7931 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.8099, allocations: 84.66 kB / 0.7932 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.8101, allocations: 254.7 kB / 0.7935 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.8101, allocations: 151.5 kB / 0.7936 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.8101, allocations: 155.4 kB / 0.7938 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.472e-05/0.8102, allocations: 107.2 kB / 0.7939 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.8102, allocations: 76.28 kB / 0.7939 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.8102, allocations: 153.8 kB / 0.7941 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.8103, allocations: 150.6 kB / 0.7942 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.8103, allocations: 155.1 kB / 0.7944 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.8105, allocations: 465.9 kB / 0.7948 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.8106, allocations: 173.3 kB / 0.795 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.8106, allocations: 80.14 kB / 0.7951 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.8106, allocations: 75.28 kB / 0.7951 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.8106, allocations: 115.9 kB / 0.7952 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.8106, allocations: 0 / 0.7952 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.584e-05/0.8107, allocations: 29.2 kB / 0.7953 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.8107, allocations: 126.7 kB / 0.7954 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.8109, allocations: 140.3 kB / 0.7955 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.8109, allocations: 25.7 kB / 0.7955 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.8109, allocations: 96.31 kB / 0.7956 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.8109, allocations: 0 / 0.7956 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.811, allocations: 13.22 kB / 0.7956 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.811, allocations: 321.5 kB / 0.796 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.811, allocations: 3.312 kB / 0.796 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.8111, allocations: 10.62 kB / 0.796 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.8111, allocations: 8.297 kB / 0.796 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8111, allocations: 0 / 0.796 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.8112, allocations: 57.53 kB / 0.796 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.8113, allocations: 6.812 kB / 0.796 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.8113, allocations: 3.5 kB / 0.796 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.8113, allocations: 0.7969 kB / 0.796 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.8113, allocations: 3.938 kB / 0.796 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8113, allocations: 3.781 kB / 0.7961 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.8113, allocations: 0.5938 kB / 0.7961 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.8113, allocations: 3.281 kB / 0.7961 GB, free: 42.37 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.418e-05/0.8114, allocations: 186.3 kB / 0.7962 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.8115, allocations: 121.5 kB / 0.7963 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.8115, allocations: 114.9 kB / 0.7965 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.8115, allocations: 179.1 kB / 0.7966 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/0.8116, allocations: 176.3 kB / 0.7968 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/0.8116, allocations: 191.1 kB / 0.797 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.8117, allocations: 411.2 kB / 0.7974 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.8118, allocations: 108.5 kB / 0.7975 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.8118, allocations: 104.9 kB / 0.7976 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.678e-05/0.8118, allocations: 181.8 kB / 0.7977 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.8118, allocations: 185.7 kB / 0.7979 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.592e-05/0.8119, allocations: 183.6 kB / 0.7981 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-05/0.8119, allocations: 176.3 kB / 0.7983 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.12e-05/0.812, allocations: 308.8 kB / 0.7986 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.812, allocations: 188.6 kB / 0.7987 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.8121, allocations: 187.2 kB / 0.7989 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.8121, allocations: 104.9 kB / 0.799 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.8122, allocations: 183.3 kB / 0.7992 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.8122, allocations: 105.6 kB / 0.7993 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.8122, allocations: 99.98 kB / 0.7994 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8122, allocations: 1.688 kB / 0.7994 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006414/0.8129, allocations: 278.4 kB / 0.7997 GB, free: 38.81 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.0009777/0.8139, allocations: 0.5443 MB / 0.8002 GB, free: 38.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.575e-05/0.814, allocations: 42.5 kB / 0.8002 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.814, allocations: 0 / 0.8002 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.814, allocations: 3.438 kB / 0.8002 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.8143, allocations: 465 kB / 0.8007 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.8146, allocations: 237 kB / 0.8009 GB, free: 37.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.8147, allocations: 0.6889 MB / 0.8016 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.244e-05/0.8147, allocations: 3.75 kB / 0.8016 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-06/0.8147, allocations: 7.438 kB / 0.8016 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.8147, allocations: 0 / 0.8016 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.01057/0.8253, allocations: 5.561 MB / 0.807 GB, free: 36.85 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)