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.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001782/0.001782, allocations: 192.8 kB / 16.14 MB, free: 6.703 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.525/1.525, allocations: 205.1 MB / 222 MB, free: 4.766 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.706/1.706, allocations: 292.2 MB / 0.5484 GB, free: 13.62 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.001717/0.001717, allocations: 68.78 kB / 0.6709 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2928, allocations: 114.5 MB / 0.7827 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003303/0.2961, allocations: 1.429 MB / 0.7841 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2982, allocations: 1.152 MB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.2982, allocations: 0 / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.2983, allocations: 0 / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.2984, allocations: 7.938 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007668/0.2992, allocations: 159.5 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.239e-05/0.2992, allocations: 31.86 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.2993, allocations: 0 / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.413e-05/0.2994, allocations: 19.92 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.2995, allocations: 15.92 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.2995, allocations: 4 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/0.3002, allocations: 419.4 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.3002, allocations: 3.984 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.3002, allocations: 11.94 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.3007, allocations: 191.9 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3007, allocations: 4 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3007, allocations: 0 / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3007, allocations: 0 / 0.7861 GB, free: 10.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005063/0.3012, allocations: 391.4 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3013, allocations: 8.031 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.3013, allocations: 8.844 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3014, allocations: 168.3 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3015, allocations: 384 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.3015, allocations: 384 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.3016, allocations: 46 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3016, allocations: 0 / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3016, allocations: 0 / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3017, allocations: 0 / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.3017, allocations: 19.92 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.3019, allocations: 157.7 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.302, allocations: 46.55 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.3021, allocations: 12.89 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009369/0.303, allocations: 0.9895 MB / 0.7879 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3031, allocations: 38.5 kB / 0.7879 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.3031, allocations: 0 / 0.7879 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001913/0.3033, allocations: 61.53 kB / 0.788 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.3033, allocations: 55.41 kB / 0.788 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.3034, allocations: 105.8 kB / 0.7881 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3034, allocations: 25.7 kB / 0.7881 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.3035, allocations: 88.14 kB / 0.7882 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.3035, allocations: 7.812 kB / 0.7882 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.3035, allocations: 21.7 kB / 0.7882 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.3036, allocations: 310.8 kB / 0.7885 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.3037, allocations: 8 kB / 0.7886 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.3037, allocations: 8 kB / 0.7886 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.038e-05/0.3038, allocations: 28.78 kB / 0.7886 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3038, allocations: 0 / 0.7886 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.147e-05/0.3039, allocations: 50.02 kB / 0.7886 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3039, allocations: 7.938 kB / 0.7886 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3039, allocations: 3.984 kB / 0.7886 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3039, allocations: 4 kB / 0.7886 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.304, allocations: 8 kB / 0.7887 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3041, allocations: 7.938 kB / 0.7887 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/0.3041, allocations: 3.938 kB / 0.7887 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3041, allocations: 4 kB / 0.7887 GB, free: 7.383 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.601e-05/0.3042, allocations: 117.8 kB / 0.7888 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.3042, allocations: 7.844 kB / 0.7888 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.3044, allocations: 61.53 kB / 0.7889 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3044, allocations: 4 kB / 0.7889 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3044, allocations: 0 / 0.7889 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3044, allocations: 0 / 0.7889 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.3045, allocations: 161.7 kB / 0.789 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3045, allocations: 0 / 0.789 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/0.3046, allocations: 16 kB / 0.789 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3046, allocations: 3.938 kB / 0.789 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3046, allocations: 4 kB / 0.789 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3046, allocations: 0 / 0.789 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3046, allocations: 0 / 0.789 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3048, allocations: 77.06 kB / 0.7891 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.3048, allocations: 88.94 kB / 0.7892 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3048, allocations: 4 kB / 0.7892 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.432e-05/0.3049, allocations: 4 kB / 0.7892 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.3049, allocations: 3.938 kB / 0.7892 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3049, allocations: 4 kB / 0.7892 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.3049, allocations: 87.27 kB / 0.7893 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3049, allocations: 0 / 0.7893 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002554/0.3052, allocations: 32 kB / 0.7893 GB, free: 6.609 MB / 0.6075 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 (4): * Single equations (assignments): 4 * 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.0002672/0.3055, allocations: 155.1 kB / 0.7895 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.3056, allocations: 27.98 kB / 0.7895 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3056, allocations: 3.938 kB / 0.7895 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.3056, allocations: 8 kB / 0.7895 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3059, allocations: 4 kB / 0.7895 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.3063, allocations: 165.9 kB / 0.7897 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.3065, allocations: 0.6809 MB / 0.7903 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.3065, allocations: 4 kB / 0.7903 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.3066, allocations: 11.44 kB / 0.7903 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.3066, allocations: 0 / 0.7903 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.003713/0.3103, allocations: 1.119 MB / 0.7914 GB, free: 4.43 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)