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.001659/0.001659, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.00155/0.00155, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.481/1.481, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.755/1.755, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001549/0.001549, allocations: 64.22 kB / 0.6717 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2773, allocations: 114.6 MB / 0.7836 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002706/0.28, allocations: 1.482 MB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004038/0.2841, allocations: 2.928 MB / 0.7879 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.2841, allocations: 0 / 0.7879 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.2842, allocations: 7.922 kB / 0.7879 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.2843, allocations: 7.938 kB / 0.7879 GB, free: 9.367 MB / 0.6075 GB [/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.003851/0.2881, allocations: 1.529 MB / 0.7894 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.79e-05/0.2882, allocations: 39.73 kB / 0.7894 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.2883, allocations: 4 kB / 0.7894 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.2883, allocations: 11.94 kB / 0.7894 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.24e-05/0.2883, allocations: 23.86 kB / 0.7895 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2884, allocations: 0 / 0.7895 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.2903, allocations: 1.443 MB / 0.7909 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.2903, allocations: 8 kB / 0.7909 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.2904, allocations: 11.88 kB / 0.7909 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009448/0.2913, allocations: 0.7487 MB / 0.7916 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2913, allocations: 0 / 0.7916 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2913, allocations: 0 / 0.7916 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2914, allocations: 0 / 0.7916 GB, free: 5.57 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.0005763/0.2919, allocations: 0.5224 MB / 0.7921 GB, free: 5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.292, allocations: 12.03 kB / 0.7922 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.2921, allocations: 80.22 kB / 0.7922 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.2922, allocations: 247.5 kB / 0.7925 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.2923, allocations: 154.9 kB / 0.7926 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.2924, allocations: 150.9 kB / 0.7928 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.32e-05/0.2924, allocations: 105.1 kB / 0.7929 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.2925, allocations: 79.28 kB / 0.7929 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.2925, allocations: 154.6 kB / 0.7931 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/0.2926, allocations: 158.5 kB / 0.7932 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/0.2927, allocations: 150.6 kB / 0.7934 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.293, allocations: 469.8 kB / 0.7938 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.2931, allocations: 173.2 kB / 0.794 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.2931, allocations: 80.14 kB / 0.7941 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.2931, allocations: 75.28 kB / 0.7941 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.2932, allocations: 109.8 kB / 0.7942 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.2932, allocations: 4 kB / 0.7942 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.828e-05/0.2933, allocations: 33.64 kB / 0.7943 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.2933, allocations: 130.6 kB / 0.7944 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2935, allocations: 133.7 kB / 0.7945 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2935, allocations: 29.7 kB / 0.7946 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.2936, allocations: 92.12 kB / 0.7946 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.2936, allocations: 3.984 kB / 0.7946 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.2936, allocations: 13.72 kB / 0.7947 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2937, allocations: 322.8 kB / 0.795 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.2938, allocations: 11.98 kB / 0.795 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.2938, allocations: 0 / 0.795 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.2938, allocations: 16.86 kB / 0.795 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2939, allocations: 0 / 0.795 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001238/0.294, allocations: 49.61 kB / 0.795 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.294, allocations: 10.95 kB / 0.7951 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.294, allocations: 4 kB / 0.7951 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2941, allocations: 0 / 0.7951 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2941, allocations: 0 / 0.7951 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2941, allocations: 0 / 0.7951 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.2941, allocations: 19.91 kB / 0.7951 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.2941, allocations: 0 / 0.7951 GB, free: 1.805 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.805e-05/0.2942, allocations: 181.1 kB / 0.7953 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.2943, allocations: 108.9 kB / 0.7954 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.2943, allocations: 116.8 kB / 0.7955 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-05/0.2944, allocations: 176.3 kB / 0.7956 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.701e-05/0.2945, allocations: 188.2 kB / 0.7958 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.222e-05/0.2945, allocations: 176.3 kB / 0.796 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.2947, allocations: 413.2 kB / 0.7964 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/0.2948, allocations: 112.9 kB / 0.7965 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.2948, allocations: 101 kB / 0.7966 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-05/0.2949, allocations: 192.2 kB / 0.7968 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/0.295, allocations: 176.3 kB / 0.7969 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.985e-05/0.295, allocations: 176.3 kB / 0.7971 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-05/0.2951, allocations: 188.2 kB / 0.7973 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.2952, allocations: 315.7 kB / 0.7976 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.2953, allocations: 185.9 kB / 0.7978 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.2954, allocations: 184.2 kB / 0.7979 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.2955, allocations: 104.9 kB / 0.798 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.2956, allocations: 180.2 kB / 0.7982 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.2956, allocations: 108.9 kB / 0.7983 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.2957, allocations: 95.27 kB / 0.7984 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2957, allocations: 4 kB / 0.7984 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007084/0.2964, allocations: 275.8 kB / 0.7987 GB, free: 13.9 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.2976, allocations: 0.5319 MB / 0.7992 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.2977, allocations: 38.05 kB / 0.7992 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2977, allocations: 4.062 kB / 0.7992 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-06/0.2977, allocations: 3.938 kB / 0.7992 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.2981, allocations: 471.5 kB / 0.7997 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.2984, allocations: 265.8 kB / 0.7999 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.2987, allocations: 0.6846 MB / 0.8006 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.2987, allocations: 11.44 kB / 0.8006 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.2987, allocations: 0 / 0.8006 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.007796/0.3065, allocations: 4.72 MB / 0.8052 GB, free: 7.113 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)