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.001519/0.001519, allocations: 108 kB / 15.6 MB, free: 132 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.001922/0.001922, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.506/1.506, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.811/1.811, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001505/0.001505, allocations: 68.81 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.284, allocations: 114.5 MB / 0.7834 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002788/0.2869, allocations: 1.435 MB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004441/0.2913, allocations: 2.928 MB / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.2914, allocations: 0 / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.2915, allocations: 0 / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.2916, allocations: 23.78 kB / 0.7877 GB, free: 8.988 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/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.003972/0.2955, allocations: 1.62 MB / 0.7893 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.2956, allocations: 39.73 kB / 0.7893 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.2957, allocations: 4 kB / 0.7893 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.976e-05/0.2957, allocations: 15.92 kB / 0.7893 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/0.2957, allocations: 19.86 kB / 0.7894 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2958, allocations: 4 kB / 0.7894 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.2978, allocations: 1.443 MB / 0.7908 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.2978, allocations: 0 / 0.7908 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.2978, allocations: 19.88 kB / 0.7908 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.2992, allocations: 1.096 MB / 0.7919 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2992, allocations: 0 / 0.7919 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2992, allocations: 0 / 0.7919 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2992, allocations: 0 / 0.7919 GB, free: 4.742 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.0005877/0.2998, allocations: 0.5185 MB / 0.7924 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2999, allocations: 8.031 kB / 0.7924 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.2999, allocations: 84.16 kB / 0.7925 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.3001, allocations: 247.5 kB / 0.7927 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.3002, allocations: 150.9 kB / 0.7928 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.3002, allocations: 158.9 kB / 0.793 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.3003, allocations: 109.1 kB / 0.7931 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.3004, allocations: 83.22 kB / 0.7932 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.3004, allocations: 154.6 kB / 0.7933 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.3005, allocations: 150.6 kB / 0.7935 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.3005, allocations: 154.5 kB / 0.7936 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.3008, allocations: 465.8 kB / 0.7941 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.3009, allocations: 169.1 kB / 0.7942 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.301, allocations: 84.08 kB / 0.7943 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.301, allocations: 75.28 kB / 0.7944 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.301, allocations: 113.8 kB / 0.7945 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.301, allocations: 4 kB / 0.7945 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.308e-05/0.3011, allocations: 29.7 kB / 0.7945 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3012, allocations: 126.7 kB / 0.7946 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3013, allocations: 132.7 kB / 0.7948 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3014, allocations: 25.7 kB / 0.7948 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.3014, allocations: 96.12 kB / 0.7949 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-06/0.3014, allocations: 0 / 0.7949 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.3015, allocations: 13.72 kB / 0.7949 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3016, allocations: 322.8 kB / 0.7952 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.3016, allocations: 3.938 kB / 0.7952 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.3016, allocations: 11.98 kB / 0.7952 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.3017, allocations: 12.86 kB / 0.7952 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3017, allocations: 0 / 0.7952 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001224/0.3018, allocations: 49.64 kB / 0.7953 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3018, allocations: 4 kB / 0.7953 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.3019, allocations: 7.984 kB / 0.7953 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3019, allocations: 0 / 0.7953 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.3019, allocations: 64 / 0.7953 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3019, allocations: 4 kB / 0.7953 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.3019, allocations: 11.84 kB / 0.7953 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3019, allocations: 0 / 0.7953 GB, free: 0.9922 MB / 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 9.949e-05/0.302, allocations: 185.1 kB / 0.7955 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.3021, allocations: 112.9 kB / 0.7956 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.3022, allocations: 116.8 kB / 0.7957 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.207e-05/0.3022, allocations: 188.2 kB / 0.7959 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-05/0.3023, allocations: 176.3 kB / 0.796 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.999e-05/0.3024, allocations: 180.2 kB / 0.7962 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.3026, allocations: 413.2 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-05/0.3026, allocations: 108.9 kB / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.3027, allocations: 109 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.155e-05/0.3027, allocations: 184.3 kB / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.3028, allocations: 184.1 kB / 0.7972 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.557e-05/0.3029, allocations: 176.3 kB / 0.7973 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.403e-05/0.303, allocations: 180.2 kB / 0.7975 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.3031, allocations: 315.7 kB / 0.7978 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.3032, allocations: 189.9 kB / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.3033, allocations: 180.2 kB / 0.7982 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.3034, allocations: 109 kB / 0.7983 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.3034, allocations: 180.2 kB / 0.7984 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.3035, allocations: 101 kB / 0.7985 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.3035, allocations: 102.2 kB / 0.7986 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.3035, allocations: 0 / 0.7986 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007255/0.3043, allocations: 275.8 kB / 0.7989 GB, free: 13.08 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.001148/0.3054, allocations: 0.5416 MB / 0.7994 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.3055, allocations: 41.64 kB / 0.7995 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3055, allocations: 0 / 0.7995 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.3056, allocations: 0 / 0.7995 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.306, allocations: 471.6 kB / 0.7999 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.3063, allocations: 244.1 kB / 0.8001 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3066, allocations: 0.6807 MB / 0.8008 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.3066, allocations: 0 / 0.8008 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.3066, allocations: 11.42 kB / 0.8008 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.3066, allocations: 0 / 0.8008 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.009569/0.3162, allocations: 5.585 MB / 0.8063 GB, free: 5.508 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)